PDA

View Full Version : Rounded Corners for Bar chart in Extjs



ajithct
5 Jul 2013, 4:58 AM
Hi All

Can any one help me how to bring rounded corners(top alone) for bar chart in Extjs.

Attached image.

TIA :)

slemmon
8 Jul 2013, 11:39 AM
I don't believe there is a way modify the column's structure minus doing some potentially significant overrrides to the Bar / Column series' private drawSeries method.

LesJ
8 Jul 2013, 1:01 PM
Instead of overriding any chart methods, you could create circle sprites that would shadow the chart's bar sprites. These sprites would have a higher z-index compared to bar sprites and would make the bar sprites appear as if it had round corners.