Class PivotViewPivotAxisBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotViewPivotAxisBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewPivotAxisBuilder : ControlBuilder
Constructors
PivotViewPivotAxisBuilder()
Declaration
public PivotViewPivotAxisBuilder()
PivotViewPivotAxisBuilder(PivotViewPivotAxis)
Declaration
public PivotViewPivotAxisBuilder(PivotViewPivotAxis model)
Parameters
Methods
Border(PivotViewPivotChartAxisLabelBorder)
Allows to set the border of the multi level labels.
Declaration
public PivotViewPivotAxisBuilder Border(PivotViewPivotChartAxisLabelBorder value)
Parameters
Returns
Border(Action<PivotViewPivotChartAxisLabelBorderBuilder>)
Declaration
public PivotViewPivotAxisBuilder Border(Action<PivotViewPivotChartAxisLabelBorderBuilder> border)
Parameters
Returns
Coefficient(Double)
Allows to set the polar radar radius position.
Declaration
public PivotViewPivotAxisBuilder Coefficient(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Allows options to customize the crosshair ToolTip.
Declaration
public PivotViewPivotAxisBuilder CrosshairTooltip(PivotViewPivotChartAxisCrosshairTooltip value)
Parameters
Returns
Declaration
public PivotViewPivotAxisBuilder CrosshairTooltip(Action<PivotViewPivotChartAxisCrosshairTooltipBuilder> crosshairTooltip)
Parameters
Returns
Description(String)
Allows to set the description for axis and its element.
Declaration
public PivotViewPivotAxisBuilder Description(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
EdgeLabelPlacement(Object)
Allows to set the position of labels at the edge of the axis.They are,
Shift: Shifts the edge labels.
None: No action will be performed.
Hide: Edge label will be hidden.
Declaration
public PivotViewPivotAxisBuilder EdgeLabelPlacement(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
EnableTrim(Boolean)
Allows to set the Trim property for an axis.
Declaration
public PivotViewPivotAxisBuilder EnableTrim(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Interval(Double)
Allows to set the interval for an axis.
Declaration
public PivotViewPivotAxisBuilder Interval(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
IsIndexed(Boolean)
Allows to specify the indexed category to the axis.
Declaration
public PivotViewPivotAxisBuilder IsIndexed(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
IsInversed(Boolean)
Allows to specify whether the axis to be rendered in inversed manner or not.
Declaration
public PivotViewPivotAxisBuilder IsInversed(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
It 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 PivotViewPivotAxisBuilder LabelFormat(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
LabelIntersectAction(Object)
Allows to set the actions like Hide
, Rotate45
, and Rotate90
when the axis labels intersect with each other.They are,
Rotate45: Rotates the label to 45 degree when it intersects.
Rotate90: Rotates the label to 90 degree when it intersects.
None: Shows all the labels.
Hide: Hides the label when it intersects.
Declaration
public PivotViewPivotAxisBuilder LabelIntersectAction(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
LabelPlacement(Object)
Allows to set the placement of a label for category axis. They are,
onTicks: Renders the label on the ticks.
betweenTicks: Renders the label between the ticks.
Declaration
public PivotViewPivotAxisBuilder LabelPlacement(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
LabelPosition(Object)
Allows to set the placement of a labels to the axis line. They are,
outside: Renders the labels outside to the axis line.
inside: Renders the labels inside to the axis line.
Declaration
public PivotViewPivotAxisBuilder LabelPosition(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
LabelRotation(Double)
Allows to set the angle to which the axis label gets rotated.
Declaration
public PivotViewPivotAxisBuilder LabelRotation(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
LabelStyle(PivotViewPivotChartAxisFont)
Allows options to customize the axis label.
Declaration
public PivotViewPivotAxisBuilder LabelStyle(PivotViewPivotChartAxisFont value)
Parameters
Returns
LabelStyle(Action<PivotViewPivotChartAxisFontBuilder>)
Declaration
public PivotViewPivotAxisBuilder LabelStyle(Action<PivotViewPivotChartAxisFontBuilder> labelStyle)
Parameters
Returns
LineStyle(PivotViewPivotChartAxisAxisLine)
Allows options for customizing axis lines.
Declaration
public PivotViewPivotAxisBuilder LineStyle(PivotViewPivotChartAxisAxisLine value)
Parameters
Returns
LineStyle(Action<PivotViewPivotChartAxisAxisLineBuilder>)
Declaration
public PivotViewPivotAxisBuilder LineStyle(Action<PivotViewPivotChartAxisAxisLineBuilder> lineStyle)
Parameters
Returns
MajorGridLines(PivotViewPivotChartAxisMajorGridLines)
Allows options for customizing major grid lines.
Declaration
public PivotViewPivotAxisBuilder MajorGridLines(PivotViewPivotChartAxisMajorGridLines value)
Parameters
Returns
MajorGridLines(Action<PivotViewPivotChartAxisMajorGridLinesBuilder>)
Declaration
public PivotViewPivotAxisBuilder MajorGridLines(Action<PivotViewPivotChartAxisMajorGridLinesBuilder> majorGridLines)
Parameters
Returns
MajorTickLines(PivotViewPivotChartAxisMajorTickLines)
Allows options for customizing major tick lines.
Declaration
public PivotViewPivotAxisBuilder MajorTickLines(PivotViewPivotChartAxisMajorTickLines value)
Parameters
Returns
MajorTickLines(Action<PivotViewPivotChartAxisMajorTickLinesBuilder>)
Declaration
public PivotViewPivotAxisBuilder MajorTickLines(Action<PivotViewPivotChartAxisMajorTickLinesBuilder> majorTickLines)
Parameters
Returns
Maximum(Object)
Allows to set the maximum range of an axis.
Declaration
public PivotViewPivotAxisBuilder Maximum(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
MaximumLabelWidth(Double)
Allows to set the maximum width of an axis label.
Declaration
public PivotViewPivotAxisBuilder MaximumLabelWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Minimum(Object)
Allows to set the minimum range of an axis.
Declaration
public PivotViewPivotAxisBuilder Minimum(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
MinorGridLines(PivotViewPivotChartAxisMinorGridLines)
Allows options for customizing minor grid lines.
Declaration
public PivotViewPivotAxisBuilder MinorGridLines(PivotViewPivotChartAxisMinorGridLines value)
Parameters
Returns
MinorGridLines(Action<PivotViewPivotChartAxisMinorGridLinesBuilder>)
Declaration
public PivotViewPivotAxisBuilder MinorGridLines(Action<PivotViewPivotChartAxisMinorGridLinesBuilder> minorGridLines)
Parameters
Returns
MinorTickLines(PivotViewPivotChartAxisMinorTickLines)
Allows options for customizing minor tick lines.
Declaration
public PivotViewPivotAxisBuilder MinorTickLines(PivotViewPivotChartAxisMinorTickLines value)
Parameters
Returns
MinorTickLines(Action<PivotViewPivotChartAxisMinorTickLinesBuilder>)
Declaration
public PivotViewPivotAxisBuilder MinorTickLines(Action<PivotViewPivotChartAxisMinorTickLinesBuilder> minorTickLines)
Parameters
Returns
MinorTicksPerInterval(Double)
Allows to set the number of minor ticks per interval.
Declaration
public PivotViewPivotAxisBuilder MinorTicksPerInterval(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
OpposedPosition(Boolean)
If set to true, the axis will render at the opposite side of its default position.
Declaration
public PivotViewPivotAxisBuilder OpposedPosition(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
PlotOffset(Double)
Allows to set the left and right padding for the plot area in pixels.
Declaration
public PivotViewPivotAxisBuilder PlotOffset(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
StartAngle(Double)
Allows to set the start angle for the series.
Declaration
public PivotViewPivotAxisBuilder StartAngle(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
StripLines(Action<PivotViewStripLineBuilder>)
Declaration
public PivotViewPivotAxisBuilder StripLines(Action<PivotViewStripLineBuilder> stripLines)
Parameters
Returns
StripLines(List<PivotViewStripLine>)
Allows to set the stripLine collection for the axis
Declaration
public PivotViewPivotAxisBuilder StripLines(List<PivotViewStripLine> value)
Parameters
Returns
TabIndex(Double)
Allows to set the tabindex value for the axis.
Declaration
public PivotViewPivotAxisBuilder TabIndex(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
TickPosition(Object)
Allows to set the placement of a ticks to the axis line. They are,
outside: Renders the ticks outside to the axis line.
inside: Renders the ticks inside to the axis line.
Declaration
public PivotViewPivotAxisBuilder TickPosition(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Title(String)
Allows to set the title of an axis.
Declaration
public PivotViewPivotAxisBuilder Title(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TitleStyle(PivotViewPivotChartAxisFont)
Allows options for customizing the axis title.
Declaration
public PivotViewPivotAxisBuilder TitleStyle(PivotViewPivotChartAxisFont value)
Parameters
Returns
TitleStyle(Action<PivotViewPivotChartAxisFontBuilder>)
Declaration
public PivotViewPivotAxisBuilder TitleStyle(Action<PivotViewPivotChartAxisFontBuilder> titleStyle)
Parameters
Returns
Visible(Boolean)
If set to true, axis label will be visible.
Declaration
public PivotViewPivotAxisBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
ZoomFactor(Double)
Allows to scale the axis by this value. When zoomFactor is 0.5, the chart is scaled by 200% along this axis. Value ranges from 0 to 1.
Declaration
public PivotViewPivotAxisBuilder ZoomFactor(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns