Class ChartStripLine
Serves as a base class for all types of strip line.
Inheritance
System.Object
ChartStripLine
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class ChartStripLine : Object
Constructors
ChartStripLine()
Declaration
Properties
CornerRadius
Declaration
public float CornerRadius { get; set; }
Property Value
FillColor
Gets or sets the color of the strip line.
Declaration
public Color FillColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
LabelStyle
Gets the customized style for the axis labels.
Declaration
public ChartStripLineLabelStyle LabelStyle { get; }
Property Value
PixelWidth
Gets or sets a value indicating whether the value specified in Width
property should be considered as screen points or axis range.
Declaration
public bool PixelWidth { get; set; }
Property Value
RepeatEvery
Gets or sets the frequency of the strip lines.
Declaration
public double RepeatEvery { get; set; }
Property Value
SegmentAxisName
Gets or sets the name of the segment axis for the strip line.
Declaration
public string SegmentAxisName { get; set; }
Property Value
Segmented
Gets or sets a value indicating whether the strip line is segmented or not.
Declaration
public bool Segmented { get; set; }
Property Value
SegmentEnd
Gets or sets the end value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public object SegmentEnd { get; set; }
Property Value
SegmentStart
Gets or sets the start value for the strip line segmentation. It can be a double, date time or logarithmic value.
Declaration
public object SegmentStart { get; set; }
Property Value
StrokeColor
Gets or sets the stroke color of the strip line.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
StrokePathEffect
Declaration
public PathEffect StrokePathEffect { get; set; }
Property Value
Type |
Android.Graphics.PathEffect |
StrokeWidth
Gets or sets the width of the strip line.
Declaration
public float StrokeWidth { get; set; }
Property Value
Text
Gets or sets the text to be displayed on the strip line.
Declaration
public string Text { get; set; }
Property Value
Visibility
Gets or sets the value that indicates whether the strip line is visible in the axis.
Declaration
public Visibility Visibility { get; set; }
Property Value
Width
Gets or sets the width of the strip line, which is considered as screen points or axis range, based on IsPixedWidth
property.
Declaration
public double Width { get; set; }
Property Value
Methods
DrawLabel(Canvas, RectangleF)
Declaration
protected void DrawLabel(Canvas canvas, RectangleF rect)
Parameters
Type |
Name |
Description |
Android.Graphics.Canvas |
canvas |
|
System.Drawing.RectangleF |
rect |
|
DrawPath(Canvas, Path)
Declaration
protected void DrawPath(Canvas canvas, Path path)
Parameters
Type |
Name |
Description |
Android.Graphics.Canvas |
canvas |
|
Android.Graphics.Path |
path |
|
DrawRect(Canvas, RectangleF)
Declaration
protected void DrawRect(Canvas canvas, RectangleF rect)
Parameters
Type |
Name |
Description |
Android.Graphics.Canvas |
canvas |
|
System.Drawing.RectangleF |
rect |
|
GetActualPeriodStrip()
Declaration
protected virtual double GetActualPeriodStrip()
Returns
GetActualWidth(Double)
Declaration
protected virtual double GetActualWidth(double startStrip)
Parameters
Type |
Name |
Description |
System.Double |
startStrip |
|
Returns
OnPropertyChanged()
Declaration
protected virtual void OnPropertyChanged()