HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.45k stars 528 forks source link

Option to add a bevel to a pie chart #162

Open fiznool opened 11 years ago

fiznool commented 11 years ago

Example:

Provide an extra Flotr option in the pie section:

pie: {
  bevel: {
    stop: 0.92,
    color: '#8C8B90'
  },
}

This option will blend from the default segment colour into the specified bevel colour, from the stop point to the outer edge of the chart.

Pie chart with bevelling