Class PivotChartPrimaryXAxis
Allows to customize Primary X Axis for the pivot chart.
Inheritance
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartPrimaryXAxis : OwningComponentBase
Constructors
PivotChartPrimaryXAxis()
Declaration
public PivotChartPrimaryXAxis()
Properties
Border
Allows to set the border of the multi level labels.
Declaration
public PivotChartPrimaryXAxisBorder Border { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisBorder |
Coefficient
Allows to set the polar radar radius position.
Declaration
public int Coefficient { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
CrosshairTooltip
Allows options to customize the crosshair ToolTip.
Declaration
public PivotChartPrimaryXAxisCrosshairTooltip CrosshairTooltip { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisCrosshairTooltip |
Description
Allows to set the description for axis and its element.
Declaration
public string Description { get; set; }
Property Value
| Type |
|---|
| System.String |
EdgeLabelPlacement
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 PivotChartEdgeLabelPlacement EdgeLabelPlacement { get; set; }
Property Value
| Type |
|---|
| PivotChartEdgeLabelPlacement |
EnableTrim
Allows to set the Trim property for an axis.
Declaration
public bool EnableTrim { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Interval
Allows to set the interval for an axis.
Declaration
public int Interval { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
IsIndexed
Allows to specify the indexed category to the axis.
Declaration
public bool IsIndexed { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
IsInversed
Allows to specify whether the axis to be rendered in inversed manner or not.
Declaration
public bool IsInversed { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
LabelFormat
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 string LabelFormat { get; set; }
Property Value
| Type |
|---|
| System.String |
LabelIntersectAction
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 PivotChartLabelIntersectAction LabelIntersectAction { get; set; }
Property Value
| Type |
|---|
| PivotChartLabelIntersectAction |
LabelPlacement
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 PivotChartLabelPlacement LabelPlacement { get; set; }
Property Value
| Type |
|---|
| PivotChartLabelPlacement |
LabelPosition
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 PivotChartAxisPosition LabelPosition { get; set; }
Property Value
| Type |
|---|
| PivotChartAxisPosition |
LabelRotation
Allows to set the angle to which the axis label gets rotated.
Declaration
public int LabelRotation { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
LabelStyle
Allows options to customize the axis label.
Declaration
public PivotChartPrimaryXAxisFont LabelStyle { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisFont |
LineStyle
Allows options for customizing axis lines.
Declaration
public PivotChartPrimaryXAxisLineStyle LineStyle { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisLineStyle |
MajorGridLines
Allows options for customizing major grid lines.
Declaration
public PivotChartPrimaryXAxisMajorGridLines MajorGridLines { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisMajorGridLines |
MajorTickLines
Allows options for customizing major tick lines.
Declaration
public PivotChartPrimaryXAxisMajorTickLines MajorTickLines { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisMajorTickLines |
Maximum
Allows to set the maximum range of an axis.
Declaration
public object Maximum { get; set; }
Property Value
| Type |
|---|
| System.Object |
MaximumLabelWidth
Allows to set the maximum width of an axis label.
Declaration
public int MaximumLabelWidth { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Minimum
Allows to set the minimum range of an axis.
Declaration
public object Minimum { get; set; }
Property Value
| Type |
|---|
| System.Object |
MinorGridLines
Allows options for customizing minor grid lines.
Declaration
public PivotChartPrimaryXAxisMinorGridLines MinorGridLines { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisMinorGridLines |
MinorTickLines
Allows options for customizing minor tick lines.
Declaration
public PivotChartPrimaryXAxisMinorTickLines MinorTickLines { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisMinorTickLines |
MinorTicksPerInterval
Allows to set the number of minor ticks per interval.
Declaration
public int MinorTicksPerInterval { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
OpposedPosition
If set to true, the axis will render at the opposite side of its default position.
Declaration
public bool OpposedPosition { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
PlotOffset
Allows to set the left and right padding for the plot area in pixels.
Declaration
public int PlotOffset { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
StartAngle
Allows to set the start angle for the series.
Declaration
public int StartAngle { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
StripLines
Allows to set the stripLine collection for the axis.
Declaration
public List<PivotChartPrimaryXAxisStripLineSetting> StripLines { get; set; }
Property Value
| Type |
|---|
| System.Collections.Generic.List<PivotChartPrimaryXAxisStripLineSetting> |
TabIndex
Allows to set the tabindex value for the axis.
Declaration
public int TabIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
TickPosition
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 PivotChartAxisPosition TickPosition { get; set; }
Property Value
| Type |
|---|
| PivotChartAxisPosition |
Title
Allows to set the title of an axis.
Declaration
public string Title { get; set; }
Property Value
| Type |
|---|
| System.String |
TitleStyle
Allows options for customizing the axis title.
Declaration
public PivotChartPrimaryXAxisTitleStyle TitleStyle { get; set; }
Property Value
| Type |
|---|
| PivotChartPrimaryXAxisTitleStyle |
Visible
If set to true, axis label will be visible.
Declaration
public bool Visible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
ZoomFactor
Allows to set the zoom factor for axis.
Declaration
public Nullable<double> ZoomFactor { get; set; }
Property Value
| Type |
|---|
| System.Nullable<System.Double> |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |