Class StockChartStockChartAxisBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartStockChartAxisBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartStockChartAxisBuilder : ControlBuilder
Constructors
StockChartStockChartAxisBuilder()
Declaration
public StockChartStockChartAxisBuilder()
StockChartStockChartAxisBuilder(StockChartStockChartAxis)
Declaration
public StockChartStockChartAxisBuilder(StockChartStockChartAxis model)
Parameters
StockChartStockChartAxisBuilder(List<StockChartStockChartAxis>)
Declaration
public StockChartStockChartAxisBuilder(List<StockChartStockChartAxis> collection)
Parameters
Methods
Add()
Declaration
Coefficient(Double)
The polar radar radius position.
Declaration
public StockChartStockChartAxisBuilder Coefficient(double coefficient)
Parameters
Type |
Name |
Description |
System.Double |
coefficient |
|
Returns
CrossesAt(Object)
Specifies the value at which the axis line has to be intersect with the vertical axis or vice versa.
Declaration
public StockChartStockChartAxisBuilder CrossesAt(object crossesAt)
Parameters
Type |
Name |
Description |
System.Object |
crossesAt |
|
Returns
CrossesInAxis(String)
Specifies axis name with which the axis line has to be crossed.
Declaration
public StockChartStockChartAxisBuilder CrossesInAxis(string crossesInAxis)
Parameters
Type |
Name |
Description |
System.String |
crossesInAxis |
|
Returns
Options to customize the crosshair ToolTip.
Declaration
public StockChartStockChartAxisBuilder CrosshairTooltip(StockChartCrosshairTooltip crosshairTooltip)
Parameters
Returns
Declaration
public StockChartStockChartAxisBuilder CrosshairTooltip(Action<StockChartCrosshairTooltipBuilder> crosshairTooltip)
Parameters
Returns
Description(String)
Description for axis and its element.
Declaration
public StockChartStockChartAxisBuilder Description(string description)
Parameters
Type |
Name |
Description |
System.String |
description |
|
Returns
DesiredIntervals(Double)
With this property, you can request axis to calculate intervals approximately equal to your specified interval.
Declaration
public StockChartStockChartAxisBuilder DesiredIntervals(double desiredIntervals)
Parameters
Type |
Name |
Description |
System.Double |
desiredIntervals |
|
Returns
EdgeLabelPlacement(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
public StockChartStockChartAxisBuilder EdgeLabelPlacement(EdgeLabelPlacement edgeLabelPlacement)
Parameters
Returns
EnableAutoIntervalOnZooming(Boolean)
If set to true, axis interval will be calculated automatically with respect to the zoomed range.
Declaration
public StockChartStockChartAxisBuilder EnableAutoIntervalOnZooming(bool enableAutoIntervalOnZooming)
Parameters
Type |
Name |
Description |
System.Boolean |
enableAutoIntervalOnZooming |
|
Returns
EnableTrim(Boolean)
Specifies the Trim property for an axis.
Declaration
public StockChartStockChartAxisBuilder EnableTrim(bool enableTrim)
Parameters
Type |
Name |
Description |
System.Boolean |
enableTrim |
|
Returns
Interval(Double)
Specifies the interval for an axis.
Declaration
public StockChartStockChartAxisBuilder Interval(double interval)
Parameters
Type |
Name |
Description |
System.Double |
interval |
|
Returns
IntervalType(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
public StockChartStockChartAxisBuilder IntervalType(IntervalType intervalType)
Parameters
Returns
IsInversed(Boolean)
It specifies whether the axis to be rendered in inversed manner or not.
Declaration
public StockChartStockChartAxisBuilder IsInversed(bool isInversed)
Parameters
Type |
Name |
Description |
System.Boolean |
isInversed |
|
Returns
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
public StockChartStockChartAxisBuilder LabelFormat(string labelFormat)
Parameters
Type |
Name |
Description |
System.String |
labelFormat |
|
Returns
LabelIntersectAction(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
public StockChartStockChartAxisBuilder LabelIntersectAction(LabelIntersectAction labelIntersectAction)
Parameters
Returns
LabelPlacement(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
public StockChartStockChartAxisBuilder LabelPlacement(LabelPlacement labelPlacement)
Parameters
Returns
LabelPosition(AxisPosition)
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
public StockChartStockChartAxisBuilder LabelPosition(AxisPosition labelPosition)
Parameters
Returns
LabelRotation(Double)
The angle to which the axis label gets rotated.
Declaration
public StockChartStockChartAxisBuilder LabelRotation(double labelRotation)
Parameters
Type |
Name |
Description |
System.Double |
labelRotation |
|
Returns
LabelStyle(StockChartFont)
Options to customize the axis label.
Declaration
public StockChartStockChartAxisBuilder LabelStyle(StockChartFont labelStyle)
Parameters
Returns
LabelStyle(Action<StockChartFontBuilder>)
Declaration
public StockChartStockChartAxisBuilder LabelStyle(Action<StockChartFontBuilder> labelStyle)
Parameters
Returns
LineStyle(StockChartAxisLine)
Options for customizing axis lines.
Declaration
public StockChartStockChartAxisBuilder LineStyle(StockChartAxisLine lineStyle)
Parameters
Returns
LineStyle(Action<StockChartAxisLineBuilder>)
Declaration
public StockChartStockChartAxisBuilder LineStyle(Action<StockChartAxisLineBuilder> lineStyle)
Parameters
Returns
LogBase(Double)
The base value for logarithmic axis. It requires valueType
to be Logarithmic
.
Declaration
public StockChartStockChartAxisBuilder LogBase(double logBase)
Parameters
Type |
Name |
Description |
System.Double |
logBase |
|
Returns
MajorGridLines(StockChartMajorGridLines)
Options for customizing major grid lines.
Declaration
public StockChartStockChartAxisBuilder MajorGridLines(StockChartMajorGridLines majorGridLines)
Parameters
Returns
MajorGridLines(Action<StockChartMajorGridLinesBuilder>)
Declaration
public StockChartStockChartAxisBuilder MajorGridLines(Action<StockChartMajorGridLinesBuilder> majorGridLines)
Parameters
Returns
MajorTickLines(StockChartMajorTickLines)
Options for customizing major tick lines.
Declaration
public StockChartStockChartAxisBuilder MajorTickLines(StockChartMajorTickLines majorTickLines)
Parameters
Returns
MajorTickLines(Action<StockChartMajorTickLinesBuilder>)
Declaration
public StockChartStockChartAxisBuilder MajorTickLines(Action<StockChartMajorTickLinesBuilder> majorTickLines)
Parameters
Returns
Maximum(Object)
Specifies the maximum range of an axis.
Declaration
public StockChartStockChartAxisBuilder Maximum(object maximum)
Parameters
Type |
Name |
Description |
System.Object |
maximum |
|
Returns
MaximumLabels(Double)
The maximum number of label count per 100 pixels with respect to the axis length.
Declaration
public StockChartStockChartAxisBuilder MaximumLabels(double maximumLabels)
Parameters
Type |
Name |
Description |
System.Double |
maximumLabels |
|
Returns
MaximumLabelWidth(Double)
Specifies the maximum width of an axis label.
Declaration
public StockChartStockChartAxisBuilder MaximumLabelWidth(double maximumLabelWidth)
Parameters
Type |
Name |
Description |
System.Double |
maximumLabelWidth |
|
Returns
Minimum(Object)
Specifies the minimum range of an axis.
Declaration
public StockChartStockChartAxisBuilder Minimum(object minimum)
Parameters
Type |
Name |
Description |
System.Object |
minimum |
|
Returns
MinorGridLines(StockChartMinorGridLines)
Options for customizing minor grid lines.
Declaration
public StockChartStockChartAxisBuilder MinorGridLines(StockChartMinorGridLines minorGridLines)
Parameters
Returns
MinorGridLines(Action<StockChartMinorGridLinesBuilder>)
Declaration
public StockChartStockChartAxisBuilder MinorGridLines(Action<StockChartMinorGridLinesBuilder> minorGridLines)
Parameters
Returns
MinorTickLines(StockChartMinorTickLines)
Options for customizing minor tick lines.
Declaration
public StockChartStockChartAxisBuilder MinorTickLines(StockChartMinorTickLines minorTickLines)
Parameters
Returns
MinorTickLines(Action<StockChartMinorTickLinesBuilder>)
Declaration
public StockChartStockChartAxisBuilder MinorTickLines(Action<StockChartMinorTickLinesBuilder> minorTickLines)
Parameters
Returns
MinorTicksPerInterval(Double)
Specifies the number of minor ticks per interval.
Declaration
public StockChartStockChartAxisBuilder MinorTicksPerInterval(double minorTicksPerInterval)
Parameters
Type |
Name |
Description |
System.Double |
minorTicksPerInterval |
|
Returns
Name(String)
Unique identifier of an axis.
To associate an axis with the series, set this name to the xAxisName/yAxisName properties of the series.
Declaration
public StockChartStockChartAxisBuilder Name(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
OpposedPosition(Boolean)
If set to true, the axis will render at the opposite side of its default position.
Declaration
public StockChartStockChartAxisBuilder OpposedPosition(bool opposedPosition)
Parameters
Type |
Name |
Description |
System.Boolean |
opposedPosition |
|
Returns
PlaceNextToAxisLine(Boolean)
Specifies whether axis elements like axis labels, axis title, etc has to be crossed with axis line.
Declaration
public StockChartStockChartAxisBuilder PlaceNextToAxisLine(bool placeNextToAxisLine)
Parameters
Type |
Name |
Description |
System.Boolean |
placeNextToAxisLine |
|
Returns
PlotOffset(Double)
Left and right padding for the plot area in pixels.
Declaration
public StockChartStockChartAxisBuilder PlotOffset(double plotOffset)
Parameters
Type |
Name |
Description |
System.Double |
plotOffset |
|
Returns
RangePadding(ChartRangePadding)
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
public StockChartStockChartAxisBuilder RangePadding(ChartRangePadding rangePadding)
Parameters
Returns
RowIndex(Double)
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
public StockChartStockChartAxisBuilder RowIndex(double rowIndex)
Parameters
Type |
Name |
Description |
System.Double |
rowIndex |
|
Returns
Skeleton(String)
Specifies the skeleton format in which the dateTime format will process.
Declaration
public StockChartStockChartAxisBuilder Skeleton(string skeleton)
Parameters
Type |
Name |
Description |
System.String |
skeleton |
|
Returns
SkeletonType(SkeletonType)
It specifies the type of format to be used in dateTime format process.
Declaration
public StockChartStockChartAxisBuilder SkeletonType(SkeletonType skeletonType)
Parameters
Returns
Span(Double)
Specifies the number of columns
or rows
an axis has to span horizontally or vertically.
Declaration
public StockChartStockChartAxisBuilder Span(double span)
Parameters
Type |
Name |
Description |
System.Double |
span |
|
Returns
StartAngle(Double)
The start angle for the series.
Declaration
public StockChartStockChartAxisBuilder StartAngle(double startAngle)
Parameters
Type |
Name |
Description |
System.Double |
startAngle |
|
Returns
StripLines(Object)
Specifies the stripLine collection for the axis.
Declaration
public StockChartStockChartAxisBuilder StripLines(object stripLines)
Parameters
Type |
Name |
Description |
System.Object |
stripLines |
|
Returns
TabIndex(Double)
TabIndex value for the axis.
Declaration
public StockChartStockChartAxisBuilder TabIndex(double tabIndex)
Parameters
Type |
Name |
Description |
System.Double |
tabIndex |
|
Returns
TickPosition(AxisPosition)
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
public StockChartStockChartAxisBuilder TickPosition(AxisPosition tickPosition)
Parameters
Returns
Title(String)
Specifies the title of an axis.
Declaration
public StockChartStockChartAxisBuilder Title(string title)
Parameters
Type |
Name |
Description |
System.String |
title |
|
Returns
TitleStyle(Object)
Options for customizing the axis title.
Declaration
public StockChartStockChartAxisBuilder TitleStyle(object titleStyle)
Parameters
Type |
Name |
Description |
System.Object |
titleStyle |
|
Returns
ValueType(ValueType)
Specifies the data types that the axis can handle:
Double: This type is used for rendering a numeric axis to accommodate numeric data.
DateTime: This type is utilized for rendering a date-time axis to manage date-time data.
Category: This type is employed for rendering a category axis to manage categorical data.
Logarithmic: This type is applied for rendering a logarithmic axis to handle a wide range of values.
DateTimeCategory: This type is used to render a date time category axis for managing business days.
Declaration
public StockChartStockChartAxisBuilder ValueType(ValueType valueType)
Parameters
Returns
Visible(Boolean)
If set to true, axis label will be visible.
Declaration
public StockChartStockChartAxisBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns
ZoomFactor(Double)
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
public StockChartStockChartAxisBuilder ZoomFactor(double zoomFactor)
Parameters
Type |
Name |
Description |
System.Double |
zoomFactor |
|
Returns
ZoomPosition(Double)
Position of the zoomed axis. Value ranges from 0 to 1.
Declaration
public StockChartStockChartAxisBuilder ZoomPosition(double zoomPosition)
Parameters
Type |
Name |
Description |
System.Double |
zoomPosition |
|
Returns