Class StockChartCommonAxis
To specify customization options for stock chart axis.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartCommonAxis : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
StockChartCommonAxis()
Declaration
public StockChartCommonAxis()
Properties
CrossesAt
Specifies the value at which the axis line has to be intersect with the vertical axis or vice versa.
Declaration
[Parameter]
public object CrossesAt { get; set; }
Property Value
| Type |
|---|
| object |
CrossesInAxis
Specifies axis name with which the axis line has to be crossed.
Declaration
[Parameter]
public string CrossesInAxis { get; set; }
Property Value
| Type |
|---|
| string |
Description
Description for axis and its element.
Declaration
[Parameter]
public string Description { get; set; }
Property Value
| Type |
|---|
| string |
DesiredIntervals
With this property, you can request axis to calculate intervals approximately equal to your specified interval.
Declaration
[Parameter]
public double DesiredIntervals { get; set; }
Property Value
| Type |
|---|
| double |
EdgeLabelPlacement
Specifies the position of labels at the edge of the axis.They are, None: No action will be performed. Hide: Edge label will be hidden. Shift: Shifts the edge labels.
Declaration
[Parameter]
public EdgeLabelPlacement EdgeLabelPlacement { get; set; }
Property Value
| Type |
|---|
| EdgeLabelPlacement |
EnableAutoIntervalOnZooming
If set to true, axis interval will be calculated automatically with respect to the zoomed range.
Declaration
[Parameter]
public bool EnableAutoIntervalOnZooming { get; set; }
Property Value
| Type |
|---|
| bool |
EnableTrim
Specifies the Trim property for an axis.
Declaration
[Parameter]
public bool EnableTrim { get; set; }
Property Value
| Type |
|---|
| bool |
Interval
Specifies the interval for an axis.
Declaration
[Parameter]
public double Interval { get; set; }
Property Value
| Type |
|---|
| double |
IntervalType
Specifies the types like Years, Months, Days, Hours, Minutes, Seconds in date time axis.They are,
Auto: Defines the interval of the axis based on data.
Years: Defines the interval of the axis in years.
Months: Defines the interval of the axis in months.
Days: Defines the interval of the axis in days.
Hours: Defines the interval of the axis in hours.
Minutes: Defines the interval of the axis in minutes.
Declaration
[Parameter]
public IntervalType IntervalType { get; set; }
Property Value
| Type |
|---|
| IntervalType |
IsInversed
It specifies whether the axis to be rendered in inversed manner or not.
Declaration
[Parameter]
public bool IsInversed { get; set; }
Property Value
| Type |
|---|
| bool |
LabelFormat
Used to format the axis label that accepts any global string format like 'C', 'n1', 'P' etc. It also accepts placeholder like '{value}°C' in which value represent the axis label, e.g, 20°C.
Declaration
[Parameter]
public string LabelFormat { get; set; }
Property Value
| Type |
|---|
| string |
LabelIntersectAction
Specifies the actions like Hide, Rotate45, and Rotate90 when the axis labels intersect with each other.They are,
None: Shows all the labels.
Hide: Hides the label when it intersects.
Rotate45: Rotates the label to 45 degree when it intersects.
Rotate90: Rotates the label to 90 degree when it intersects.
Declaration
[Parameter]
public LabelIntersectAction LabelIntersectAction { get; set; }
Property Value
| Type |
|---|
| LabelIntersectAction |
LabelPlacement
Specifies the placement of a label for category axis. They are, betweenTicks: Renders the label between the ticks. onTicks: Renders the label on the ticks.
Declaration
[Parameter]
public LabelPlacement LabelPlacement { get; set; }
Property Value
| Type |
|---|
| LabelPlacement |
LabelPosition
Specifies the placement of a labels to the axis line. They are, inside: Renders the labels inside to the axis line. outside: Renders the labels outside to the axis line.
Declaration
[Parameter]
public virtual AxisPosition LabelPosition { get; set; }
Property Value
| Type |
|---|
| AxisPosition |
LabelRotation
The angle to which the axis label gets rotated.
Declaration
[Parameter]
public double LabelRotation { get; set; }
Property Value
| Type |
|---|
| double |
LogBase
The base value for logarithmic axis. It requires ValueType to be Logarithmic.
Declaration
[Parameter]
public double LogBase { get; set; }
Property Value
| Type |
|---|
| double |
Maximum
Specifies the maximum range of an axis.
Declaration
[Parameter]
public object Maximum { get; set; }
Property Value
| Type |
|---|
| object |
MaximumLabelWidth
Specifies the maximum width of an axis label.
Declaration
[Parameter]
public double MaximumLabelWidth { get; set; }
Property Value
| Type |
|---|
| double |
MaximumLabels
The maximum number of label count per 100 pixels with respect to the axis length.
Declaration
[Parameter]
public double MaximumLabels { get; set; }
Property Value
| Type |
|---|
| double |
Minimum
Specifies the minimum range of an axis.
Declaration
[Parameter]
public object Minimum { get; set; }
Property Value
| Type |
|---|
| object |
MinorTicksPerInterval
Specifies the number of minor ticks per interval.
Declaration
[Parameter]
public double MinorTicksPerInterval { get; set; }
Property Value
| Type |
|---|
| double |
Name
Unique identifier of an axis. To associate an axis with the series, set this name to the xAxisName/yAxisName properties of the series.
Declaration
[Parameter]
public virtual string Name { get; set; }
Property Value
| Type |
|---|
| string |
OpposedPosition
If set to true, the axis will render at the opposite side of its default position.
Declaration
[Parameter]
public virtual bool OpposedPosition { get; set; }
Property Value
| Type |
|---|
| bool |
PlaceNextToAxisLine
Specifies whether axis elements like axis labels, axis title, etc has to be crossed with axis line.
Declaration
[Parameter]
public bool PlaceNextToAxisLine { get; set; }
Property Value
| Type |
|---|
| bool |
PlotOffset
Left and right padding for the plot area in pixels.
Declaration
[Parameter]
public double PlotOffset { get; set; }
Property Value
| Type |
|---|
| double |
RangePadding
Specifies the padding for the axis range in terms of interval.They are, none: Padding cannot be applied to the axis. normal: Padding is applied to the axis based on the range calculation. additional: Interval of the axis is added as padding to the minimum and maximum values of the range. round: Axis range is rounded to the nearest possible value divided by the interval.
Declaration
[Parameter]
public ChartRangePadding RangePadding { get; set; }
Property Value
| Type |
|---|
| ChartRangePadding |
RowIndex
Specifies the index of the row where the axis is associated, when the chart area is divided into multiple plot areas by using Rows.
Declaration
[Parameter]
public int RowIndex { get; set; }
Property Value
| Type |
|---|
| int |
Skeleton
Specifies the skeleton format in which the dateTime format will process.
Declaration
[Parameter]
public string Skeleton { get; set; }
Property Value
| Type |
|---|
| string |
SkeletonType
It specifies the type of format to be used in dateTime format process.
Declaration
[Parameter]
public SkeletonType SkeletonType { get; set; }
Property Value
| Type |
|---|
| SkeletonType |
Span
Specifies the number of Columns or rows an axis has to span horizontally or vertically.
Declaration
[Parameter]
public double Span { get; set; }
Property Value
| Type |
|---|
| double |
StartAngle
The start angle for the series.
Declaration
[Parameter]
public double StartAngle { get; set; }
Property Value
| Type |
|---|
| double |
TabIndex
TabIndex value for the axis.
Declaration
[Parameter]
public double TabIndex { get; set; }
Property Value
| Type |
|---|
| double |
TickPosition
Specifies the placement of a ticks to the axis line. They are, inside: Renders the ticks inside to the axis line. outside: Renders the ticks outside to the axis line.
Declaration
[Parameter]
public AxisPosition TickPosition { get; set; }
Property Value
| Type |
|---|
| AxisPosition |
Title
Specifies the title of an axis.
Declaration
[Parameter]
public string Title { get; set; }
Property Value
| Type |
|---|
| string |
ValueType
Specifies the type of data the axis is handling. Double: Renders a numeric axis. DateTime: Renders a dateTime axis. Category: Renders a category axis. Logarithmic: Renders a log axis.
Declaration
[Parameter]
public virtual ValueType ValueType { get; set; }
Property Value
| Type |
|---|
| ValueType |
Visible
If set to true, axis label will be visible.
Declaration
[Parameter]
public bool Visible { get; set; }
Property Value
| Type |
|---|
| bool |
ZoomFactor
The axis is scaled by this factor. When zoomFactor is 0.5, the chart is scaled by 200% along this axis. Value ranges from 0 to 1.
Declaration
[Parameter]
public double ZoomFactor { get; set; }
Property Value
| Type |
|---|
| double |
ZoomPosition
Position of the zoomed axis. Value ranges from 0 to 1.
Declaration
[Parameter]
public double ZoomPosition { get; set; }
Property Value
| Type |
|---|
| double |