Taiga UI 5.0 is out!

Axes ADDON-CHARTS

Examples API GitHub

[centeredXLabels]
Center X labels
boolean
[axisXLabels]
Labels for X. Empty string is empty stroke, null — no stroke
ReadonlyArray<string | null> []
[axisYInset]
Inset of labels on axis Y
boolean
[axisYLabels]
Labels for Y
readonly string[] []
[axisYName]
Name of Y axis
string
[axisYSecondaryInset]
Inset labels for Y
boolean
[axisYSecondaryLabels]
Secondary Y axis labels
readonly string[] []
[axisYSecondaryName]
Secondary Y axis name
string
[horizontalLines]
Horizontal lines number
number
[horizontalLinesHandler]
Horizontal lines type handler
TuiLineHandler ()=>"solid"
[verticalLines]
Number of vertical lines
number
[verticalLinesHandle]
Vertical lines type handler
TuiLineHandler n=>n&&"dashed"||"solid"