menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class PivotViewPivotAxis

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    PivotViewPivotAxis
    ChartSettingsPrimaryYAxisChartSettings
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewPivotAxis : EJTagHelper

    Constructors

    PivotViewPivotAxis()

    Declaration
    public PivotViewPivotAxis()

    Properties

    Border

    Allows to set the border of the multi level labels.

    Declaration
    public PivotViewPivotChartAxisLabelBorder Border { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisLabelBorder

    The default value is null

    Coefficient

    Allows to set the polar radar radius position.

    Declaration
    public double Coefficient { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 100

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    CrosshairTooltip

    Allows options to customize the crosshair ToolTip.

    Declaration
    public PivotViewPivotChartAxisCrosshairTooltip CrosshairTooltip { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisCrosshairTooltip

    The default value is null

    Description

    Allows to set the description for axis and its element.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    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 object EdgeLabelPlacement { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    EnableTrim

    Allows to set the Trim property for an axis.

    Declaration
    public bool EnableTrim { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Interval

    Allows to set the interval for an axis.

    Declaration
    public double Interval { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    IsIndexed

    Allows to specify the indexed category to the axis.

    Declaration
    public bool IsIndexed { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    IsInversed

    Allows to specify whether the axis to be rendered in inversed manner or not.

    Declaration
    public bool IsInversed { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    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 Description
    System.String

    The default value is ""

    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 object LabelIntersectAction { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    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 object LabelPlacement { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    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 object LabelPosition { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    LabelRotation

    Allows to set the angle to which the axis label gets rotated.

    Declaration
    public double LabelRotation { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    LabelStyle

    Allows options to customize the axis label.

    Declaration
    public PivotViewPivotChartAxisFont LabelStyle { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisFont

    The default value is null

    LineStyle

    Allows options for customizing axis lines.

    Declaration
    public PivotViewPivotChartAxisAxisLine LineStyle { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisAxisLine

    The default value is null

    MajorGridLines

    Allows options for customizing major grid lines.

    Declaration
    public PivotViewPivotChartAxisMajorGridLines MajorGridLines { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisMajorGridLines

    The default value is null

    MajorTickLines

    Allows options for customizing major tick lines.

    Declaration
    public PivotViewPivotChartAxisMajorTickLines MajorTickLines { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisMajorTickLines

    The default value is null

    Maximum

    Allows to set the maximum range of an axis.

    Declaration
    public object Maximum { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    MaximumLabelWidth

    Allows to set the maximum width of an axis label.

    Declaration
    public double MaximumLabelWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 34

    Minimum

    Allows to set the minimum range of an axis.

    Declaration
    public object Minimum { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    MinorGridLines

    Allows options for customizing minor grid lines.

    Declaration
    public PivotViewPivotChartAxisMinorGridLines MinorGridLines { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisMinorGridLines

    The default value is null

    MinorTickLines

    Allows options for customizing minor tick lines.

    Declaration
    public PivotViewPivotChartAxisMinorTickLines MinorTickLines { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisMinorTickLines

    The default value is null

    MinorTicksPerInterval

    Allows to set the number of minor ticks per interval.

    Declaration
    public double MinorTicksPerInterval { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    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 Description
    System.Boolean

    The default value is false

    PlotOffset

    Allows to set the left and right padding for the plot area in pixels.

    Declaration
    public double PlotOffset { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    StartAngle

    Allows to set the start angle for the series.

    Declaration
    public double StartAngle { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    StripLines

    Allows to set the stripLine collection for the axis

    Declaration
    public List<PivotViewStripLine> StripLines { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<PivotViewStripLine>

    The default value is null

    TabIndex

    Allows to set the tabindex value for the axis.

    Declaration
    public double TabIndex { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 2

    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 object TickPosition { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Title

    Allows to set the title of an axis.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    TitleStyle

    Allows options for customizing the axis title.

    Declaration
    public PivotViewPivotChartAxisFont TitleStyle { get; set; }
    Property Value
    Type Description
    PivotViewPivotChartAxisFont

    The default value is null

    Visible

    If set to true, axis label will be visible.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    ZoomFactor

    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 double ZoomFactor { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved