Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LinearAxis

Represents a linear axis within a cartesian chart. A Linear axis plots its values according to the datapoint relative position between a minimum and a maximum.

Hierarchy

Index

Constructors

constructor

  • Creates an instance of the LinearAxis class.

    Returns LinearAxis

Properties

allowPan

allowPan: boolean

Enables the pan gesture on the axis.

allowZoom

allowZoom: boolean

Enables chart zoom gesture on the axis.

hidden

hidden: boolean

Gets or sets the visibility status of axis.

horizontalLocation

horizontalLocation: ChartAxisHorizontalLocation

Gets or sets the horizontal location of a vertical axis.

id

id: string

Gets or sets the id for this axis.

ios

ios: any

labelFitMode

labelFitMode: ChartAxisLabelFitMode

Gets or sets the fit mode for axis labels.

labelFormat

labelFormat: string

Gets or sets the format of the labels displayed by the axis.

labelLayoutMode

labelLayoutMode: ChartAxisLabelLayoutMode

Gets or sets the layout mode for axis labels.

labelLayoutModeProperty

labelLayoutModeProperty: Property<CartesianAxis, ChartAxisLabelLayoutMode>

Identifies the labelLayoutMode dependency property.

labelMargin

labelMargin: number

Gets or sets the margin of axis label.

labelRotationAngle

labelRotationAngle: number

Gets or sets the rotation angle for axis labels. Requires "Rotation" fit mode for labelFitMode property to be set.

labelSize

labelSize: number

Gets or sets the size of the text labels displayed by the axis.

labelTextColor

labelTextColor: Color

Gets or sets the color of the labels displayed by the chart.

lineColor

lineColor: Color

Gets or sets the color of the axis line.

lineHidden

lineHidden: boolean

Gets or sets if the axis line is hidden.

lineThickness

lineThickness: number

Gets or sets the thickness of the axis line.

majorStep

majorStep: number | ChartAxisDateTimeComponent

Gets or sets major tick mark frequency for the axis. In case of DateTimeContinuousAxis you should use values of type ChartAxisDateTimeComponent.

maximum

maximum: any

Gets or sets a user-defined maximum for the axis. In case of linear axis with numeric values you should use number as a value. In case of DateTimeCategoricalAxis or DateTimeContinuousAxis axis you can specify the minimum value as string in format "dd/MM/yyyy" or with a Date object.

minimum

minimum: any

Gets or sets a user-defined minimum for the axis. In case of linear axis with numeric values you should use number as a value. In case of DateTimeCategoricalAxis or DateTimeContinuousAxis axis you can specify the minimum value as string in format "dd/MM/yyyy" or with a Date object.

ticksColor

ticksColor: Color

Gets or sets the color of the ticks on the axis.

ticksHidden

ticksHidden: boolean

Gets or sets if the ticks on the axis are hidden.

ticksLength

ticksLength: number

Gets or sets the length of the ticks on the axis.

ticksOffset

ticksOffset: number

Gets or sets the offset of the ticks relative to the axis.

ticksThickness

ticksThickness: number

Gets or sets the thickness of the ticks on the axis.

verticalLocation

verticalLocation: ChartAxisVerticalLocation

Gets or sets the vertical location of a horizontal axis.

Static allowPanProperty

allowPanProperty: Property<CartesianAxis, boolean>

Identifies the allowPan dependency property.

Static allowZoomProperty

allowZoomProperty: Property<CartesianAxis, boolean>

Identifies the allowZoom dependency property.

Static hiddenProperty

hiddenProperty: Property<CartesianAxis, boolean>

Identifies the hidden dependency property.

Static horizontalLocationProperty

horizontalLocationProperty: Property<CartesianAxis, ChartAxisHorizontalLocation>

Identifies the horizontalLocation dependency property.

Static idProperty

idProperty: Property<CartesianAxis, string>

Identifies the id dependency property of each axis.

Static labelFitModeProperty

labelFitModeProperty: Property<CartesianAxis, ChartAxisLabelFitMode>

Identifies the labelFitMode dependency property.

Static labelFormatProperty

labelFormatProperty: Property<CartesianAxis, any>

Identifies the labelFormat dependency property.

Static labelMarginProperty

labelMarginProperty: Property<CartesianAxis, any>

Identifies the labelMargin dependency property.

Static labelRotationAngleProperty

labelRotationAngleProperty: Property<CartesianAxis, any>

Identifies the labelRotationAngle dependency property.

Static labelSizeProperty

labelSizeProperty: Property<CartesianAxis, any>

Identifies the labelSize dependency property.

Static labelTextColorProperty

labelTextColorProperty: Property<CartesianAxis, Color>

Identifies the labelTextColor dependency property.

Static lineColorProperty

lineColorProperty: Property<CartesianAxis, Color>

Identifies the lineColor dependency property.

Static lineHiddenProperty

lineHiddenProperty: Property<CartesianAxis, boolean>

Identifies the lineHidden dependency property.

Static lineThicknessProperty

lineThicknessProperty: Property<CartesianAxis, number>

Identifies the lineThickness dependency property.

Static majorStepProperty

majorStepProperty: Property<LinearAxis, number | ChartAxisDateTimeComponent>

Identifies the majorStep dependency property.

Static maximumProperty

maximumProperty: Property<LinearAxis, any>

Identifies the maximum dependency property.

Static minimumProperty

minimumProperty: Property<LinearAxis, any>

Identifies the minimum dependency property.

Static ticksColorProperty

ticksColorProperty: Property<CartesianAxis, Color>

Identifies the ticksLength dependency property.

Static ticksHiddenProperty

ticksHiddenProperty: Property<CartesianAxis, boolean>

Identifies the ticksHidden dependency property.

Static ticksLengthProperty

ticksLengthProperty: Property<CartesianAxis, number>

Identifies the ticksLength dependency property.

Static ticksOffsetProperty

ticksOffsetProperty: Property<CartesianAxis, number>

Identifies the ticksOffset dependency property.

Static ticksThicknessProperty

ticksThicknessProperty: Property<CartesianAxis, number>

Identifies the ticksThickness dependency property.

Static verticalLocationProperty

verticalLocationProperty: Property<CartesianAxis, ChartAxisVerticalLocation>

Identifies the verticalLocation dependency property.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method