PDA

View Full Version : Pie chart orientation and order



jlawton
6 May 2013, 9:13 AM
Currently the pie charts in ExtJs (4.2) start centered at the 3 o'clock position and are ordered in a counter-clockwise direction:

43572
For my application, I need them to start at the 12 o'clock position, and be ordered clock-wise:

43573

Is there any easy way to do this? I'm assuming there isn't. But if someone could point me in the right direction I'd appreciate it.

Thanks

slemmon
7 May 2013, 9:23 PM
The framework doesn't have an elective config to choose where the data points are rendered on the pie chart. I suspect you'd need to dig into the Pie Series class and do some surgery in there to be able to elect where the pie series 'starts'.