-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pie doughnut dataset weight #5951
Pie doughnut dataset weight #5951
Commits on Jan 2, 2019
-
Added functionality to give pie & doughnut datasets a weight attribute.
Weight affects the relative thickness of the dataset when there are multiple datasets in pie & doughnut charts. The default weight of each dataset is 1. Providing any other numerical value will allow the pie or doughnut dataset to be drawn with a thickness relative to its default size. For example a weight of 2 will allow the dataset to be drawn double its typical dataset thickness. NOTE: The weight attribute will only have an affect on a pie or doughnut chart if there is more than one visible dataset. Using weight on a pie or doughnut dataset when there is only one dataset on the chart will have no affect.
Configuration menu - View commit details
-
Copy full SHA for dc8a10f - Browse repository at this point
Copy the full SHA dc8a10fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c2f11e - Browse repository at this point
Copy the full SHA 1c2f11eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a977196 - Browse repository at this point
Copy the full SHA a977196View commit details
Commits on Jan 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f351884 - Browse repository at this point
Copy the full SHA f351884View commit details
Commits on Jan 4, 2019
-
made changes as suggested by benmccann.
- added back getRingIndex function to doughnut controller. - moved getVisibleDatasetTotalWeight from the base controller file to the doughnut controller. - removed parentheses from the chartWeight assignment statement. - Also, slightly renamed the new functions
Configuration menu - View commit details
-
Copy full SHA for eeb3f10 - Browse repository at this point
Copy the full SHA eeb3f10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83afbc6 - Browse repository at this point
Copy the full SHA 83afbc6View commit details -
made the new doughnut methods private and made suggested code
simplicfications.
Configuration menu - View commit details
-
Copy full SHA for 66767c3 - Browse repository at this point
Copy the full SHA 66767c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e442a73 - Browse repository at this point
Copy the full SHA e442a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5647b78 - Browse repository at this point
Copy the full SHA 5647b78View commit details
Commits on Jan 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for aab7d6c - Browse repository at this point
Copy the full SHA aab7d6cView commit details
Commits on Jan 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3fa2243 - Browse repository at this point
Copy the full SHA 3fa2243View commit details
Commits on Jan 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ccb5bd4 - Browse repository at this point
Copy the full SHA ccb5bd4View commit details
Commits on Jan 18, 2019
-
update to allow a weight of 0, treat negative weights as 0, and
prevent div/0 err when a 0 is returned by _getVisibleDatasetWeightTotal
Configuration menu - View commit details
-
Copy full SHA for 78aacf2 - Browse repository at this point
Copy the full SHA 78aacf2View commit details
Commits on Jan 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9b03ca4 - Browse repository at this point
Copy the full SHA 9b03ca4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d28307 - Browse repository at this point
Copy the full SHA 0d28307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 919206f - Browse repository at this point
Copy the full SHA 919206fView commit details -
Merged changes form ChartJs repository into my local git branch pie-d…
…oughnut-dataset-weight
Configuration menu - View commit details
-
Copy full SHA for 6affa67 - Browse repository at this point
Copy the full SHA 6affa67View commit details
Commits on Feb 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8dd7034 - Browse repository at this point
Copy the full SHA 8dd7034View commit details
Commits on Feb 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2ca836e - Browse repository at this point
Copy the full SHA 2ca836eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94bbb9b - Browse repository at this point
Copy the full SHA 94bbb9bView commit details
Commits on Feb 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 619f667 - Browse repository at this point
Copy the full SHA 619f667View commit details