Subtitle Plugin
Reference External Link
Subtitle is a second title placed under the main title, by default. It has exactly the same configuration options with the main title.
Namespace:
options.plugins.subtitle
.Options(o => o
.Plugins(p => p
.Subtitle(t => t
.Text("Chart Title")
.Color("green")
.Position(TitlePosition.Top))))Align
Alignment of the title. default 'center'
.Align(TitleAlign.Center)Color
Color of text.
.Color("rgb(75, 192, 192)")Display
Is the title shown? default false
.Display(true)FullSize
Marks that this box should take the full width/height of the canvas. If false, the box is sized and placed above/beside the chart area. default false.
.FullSize(true)Position
Position of title. default 'top'
.Position(TitlePosition.Top)Font
See font configuration.
.Font(f => f.Size(10))Padding
Padding around the title.
.Padding(5)See padding configuration.
.Padding(p => p.Top(5).Bottom(10))Text
The string title.
.Text("Chart Title")Define multiple title.
.Text("Title 1", "Title 2")