ludo.chart.PieSliceHighlighted

ludo.chart.


new ludo.chart.PieSliceHighlighted(config)

Add-on for Pie chart. This add-on highlights slices in a pie chart by showing a larger slice behind
current highlighted chart slice.
See {{#crossLink "chart/Pie"}}{{/crossLink}} for example of use.

Parameters:
Name Type Description
config Object
Properties
Name Type Description
styles. Object

Example:

styles:{
'fill' : '#f00'
}

size Number

Highlight size, default: 5

Source:
Example
{
        type:'pie.Chart',
        plugins:[
            {
                type:'chart.PieSliceHighlighted',
                size : 5,
                styles:{
                    'fill' : '#aabbcc'
                }
            }
        ]
        ...
        ...
    }