graph » options » indicator » title

indicator title

[ root » graph » options » indicator » title ]

Mobile Charts Plugin users only: Use the title object to customize the indicator title on pie and donut charts. Refer to the Mobile Charts Tutorial for more information.

options: {
  indicator: { //Pie/Donut Only: Mobile Indicator
    title: {
      visible: true,
      fontSize: 36,
      fontColor: 'red',
      fontFamily: 'Georgia',
      fontWeight: 'bold',
      fontStyle: 'italic'
    }
  },
  ...
}


AttributeTypeDescription
fontColor
font-color
StringSets the font color of the object.
Introduced in: v2.3.3
Chart types: Donut Chart,Mobile Chart,Pie
fontFamily
font-family
StringSets the font family of the object.
Chart types: Donut Chart,Mobile Chart,Pie
fontSize
font-size
NumberSets the font size of the object.
Introduced in: v2.3.3
Chart types: Donut Chart,Mobile Chart,Pie
fontStyle
font-style
StringSets the text's font style.
Accepted Values: ['normal', 'italic', 'oblique', 'none']
Default Value: 'normal'
Introduced in: v2.3.3
Chart types: Donut Chart,Mobile Chart,Pie
fontWeight
font-weight
Number, StringSets the text's font weight.
Accepted Values: ['bold', 'none', 'normal', `${string}`]
Default Value: 'normal'
Introduced in: v2.3.3
Chart types: Donut Chart,Mobile Chart,Pie
visibleBooleanSets the visibility of the object.
Introduced in: v2.3.3
Chart types: Donut Chart,Mobile Chart,Pie