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'
    }
  },
  ...
}
        

AttributeTypeInfo

decimals

Numeric

xxx

0 | 1 |2 | ...

font-color fontColor

Mixed

To set the font color.

'gray' | '#666699' | ...

font-family fontFamily

String

To set the font family.

'Arial' | 'Georgia' | ...

font-size fontSize

Numeric

To set the font size.

30 | 24 | 16 | ...

font-style fontStyle

String

To set the font style.

'normal' | 'italic'

font-weight fontWeight

String

To set the font weight.

'normal' | 'bold'

visible

Boolean

To set the visibility of the object.

true | false