Xamarin.Android

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HistogramSeries - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    XyDataSeries
    HistogramSeries
    Inherited Members
    XyDataSeries.OnBindingPathChanged()
    XyDataSeries.YBindingPath
    CartesianSeries.OnAttachedToChart()
    CartesianSeries.FindNearestChartPoint(Single, Single)
    CartesianSeries.FindNearestChartPoints(Single, Single)
    CartesianSeries.GetCardinalSpline(List<Double>, IList<Double>)
    CartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double)
    CartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double, Double)
    CartesianSeries.GetMonotonicSpline(List<Double>, IList<Double>, Double[])
    CartesianSeries.GetDataPoints(RectangleF)
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.Trendlines
    CartesianSeries.XAxis
    CartesianSeries.YAxis
    CartesianSeries.Transposed
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.ActualXAxis
    CartesianSeries.ActualYAxis
    ChartSeries.GeneratePoints(String[], IList<Double>[])
    ChartSeries.ScheduleUpdateArea()
    ChartSeries.GetSelectionColor()
    ChartSeries.GetGradientStartPoint(ChartSegment)
    ChartSeries.GetGradientEndPoint(ChartSegment)
    ChartSeries.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeries.ClearUnUsedDataMarkerLabels(Int32)
    ChartSeries.SeriesContainsPoint(PointF)
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.InvalidateRender()
    ChartSeries.OnDetachedFromChart()
    ChartSeries.SetFillColor(ChartSegment)
    ChartSeries.SetStrokeWidth(ChartSegment)
    ChartSeries.SuspendNotification()
    ChartSeries.ResumeNotification()
    ChartSeries.DrawDataMarker(Int32, Canvas, Paint, Paint, Single, Single)
    ChartSeries.DrawDataMarkerLabel(Int32, Canvas, String, Single, Single)
    ChartSeries.OnTouchMove(MotionEvent)
    ChartSeries.Animate()
    ChartSeries.GetView()
    ChartSeries.ListenPropertyChange
    ChartSeries.DataMarker
    ChartSeries.EnableAnimation
    ChartSeries.AnimationDuration
    ChartSeries.IsSelected
    ChartSeries.SelectedDataPointIndex
    ChartSeries.DataPointSelectionEnabled
    ChartSeries.SelectedDataPointColor
    ChartSeries.DataCount
    ChartSeries.Name
    ChartSeries.Color
    ChartSeries.Alpha
    ChartSeries.LegendIcon
    ChartSeries.Label
    ChartSeries.TooltipEnabled
    ChartSeries.ItemsSource
    ChartSeries.XBindingPath
    ChartSeries.ColorModel
    ChartSeries.XRange
    ChartSeries.YRange
    ChartSeries.Segments
    ChartSeries.Chart
    ChartSeries.VisibilityOnLegend
    ChartSeries.Visibility
    ChartSeries.DataMarkerLabelCreated
    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 Description
    Android.Graphics.Color

    DataMarkerPosition

    Gets or sets the marker position on the segment.

    Declaration
    public DataMarkerPosition DataMarkerPosition { get; set; }
    Property Value
    Type Description
    DataMarkerPosition

    Interval

    Gets or sets Interval double value which indicates the histogram interval.

    Declaration
    public double Interval { get; set; }
    Property Value
    Type Description
    System.Double

    ShowNormalDistributionCurve

    Gets or sets ShowNormalDistributionCurve boolean value which indicates the normal distribution curve.

    Declaration
    public bool ShowNormalDistributionCurve { get; set; }
    Property Value
    Type Description
    System.Boolean

    StrokeColor

    Gets or sets the color for the series stroke.

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    StrokeWidth

    Gets or sets the width for the series stroke width.

    Declaration
    public float StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    CreateSegment()

    Create the HistogramSegment.

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment

    Returns a segment.

    Overrides
    CartesianSeries.CreateSegment()

    CreateSegments()

    Creates the segments of HistogramSeries.

    Declaration
    protected override void CreateSegments()
    Overrides
    CartesianSeries.CreateSegments()

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved