menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewPivotAxisBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotViewPivotAxisBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PivotViewPivotAxisBuilder
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewPivotAxisBuilder : ControlBuilder

    Constructors

    PivotViewPivotAxisBuilder()

    Declaration
    public PivotViewPivotAxisBuilder()

    PivotViewPivotAxisBuilder(PivotViewPivotAxis)

    Declaration
    public PivotViewPivotAxisBuilder(PivotViewPivotAxis model)
    Parameters
    Type Name Description
    PivotViewPivotAxis model

    Methods

    Border(PivotViewPivotChartAxisLabelBorder)

    Allows to set the border of the multi level labels.

    Declaration
    public PivotViewPivotAxisBuilder Border(PivotViewPivotChartAxisLabelBorder value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisLabelBorder value
    Returns
    Type
    PivotViewPivotAxisBuilder

    Border(Action<PivotViewPivotChartAxisLabelBorderBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder Border(Action<PivotViewPivotChartAxisLabelBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisLabelBorderBuilder> border
    Returns
    Type
    PivotViewPivotAxisBuilder

    Coefficient(Double)

    Allows to set the polar radar radius position.

    Declaration
    public PivotViewPivotAxisBuilder Coefficient(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PivotViewPivotAxisBuilder

    CrosshairTooltip(PivotViewPivotChartAxisCrosshairTooltip)

    Allows options to customize the crosshair ToolTip.

    Declaration
    public PivotViewPivotAxisBuilder CrosshairTooltip(PivotViewPivotChartAxisCrosshairTooltip value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisCrosshairTooltip value
    Returns
    Type
    PivotViewPivotAxisBuilder

    CrosshairTooltip(Action<PivotViewPivotChartAxisCrosshairTooltipBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder CrosshairTooltip(Action<PivotViewPivotChartAxisCrosshairTooltipBuilder> crosshairTooltip)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisCrosshairTooltipBuilder> crosshairTooltip
    Returns
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    Interval(Double)

    Allows to set the interval for an axis.

    Declaration
    public PivotViewPivotAxisBuilder Interval(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    LabelFormat(String)

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    LabelStyle(PivotViewPivotChartAxisFont)

    Allows options to customize the axis label.

    Declaration
    public PivotViewPivotAxisBuilder LabelStyle(PivotViewPivotChartAxisFont value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisFont value
    Returns
    Type
    PivotViewPivotAxisBuilder

    LabelStyle(Action<PivotViewPivotChartAxisFontBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder LabelStyle(Action<PivotViewPivotChartAxisFontBuilder> labelStyle)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisFontBuilder> labelStyle
    Returns
    Type
    PivotViewPivotAxisBuilder

    LineStyle(PivotViewPivotChartAxisAxisLine)

    Allows options for customizing axis lines.

    Declaration
    public PivotViewPivotAxisBuilder LineStyle(PivotViewPivotChartAxisAxisLine value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisAxisLine value
    Returns
    Type
    PivotViewPivotAxisBuilder

    LineStyle(Action<PivotViewPivotChartAxisAxisLineBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder LineStyle(Action<PivotViewPivotChartAxisAxisLineBuilder> lineStyle)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisAxisLineBuilder> lineStyle
    Returns
    Type
    PivotViewPivotAxisBuilder

    MajorGridLines(PivotViewPivotChartAxisMajorGridLines)

    Allows options for customizing major grid lines.

    Declaration
    public PivotViewPivotAxisBuilder MajorGridLines(PivotViewPivotChartAxisMajorGridLines value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisMajorGridLines value
    Returns
    Type
    PivotViewPivotAxisBuilder

    MajorGridLines(Action<PivotViewPivotChartAxisMajorGridLinesBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder MajorGridLines(Action<PivotViewPivotChartAxisMajorGridLinesBuilder> majorGridLines)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisMajorGridLinesBuilder> majorGridLines
    Returns
    Type
    PivotViewPivotAxisBuilder

    MajorTickLines(PivotViewPivotChartAxisMajorTickLines)

    Allows options for customizing major tick lines.

    Declaration
    public PivotViewPivotAxisBuilder MajorTickLines(PivotViewPivotChartAxisMajorTickLines value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisMajorTickLines value
    Returns
    Type
    PivotViewPivotAxisBuilder

    MajorTickLines(Action<PivotViewPivotChartAxisMajorTickLinesBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder MajorTickLines(Action<PivotViewPivotChartAxisMajorTickLinesBuilder> majorTickLines)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisMajorTickLinesBuilder> majorTickLines
    Returns
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    MinorGridLines(PivotViewPivotChartAxisMinorGridLines)

    Allows options for customizing minor grid lines.

    Declaration
    public PivotViewPivotAxisBuilder MinorGridLines(PivotViewPivotChartAxisMinorGridLines value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisMinorGridLines value
    Returns
    Type
    PivotViewPivotAxisBuilder

    MinorGridLines(Action<PivotViewPivotChartAxisMinorGridLinesBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder MinorGridLines(Action<PivotViewPivotChartAxisMinorGridLinesBuilder> minorGridLines)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisMinorGridLinesBuilder> minorGridLines
    Returns
    Type
    PivotViewPivotAxisBuilder

    MinorTickLines(PivotViewPivotChartAxisMinorTickLines)

    Allows options for customizing minor tick lines.

    Declaration
    public PivotViewPivotAxisBuilder MinorTickLines(PivotViewPivotChartAxisMinorTickLines value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisMinorTickLines value
    Returns
    Type
    PivotViewPivotAxisBuilder

    MinorTickLines(Action<PivotViewPivotChartAxisMinorTickLinesBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder MinorTickLines(Action<PivotViewPivotChartAxisMinorTickLinesBuilder> minorTickLines)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisMinorTickLinesBuilder> minorTickLines
    Returns
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    StripLines(Action<PivotViewStripLineBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder StripLines(Action<PivotViewStripLineBuilder> stripLines)
    Parameters
    Type Name Description
    System.Action<PivotViewStripLineBuilder> stripLines
    Returns
    Type
    PivotViewPivotAxisBuilder

    StripLines(List<PivotViewStripLine>)

    Allows to set the stripLine collection for the axis

    Declaration
    public PivotViewPivotAxisBuilder StripLines(List<PivotViewStripLine> value)
    Parameters
    Type Name Description
    System.Collections.Generic.List<PivotViewStripLine> value
    Returns
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    Title(String)

    Allows to set the title of an axis.

    Declaration
    public PivotViewPivotAxisBuilder Title(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    PivotViewPivotAxisBuilder

    TitleStyle(PivotViewPivotChartAxisFont)

    Allows options for customizing the axis title.

    Declaration
    public PivotViewPivotAxisBuilder TitleStyle(PivotViewPivotChartAxisFont value)
    Parameters
    Type Name Description
    PivotViewPivotChartAxisFont value
    Returns
    Type
    PivotViewPivotAxisBuilder

    TitleStyle(Action<PivotViewPivotChartAxisFontBuilder>)

    Declaration
    public PivotViewPivotAxisBuilder TitleStyle(Action<PivotViewPivotChartAxisFontBuilder> titleStyle)
    Parameters
    Type Name Description
    System.Action<PivotViewPivotChartAxisFontBuilder> titleStyle
    Returns
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder

    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
    Type
    PivotViewPivotAxisBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved