Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#18076 closed enhancement (fixed)

[PATCH][CLA]Improve Pie chart rendering and features.

Reported by: Jared Jurkiewicz Owned by:
Priority: undecided Milestone: 1.12
Component: Charting Version: 1.10.0-beta1
Keywords: Cc:
Blocked By: Blocking:

Description

The pie chart has numerous issues with how it renders, particularly when column labels are used (the whisker lines). I have worked with Eugene Lazukin on an improved Pie plot that adds in the following:

  • Dynamic radius calculation to handle the column labels better.
  • Better handling of passing in no data, it renders an empty pie circle with an optional label.
  • The ability to set a minimum 'width' on a slice, so that super small slices do not get collapsed out of the pie view. This is particularly helpful when you want to hover the small slice to get additional information.
  • Several bugfixes in general with how Colum labels draw.
  • The ability to have it render like the currently popular 'donut' by specifying an inner radius.

Note: minWidth and inner radius all default to 0, so it renders as it always has. These are optional plot functions that can be enabled as plot params, or in the case of the inner radius, it can be handled as a theme addition. Pull request forthcoming.

Change History (9)

comment:1 Changed 5 years ago by Jared Jurkiewicz

When I can figure out how to merge the changes in, that is. The Pie plot now is considerably different from when this implementation was done.

comment:3 Changed 5 years ago by Jared Jurkiewicz

Summary: Improve Pie chart rendering and features.[[PATCH][CLA]]Improve Pie chart rendering and features.

comment:4 Changed 5 years ago by Jared Jurkiewicz

Summary: [[PATCH][CLA]]Improve Pie chart rendering and features.[PATCH][CLA]Improve Pie chart rendering and features.

comment:5 Changed 4 years ago by dylan

Milestone: tbd1.12

comment:6 Changed 3 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.

comment:8 Changed 3 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

comment:9 Changed 3 years ago by Jared Jurkiewicz

Milestone: 1.151.12
Note: See TracTickets for help on using tickets.