Jukka Kurkela
29de4aff21
Don't use deprecated options in tests ( #6609 )
2019-10-27 09:15:53 -04:00
Ben McCann
21da5be3c6
Fix horizontalBar deprecation warnings ( #6603 )
...
Fix horizontalBar deprecation warnings
2019-10-26 12:48:48 -04:00
Jukka Kurkela
333118bff6
Hover styling for dataset in 'dataset' mode ( #6527 )
...
* Hover styling for dataset in 'dataset' mode
2019-10-25 13:22:37 -04:00
Ben McCann
9ff1c845f2
Bar options should not be defined on scale ( #6249 )
...
* Bar options should not be defined on scale
* Improve minimization
* Add tests
* Multiple datasets in test
2019-10-25 12:17:41 -04:00
Ben McCann
f606c23f2f
Fix unit determination when autoSkip is enabled ( #6583 )
2019-10-24 19:21:45 -04:00
Jukka Kurkela
6b6f1a4c51
Implement dataset.order
( #6268 )
...
Allow sorting datasets based on the `order` property
2019-10-22 19:14:54 -04:00
Jukka Kurkela
d3860137fe
Fix logarighmic test to use correct scale ( #6580 )
2019-10-19 16:17:57 -04:00
Ben McCann
69a5082bd6
Make autoskip aware of major ticks ( #6509 )
...
* Make autoskip aware of major ticks
* Address review comments
* Fix codeclimate warning
* Add test for major and minor tick autoskipping
* Revert change for determining _majorUnit and fix sample
2019-10-19 16:13:04 -04:00
Ben McCann
ce8ee02ccd
Reduce indentation by reversing if check ( #6497 )
2019-09-07 10:56:15 -04:00
Ben McCann
df9e2d00bd
Html dom building ( #6490 )
...
Replaces #6179 and builds HTML legend strings using dom nodes rather than building up an HTML string directly.
2019-09-07 07:19:17 -04:00
Akihiko Kusanagi
626d8cc714
Draw the rightmost grid line when offsetGridLines is true ( #6326 )
...
* Draw the rightmost grid line when offsetGridLines is true
* Refactor based on feedback
* Replace helpers.each with for loop
* Minor refactoring
* Refactor _computeItemsToDraw
2019-07-18 18:25:33 -04:00
Jukka Kurkela
cbace1cfe2
Handle reverse support in core.scale ( #6343 )
...
* Move log10 from core.helpers to helpers.math
* Refactor scales
2019-07-15 17:20:16 -04:00
Ben McCann
dd6e007ac1
Add helpers.math._factorize ( #6360 )
...
* Add helpers.math._factorize
* Remove duplicate test statement
2019-07-02 18:22:47 -04:00
Ben McCann
d480e11ea0
Render charts only once in time scale tests ( #6347 )
2019-06-25 18:46:24 -04:00
Akihiko Kusanagi
1c857008a8
Fix getValueForPixel in time scale ( #6328 )
...
* Fix getValueForPixel in time scale
* Minor refactoring
2019-06-22 09:56:31 -04:00
Ben McCann
07109b674b
[performance] replace helpers.each calls with for-loops ( #6301 )
...
* [performance] replace helpers.each calls with for-loops
* Use Math.min/max instead of if statement
* Rename variable
2019-06-22 09:55:46 -04:00
Jukka Kurkela
db6a6d5989
Refactor core.layouts ( #6304 )
2019-06-19 18:08:07 -04:00
Akihiko Kusanagi
d81914ea29
Adjust virtical alignment of tooptip items ( #6292 )
2019-06-19 07:11:48 -04:00
Akihiko Kusanagi
bb5f12ad2a
Support object values for bar charts ( #6323 )
...
* Support object values for bar charts
* Check if null or undefined
* Refactor category scale code
* Make isNullOrUndef global
2019-06-19 07:10:03 -04:00
Akihiko Kusanagi
9eecdf4da1
Update dataset metadata when axisID changes ( #6321 )
2019-06-14 11:34:56 +02:00
Akihiko Kusanagi
bf094c59db
Assign unique scale IDs ( #6291 )
2019-06-09 15:45:12 +08:00
Jukka Kurkela
abbddd1298
Allow specifying labels in time scale options ( #6257 )
2019-05-21 13:36:16 +02:00
Akihiko Kusanagi
200672a787
Apply lineJoin style at the first point in radar charts ( #6269 )
2019-05-20 09:28:09 +02:00
Akihiko Kusanagi
e35b8891ce
Treat 0 as a valid point label for radial scale ( #6279 )
2019-05-16 20:17:46 +02:00
Jukka Kurkela
1686ce0aa7
Apply offset regardless of min/max time scale options ( #6264 )
2019-05-12 16:52:30 +02:00
Ben McCann
707e52a014
Fix determineUnitForFormatting floating point error ( #6259 )
2019-05-10 15:02:30 +02:00
Jukka Kurkela
2a96d83c2c
Implement layers (z-index) for layout items ( #6241 )
2019-05-09 15:54:05 +02:00
Jukka Kurkela
95b9953922
Fix overlapping auto-generated ticks on time scale ( #6115 )
2019-05-09 15:42:00 +02:00
Akihiko Kusanagi
feeda5d034
Make legend appearance consistent with chart elements ( #5621 )
2019-05-09 15:33:19 +02:00
Ben McCann
d6a5ea0d36
Implement per-dataset type (default and per-chart) options ( #5999 )
2019-05-06 22:52:40 +02:00
Jukka Kurkela
58e154c7da
Avoid time related deprecation warnings in tests ( #6246 )
2019-05-06 22:46:22 +02:00
Jukka Kurkela
ddee91eb9f
Fix tooltip title in radar charts ( #6238 )
2019-05-03 15:04:25 +08:00
Jukka Kurkela
1a2a87be3b
Fix arc border with circumference over 2*PI ( #6215 )
2019-04-30 11:34:10 +02:00
Akihiko Kusanagi
0de9fad2b0
Fix tick label rotation and layout issues ( #5961 )
2019-04-30 08:55:04 +02:00
Akihiko Kusanagi
a2ab311fa5
Use the appropriate time format for auto tick generation ( #6182 )
2019-04-26 09:43:36 +02:00
Jukka Kurkela
89af7b1383
Fix missing tooltip value in radar charts ( #6209 )
2019-04-18 22:39:52 +02:00
Akihiko Kusanagi
c457b506b8
Normalize angle for index in radialLinear scale ( #6177 )
2019-04-02 10:25:37 +02:00
Akihiko Kusanagi
14007a912d
Fix ticks.minor and ticks.major configuration issues ( #6102 )
2019-04-02 09:45:34 +02:00
Ben McCann
a43e3b0f08
Specify time scale min and max options in standard manner ( #6097 )
2019-04-02 09:43:26 +02:00
Dave Kichler
07fae6159e
Implement legend.align: 'start', 'center', 'end' ( #6141 )
...
New `options.legend.align`config option for controlling alignment of legend blocks in horizontal/vertical legends.
2019-03-23 10:25:17 +01:00
Janelle deMent
b9290a20de
Make line options scriptable ( #6128 )
2019-03-21 09:06:39 +01:00
Akihiko Kusanagi
86ed35446d
Fix hover animations and optimize pivot() ( #6129 )
2019-03-21 09:03:39 +01:00
Ben McCann
4941aa0217
Improvements to helpers.almostWhole ( #6120 )
2019-03-19 11:42:41 +01:00
Jukka Kurkela
75e76cffe5
Make decimalPlaces private and update CDN links ( #6131 )
2019-03-13 10:36:10 +01:00
Simon Brunel
87a74f99a1
Fix missing Chart.Chart (deprecated) alias ( #6112 )
2019-03-06 09:12:29 +01:00
Jukka Kurkela
0ec3f5569e
Add support for per side border width for rectangle ( #6077 )
2019-02-25 09:03:12 +01:00
Ben McCann
317cae11dc
Ignore invalid log scale min and max ( #6058 )
2019-02-24 10:59:21 +01:00
Jon Rimmer
f3b18373e6
Add onLeave callback to legend ( #6059 )
2019-02-24 10:58:22 +01:00
Ben McCann
f2b099b835
Initialize date adapter with chart options ( #6016 )
2019-02-21 08:11:32 +01:00
Ben McCann
3e18708183
Use datetime
as default time scale tooltip format ( #6019 )
...
Remove the logic that computed an "optimal" tooltip format. Instead, always fallback to the `datetime` adapter format which is more efficient and stable. Additionally, remove the adapter `presets` API, which is not needed anymore.
2019-02-18 19:45:38 +01:00