graph » options » indicator » npv

npv

[ root » graph » options » indicator » npv ]

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

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


AttributeTypeDescription
decimalsNumberSets the number of decimal places displayed for each value.
Introduced in: v2.3.3
Chart types: Donut Chart,Mobile Chart,Pie
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