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' } }, ... }
Attribute | Type | Description |
---|---|---|
decimals | Number | Sets the number of decimal places displayed for each value. Introduced in: v2.3.3 Chart types: Donut Chart,Mobile Chart,Pie |
fontColor font-color | String | Sets the font color of the object. Introduced in: v2.3.3 Chart types: Donut Chart,Mobile Chart,Pie |
fontFamily font-family | String | Sets the font family of the object. Chart types: Donut Chart,Mobile Chart,Pie |
fontSize font-size | Number | Sets the font size of the object. Introduced in: v2.3.3 Chart types: Donut Chart,Mobile Chart,Pie |
fontStyle font-style | String | Sets 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, String | Sets 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 |
visible | Boolean | Sets the visibility of the object. Introduced in: v2.3.3 Chart types: Donut Chart,Mobile Chart,Pie |