Evert Timberg
80bd08bef9
Update chartColors.js to utils.js and move randomScalingFactor function there
2016-10-23 16:33:25 -05:00
etimberg
9ad9cd2154
Reorganized sample files into sub directories. Added a helper containing colours that should be used by all samples.
...
I added new samples to explain behaviour and modified all samples to have consistent styling. In updating the samples,
I removed the use of jQuery and instead use standard methods.
For the custom tooltip samples, I updated the styling to show color boxes like the regular tooltips.
2016-10-23 16:33:25 -05:00
Simon Brunel
d610987cfb
Fix radar default aspect ratio and samples
...
Now that the aspect ratio is correctly handled, fix samples for charts with aspect ratio of 1 which was vertically too large. Also fix the default aspect ratio for radar charts which wasn't applied when creating a chart directly using new Chart(ctx, { type: 'radar' }).
2016-09-23 17:47:36 +02:00
Evert Timberg
03fb66751f
Make animation options consistent for polar area and doughnut charts ( #2342 )
...
* Make animation options consistent and fix an issue when `animateRotate === false` in the polar area chart
* Update docs for moved options
* Fix typo
2016-04-27 16:07:21 -05:00
Ville Hämäläinen
04fe614800
fix title
2016-02-28 10:16:09 +02:00
Ville Hämäläinen
2977c8eb9c
improve doughnut sample
...
- set title
- set same size canvas as other samples
- remove user select from canvas
- remove html legend
- remove logs
2016-02-28 10:15:18 +02:00
Tanner Linsley
c5020c3e5a
Updated Samples
2016-02-11 23:45:25 -07:00
Evert Timberg
bffbaf6b37
Generate label strings using an option function. This allows new chart types to override
2015-12-06 12:53:45 -05:00
Evert Timberg
792ee587ae
Split legend and title block functionality into 2 separate blocks. This allows the title to be on the top of the chart while the legend is on the bottom
2015-12-06 10:20:38 -05:00
Evert Timberg
744e1429b9
Label polar area and doughnut datasets
2015-12-04 20:32:18 -05:00
Evert Timberg
d8704ee37d
Add legends to sample files
2015-12-03 22:03:39 -05:00
etimberg
471a5f5aaa
Doughnut, polar area, and radar samples should use the same canvas style
2015-11-11 19:06:36 -05:00
Evert Timberg
0d2fa807da
Update samples with some hidden datasets
2015-10-07 19:54:53 -04:00
Evert Timberg
029aad4f35
Update samples to no longer use old functions and instead modify the data directly
2015-09-21 21:00:58 -04:00
Evert Timberg
925e305184
Doughnut legends (only makes sense for first dataset).
2015-07-05 14:56:22 -04:00
Evert Timberg
46af76a8ed
addData is now supported by the doughnut chart + updated the sample to match.
2015-06-19 19:51:28 -04:00
Evert Timberg
271d37f572
Update radar sample + use the same colour functions in all samples
2015-06-16 22:21:40 -04:00
Evert Timberg
fd7a4e9bd7
Update doughnut sample to support adding and removing datasets
2015-06-16 22:12:59 -04:00
Tanner Linsley
74f161b548
Core improvements, arc & doughnut partially working
2015-06-15 19:14:11 -06:00
Tanner Linsley
235247eb12
example fixes
2015-06-03 15:18:42 -06:00
Tanner Linsley
9be48a73ea
Pie Chart
2015-06-03 14:14:23 -06:00
Evert Timberg
12e2ace039
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/v2.0dev-xy
...
Conflicts:
src/Chart.Core.js
Fixed the sample files & chart type initialize methods so that this.data does not get set to undefined.
2015-05-20 09:03:22 -04:00
Tanner Linsley
ad972a0c5c
Pie cleanup.
2015-05-15 22:45:17 -06:00
Tanner Linsley
872c92cd4b
Doughnut/Pie Chart refactor
2015-05-15 22:34:08 -06:00
Tanner Linsley
1d8d19d404
Prettified, and half way through doughut
2015-05-15 20:54:01 -06:00
Tanner Linsley
026611110a
Updated Samples
...
Samples now include a “Randomize Data” button which utilizes the latest
changes.
2015-01-08 10:13:14 -07:00
Nick Downie
94f22b656e
Add in new chart samples
2014-06-29 18:36:04 +01:00
Nick Downie
d30edc1b8d
Cleared up folder structure
2013-03-25 19:25:57 +00:00