Opened 6 years ago

Last modified 2 years ago

#16803 assigned enhancement

Support for donut charts

Reported by: Veneti Owned by: dylan
Priority: undecided Milestone: 1.15
Component: Charting Version:
Keywords: Cc:
Blocked By: Blocking:

Description

Extending charting module by adding support for donut (doughnut) type of charts, special type of pie chart. Examples:

Attachments (2)

Donut.js (18.5 KB) - added by digambarvs 5 years ago.
Donut JS
pie.html (1.7 KB) - added by digambarvs 5 years ago.
Example Code

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by digambarvs

Attachment: Donut.js added

Donut JS

Changed 5 years ago by digambarvs

Attachment: pie.html added

Example Code

comment:1 Changed 5 years ago by digambarvs

Dear elazutkin,

Please find the attachement for Donut chart,

The code is copy paste of Pie chart , and been modified where the slice drawing logic is written.

Hope this code is of required standards for dojox distribution.

--- Digambar Sangavkar

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: changed from Eugene Lazutkin to dylan
Status: newassigned
Type: featureenhancement

Sorry this took so long, I will review and hopefully land for Dojo 1.12.

comment:3 Changed 2 years ago by Claude Guyomard

Hello,

Just like Digambar Sangavkar, we were interested in a Donut plot. We started by superposing 2 Pies. But finally we extended dojox/Pie and overrode render() in order that the background color can be visible at the center and real arc shapes replaced the circle shape.

Other things we implemented : inner disk text, inner disk event support.

Because our render() method is an adapted copy-paste of the big render() method. We are still interested in a dojox/Donut.

Thanks

comment:4 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.