Xamarin.Android

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AreaSeries

    Show / Hide Table of Contents

    Class AreaSeries

    Represents an area chart. To render area 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
    AreaSeries
    SplineAreaSeries
    StepAreaSeries
    Inherited Members
    XyDataSeries.OnBindingPathChanged()
    XyDataSeries.YBindingPath
    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.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeries.ClearUnUsedDataMarkerLabels(Int32)
    ChartSeries.InvalidateRender()
    ChartSeries.OnDetachedFromChart()
    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.StrokeWidth
    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 AreaSeries : XyDataSeries
    Remarks

    AreaSeries 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

    AreaSeries()

    Declaration
    public AreaSeries()

    Properties

    StrokeColor

    Gets or sets the color for the series stroke.

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

    Methods

    CreateSegment()

    Create the AreaSegment.

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment

    Returns a segment.

    Overrides
    CartesianSeries.CreateSegment()

    CreateSegments()

    Creates the segments of AreaSeries.

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

    GetDataPointIndex(Single, Single)

    Declaration
    public override int GetDataPointIndex(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Returns
    Type Description
    System.Int32
    Overrides
    ChartSeries.GetDataPointIndex(Single, Single)

    GetGradientEndPoint(ChartSegment)

    Declaration
    protected override PointF GetGradientEndPoint(ChartSegment segment)
    Parameters
    Type Name Description
    ChartSegment segment
    Returns
    Type Description
    Android.Graphics.PointF
    Overrides
    ChartSeries.GetGradientEndPoint(ChartSegment)

    GetGradientStartPoint(ChartSegment)

    Declaration
    protected override PointF GetGradientStartPoint(ChartSegment segment)
    Parameters
    Type Name Description
    ChartSegment segment
    Returns
    Type Description
    Android.Graphics.PointF
    Overrides
    ChartSeries.GetGradientStartPoint(ChartSegment)

    OnAttachedToChart()

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

    SeriesContainsPoint(PointF)

    Declaration
    public override bool SeriesContainsPoint(PointF point)
    Parameters
    Type Name Description
    System.Drawing.PointF point
    Returns
    Type Description
    System.Boolean
    Overrides
    ChartSeries.SeriesContainsPoint(PointF)

    SetFillColor(ChartSegment)

    Declaration
    protected override void SetFillColor(ChartSegment segment)
    Parameters
    Type Name Description
    ChartSegment segment
    Overrides
    ChartSeries.SetFillColor(ChartSegment)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved