Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • _AxisBase
    • AxisBase

Index

Constructors

constructor

  • Returns AxisBase

Properties

autoGridCount

autoGridCount: boolean

Specifies whether number of gridCount is specified automatically, acoarding to the axis size.

default

true

axisAlpha

axisAlpha: number

Axis opacity. Value range is 0 - 1.

default

1

axisColor

axisColor: string

Axis color. #000000

axisThickness

axisThickness: number

Thickness of the axis.

default

1

color

color: string

Color of axis value labels. Will use chart's color if not set.

dashLength

dashLength: number

Length of a dash. 0 means line is not dashed.

fillAlpha

fillAlpha: number

Fill opacity. Every second space between grid lines can be filled with color. Set fillAlpha to a value greater than 0 to see the fills.

fillColor

fillColor: string

Fill color. Every second space between grid lines can be filled with color. Set fillAlpha to a value greater than 0 to see the fills.

default

"#FFFFFF"

fontSize

fontSize: string

Size of value labels text. Will use chart's fontSize if not set.

gridAlpha

gridAlpha: number

Opacity of grid lines. 0.2

gridColor

gridColor: string

Color of grid lines. #000000

gridCount

gridCount: number

Number of grid lines. In case this is value axis, or your categoryAxis parses dates, the number is approximate. The default value is 5. If you set autoGridCount to true, this property is ignored.

default

5

gridThickness

gridThickness: number

Thickness of grid lines.

default

1

guides

guides: any[]

The array of guides belonging to this axis.

ignoreAxisWidth

ignoreAxisWidth: boolean

If autoMargins of a chart is set to true, but you want this axis not to be measured when calculating margin, set ignoreAxisWidth to true.

inside

inside: boolean

Specifies whether values should be placed inside or outside plot area.

labelFrequency

labelFrequency: number

Frequency at which labels should be placed. Doesn't work for CategoryAxis if parseDates is set to true.

default

1

labelRotation

labelRotation: number

Rotation angle of a label. Only horizontal axis' values can be rotated. If you set this for vertical axis, the setting will be ignored.

labelsEnabled

labelsEnabled: boolean

Specifies whether axis displays category axis' labels and value axis' values.

default

true

offset

offset: number

The distance of the axis to the plot area, in pixels. Negative values can also be used.

position

position: string

Possible values are: "top", "bottom", "left", "right". If axis is vertical, default position is "left". If axis is horizontal, default position is "bottom".

showFirstLabel

showFirstLabel: boolean

Whether to show first axis label or not.

default

true

showLastLabel

showLastLabel: boolean

Whether to show last axis label or not.

default

true

tickLength

tickLength: number

Length of the tick marks.

default

5

title

title: string

Title of the axis.

titleBold

titleBold: boolean

Specifies if title should be bold or not.

default

true

titleColor

titleColor: string

Color of axis title. Will use text color of chart if not set any.

titlefontSize

titlefontSize: string

Font size of axis title. Will use font size of chart plus two pixels if not set any.

Methods

addGuide

  • addGuide(guide: default): void
  • Adds guide to the axis.

    Parameters

    • guide: default

    Returns void

removeGuide

  • removeGuide(guide: default): void
  • Removes guide from the axis.

    Parameters

    • guide: default

    Returns void

Generated using TypeDoc