Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AxisTitle

Style settings of the Axis title

Hierarchy

Index

Properties

backgroundColor?: Color

The background color of the displayed text.

color?: Color

The color of the displayed text.

fontFamily?: string

The family of the font. If not set, it inherits the root style font family.

fontSize?: Length

The size of the font. Percentage values are relative to the root style font size

fontStyle?: "normal" | "italic" | "oblique"

The style of the font.

fontWeight?: number | "normal" | "bold"

The weight of the font, numbers use the same scale as CSS.

maxFractionDigits?: number

The maximum number of digits in fraction part if the text contains a number.

numberFormat?: "none" | "grouped" | "prefixed"

The format of the number. Only applicable for texts showing numerical data such as marker and axis labels. 'grouped' uses thousand separators, 'prefixed' uses scientific notation.

orientation?: "horizontal" | "vertical"

The orientation of the title.

paddingBottom?: Length

Bottom padding of the element.

paddingLeft?: Length

Left padding of the element.

paddingRight?: Length

Right padding of the element.

paddingTop?: Length

Top padding of the element.

position?: "axis" | "max-edge" | "min-edge"

Title position relatively to the plot.

side?: "positive" | "negative" | "upon"

Title alignment relatively to the position on the plot.

textAlign?: "center" | "left" | "right"

The alignment of the displayed text.

vposition?: "begin" | "middle" | "end"

Title position on the axis or edge.

vside?: "positive" | "negative" | "upon"

Title alignment on the axis or edge.

Generated using TypeDoc