Class HistogramSeries
Represents a histogram chart. To render histogram chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Com.Syncfusion.Charts
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class HistogramSeries : XyDataSeries
Remarks
HistogramSeries requires ItemsSource, XBindingPath and YBindingPath properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis
Constructors
HistogramSeries()
Declaration
public HistogramSeries()
Properties
CurveColor
Gets or sets the color of the distribution curve.
Declaration
public Color CurveColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
DataMarkerPosition
Gets or sets the marker position on the segment.
Declaration
public DataMarkerPosition DataMarkerPosition { get; set; }
Property Value
Type |
---|
DataMarkerPosition |
Interval
Gets or sets Interval double value which indicates the histogram interval.
Declaration
public double Interval { get; set; }
Property Value
Type |
---|
System.Double |
ShowNormalDistributionCurve
Gets or sets ShowNormalDistributionCurve boolean value which indicates the normal distribution curve.
Declaration
public bool ShowNormalDistributionCurve { get; set; }
Property Value
Type |
---|
System.Boolean |
StrokeColor
Gets or sets the color for the series stroke.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
StrokeWidth
Gets or sets the width for the series stroke width.
Declaration
public float StrokeWidth { get; set; }
Property Value
Type |
---|
System.Single |
Methods
CreateSegment()
Create the HistogramSegment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of HistogramSeries.
Declaration
protected override void CreateSegments()
Overrides
DrawDistributionCurve(Canvas, Single[], Paint)
Draw distribution curve.
Declaration
protected virtual void DrawDistributionCurve(Canvas canvas, float[] points, Paint paint)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | canvas | The canvas |
System.Single[] | points | The distribution curve points |
Android.Graphics.Paint | paint | The paint of curve |