Axis Title
Reference External Link
A scale title is the label that appears alongside the axes (scales) of the chart, providing descriptive information about the data represented by that axis. It helps users understand the context of the chart by explaining what the axis values mean.
.Options(o => o
.Scales(s => s
.ScaleId("y")
.BeginAtZero(true)
.Title(t => t
.Display(true)
.Color("#191")
.Text("Value"))))Display
If true, display the axis title. Default false
.Display(true)Align
Alignment of the axis title. Possible options are 'start', 'center' and 'end'. Default 'center'
.Align(TitleAlign.Start)Text
The text for the title. (i.e. "# of People" or "Response Choices").
.Text("Response Choices")The text for the title(s).
.Text("text1", "text2")Color
Color of label. External Link
.Color("#191")Font
See font configuration. Link
.Font(f => f.Family("Helvetica").Size(10))Padding
Padding to apply around scale labels. Only top, bottom and y are implemented. Default 4
.Padding(2)See padding configuration. Link
.Padding(p => p.Top(5).Bottom(10))