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
11345b6c89
Polar area controller improvements
2016-05-30 21:42:15 -04: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
595464fc7e
improve polar-area sample
...
- set title
- set same size canvas as other samples
- remove user select from canvas
2016-02-28 10:03:43 +02:00
Tanner Linsley
c5020c3e5a
Updated Samples
2016-02-11 23:45:25 -07: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
wcatron
a0377362d7
Update remainder of tables for radar, polar, and pie.
2015-11-23 19:32:38 -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
029aad4f35
Update samples to no longer use old functions and instead modify the data directly
2015-09-21 21:00:58 -04:00
Jan Kalina
ef539bf4a7
Reverse scale on radar/polar area
2015-09-02 23:21:39 +02:00
Evert Timberg
84aba3f6d3
Polar area legends
2015-07-05 14:48:04 -04:00
Tanner Linsley
8cecd5935e
Tooltip Title width now accurately measured
2015-06-19 12:36:22 -06:00
Evert Timberg
056b9550d0
Create interfaces similar to the old interfaces. Ensure that scales always have IDs before controllers are built.
2015-06-16 19:20:26 -04:00
Tanner Linsley
db981807bb
Polar Area Draws, but has scale resizing issues
2015-06-16 00:39:04 -06:00
Tanner Linsley
1f302f09bb
Fixed polar-area sample
2015-06-16 00:20:46 -06:00
Tanner Linsley
b3b5896329
Polar Area
2015-06-03 14:45:40 -06:00
Tanner Linsley
3a32144d89
Polar Area deep data
2015-05-26 22:02:41 -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
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