Class SfChart
Inheritance
System.Object
SfChart
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class SfChart : ChartBase
Constructors
SfChart(Context)
Declaration
public SfChart(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
SfChart(Context, IAttributeSet)
Declaration
public SfChart(Context context, IAttributeSet attribute)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attribute |
|
SfChart(Context, IAttributeSet, Int32)
Declaration
public SfChart(Context context, IAttributeSet attribute, int defaultStyleAttribute)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attribute |
|
System.Int32 |
defaultStyleAttribute |
|
SfChart(Context, IAttributeSet, Int32, Int32)
Declaration
public SfChart(Context context, IAttributeSet attribute, int defaultStyleAttribute, int defaultStyleResource)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attribute |
|
System.Int32 |
defaultStyleAttribute |
|
System.Int32 |
defaultStyleResource |
|
SfChart(IntPtr, JniHandleOwnership)
Declaration
public SfChart(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
ChartPaddingBottom
Gets or sets the bottom padding of the chart.
Declaration
public int ChartPaddingBottom { get; set; }
Property Value
Type |
Description |
System.Int32 |
Default int value of this property is 10
|
ChartPaddingLeft
Gets or sets the left side padding of the chart.
Declaration
public int ChartPaddingLeft { get; set; }
Property Value
Type |
Description |
System.Int32 |
Default int value of this property is 10
|
ChartPaddingRight
Gets or sets the right side padding of the chart.
Declaration
public int ChartPaddingRight { get; set; }
Property Value
Type |
Description |
System.Int32 |
Default int value of this property is 10
|
ChartPaddingTop
Gets or sets the top padding of the chart.
Declaration
public int ChartPaddingTop { get; set; }
Property Value
Type |
Description |
System.Int32 |
Default int value of this property is 10
|
Legend
Gets the chart legend that helps to identify the series in the chart.
Declaration
public ChartLegend Legend { get; }
Property Value
SeriesClipRect
Gets the bounds of the plotting area.
Declaration
public RectF SeriesClipRect { get; }
Property Value
Type |
Android.Graphics.RectF |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
OnMeasure(Int32, Int32)
Declaration
protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
Parameters
Type |
Name |
Description |
System.Int32 |
widthMeasureSpec |
|
System.Int32 |
heightMeasureSpec |
|
PointToValue(ChartAxis, PointF)
Method used to get exact axis value in hit point.
Declaration
public float PointToValue(ChartAxis axis, PointF point)
Parameters
Type |
Name |
Description |
ChartAxis |
axis |
|
Android.Graphics.PointF |
point |
|
Returns
Events
LabelsGenerated
Declaration
public event EventHandler<SfChart.LabelsGeneratedEventArgs> LabelsGenerated
Event Type
ResetZoom
Declaration
public event EventHandler<SfChart.ResetZoomEventArgs> ResetZoom
Event Type
Declaration
public event EventHandler<SfChart.ScrollEventArgs> Scroll
Event Type
SelectionChanged
Declaration
public event EventHandler<SfChart.SelectionChangedEventArgs> SelectionChanged
Event Type
SelectionChanging
Declaration
public event EventHandler<SfChart.SelectionChangingEventArgs> SelectionChanging
Event Type
SelectionZoomDelta
Declaration
public event EventHandler<SfChart.SelectionZoomDeltaEventArgs> SelectionZoomDelta
Event Type
SelectionZoomEnd
Declaration
public event EventHandler<SfChart.SelectionZoomEndEventArgs> SelectionZoomEnd
Event Type
SelectionZoomStart
Declaration
public event EventHandler<SfChart.SelectionZoomStartEventArgs> SelectionZoomStart
Event Type
Declaration
public event EventHandler<SfChart.TooltipCreatedEventArgs> TooltipCreated
Event Type
Declaration
public event EventHandler<SfChart.TooltipDismissEventArgs> TooltipDismiss
Event Type
ZoomDelta
Declaration
public event EventHandler<SfChart.ZoomDeltaEventArgs> ZoomDelta
Event Type
ZoomEnd
Declaration
public event EventHandler<SfChart.ZoomEndEventArgs> ZoomEnd
Event Type
ZoomStart
Declaration
public event EventHandler<SfChart.ZoomStartEventArgs> ZoomStart
Event Type