Class CategoryAxis
Represents a specialized axis to plot categorical data. This class contains
properties to customize grid lines, ticks and labels.
Inheritance
System.Object
CategoryAxis
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class CategoryAxis : ChartAxis
Constructors
CategoryAxis()
Declaration
Properties
ArrangeByIndex
Gets or sets a value indicating whether to group the Category axis label values and create the segment based on it.
Declaration
public bool ArrangeByIndex { get; set; }
Property Value
Type |
Description |
System.Boolean |
True , to created the segment based on the index value. This is default value.
False , to created the segment based on the axis label values.
|
LabelPlacement
Gets or sets an option that determines whether to place axis label, in between the tick lines or on the tick lines.
Declaration
public LabelPlacement LabelPlacement { get; set; }
Property Value
StripLines
Gets or sets the collection of strip lines to be added to the chart axis.
Declaration
public NumericalStripLinesCollection StripLines { get; set; }
Property Value
Methods
ApplyRangePadding(DoubleRange, Double)
Declaration
protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
Parameters
Type |
Name |
Description |
DoubleRange |
range |
|
System.Double |
interval |
|
Returns
Overrides
CalculateActualInterval(DoubleRange, SizeF)
Declaration
protected override double CalculateActualInterval(DoubleRange range, SizeF availableSize)
Parameters
Type |
Name |
Description |
DoubleRange |
range |
|
System.Drawing.SizeF |
availableSize |
|
Returns
Overrides
GenerateVisibleLabels()
Declaration
protected override void GenerateVisibleLabels()
Overrides