Class ColumnSeries
Represents a column chart. To render column 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 ColumnSeries : XyDataSeries
Remarks
ColumnSeries 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
ColumnSeries()
Initializes a new instance of the ColumnSeries class.
Declaration
public ColumnSeries()
Properties
CornerRadius
Gets or sets the value to draw rounded corners of the segments by using ChartCornerRadius.
Declaration
public ChartCornerRadius CornerRadius { get; set; }
Property Value
Type |
---|
ChartCornerRadius |
DataMarkerPosition
Gets or sets the marker position on the segment.
Declaration
public DataMarkerPosition DataMarkerPosition { get; set; }
Property Value
Type |
---|
DataMarkerPosition |
Spacing
Gets or sets the spacing between the segments.
Declaration
public double Spacing { get; set; }
Property Value
Type |
---|
System.Double |
StrokeColor
Gets or sets the color for the series stroke.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
Width
Gets or sets the width of the segments.
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
Methods
CreateSegment()
Create the ColumnSegment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of ColumnSeries.
Declaration
protected override void CreateSegments()