MENU
.net Powerful JavaScript charts

I have a question about the 3D Bar chart

Post a reply

Posted by Rachel at 14:34 on Tuesday 16th June 2026 [link]
hello

do the 3d bar charts use webgl?

Posted by Richard at 16:51 on Tuesday 16th June 2026 [link]
They don't, because WebGL is rather complicated and would add a lot of code to the Bar chart library for not a whole lot of gain in my opinion.

Thefore, The 3D Bar chart is created by skewing the canvas using a transformation and then adding the extra faces of the bars manually.

Other 3D charts use the same technique, except for the 3D Pie and Rose charts, which stretch the canvas horizontally and then repeatedly draw the Pie/Rose, each time offsetting the centre Y-coordinate a little to give the illusion of depth.

Post a reply

What's your name?
What do you want to say?