Evert Timberg
374b7491a3
Allow axes to be centered on the chart area ( #6818 )
...
Allow axes to be centered on the chart area or at a dynamic position based on another axis
2019-12-16 18:17:42 -05:00
Jukka Kurkela
53c6c618c6
Allow pre-parsed data (to scale id's) ( #6768 )
...
* Allow pre-parsed data (to scale id's)
* Only update `count` references in pre-parsed mode
* Documentation
2019-12-06 19:47:00 -05:00
Ben McCann
fb3cad0b94
Assume time series data has been normalized ( #6775 )
...
* Assume time series data has been normalized
* Add sentance to docs
2019-11-23 17:37:32 -05:00
Jukka Kurkela
ce74eb76a1
Convert axis options from arrays to objects ( #6773 )
...
* Convert axis options from arrays to objects
* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs
* Fix additional tests
* Ensure scale defaults are set if type is not explicitly defined
* Another step
* Include `scale` as `firstIDs.r`
* update docs
* Update for buildOrUpdateScales
* Update migration guide
* Add test back
2019-11-21 18:46:49 -05:00
Ben McCann
8f0de52c4e
Remove moment from dependencies ( #6745 )
...
* Remove moment from dependencies
* Remove version number in docs
2019-11-15 13:13:33 -05:00
Jukka Kurkela
7f97adf5a0
Move scale defining options up from ticks
( #6738 )
...
* Move scale defining options up from `ticks`
* Include `ticks.reverse` in v3-migration
2019-11-15 12:11:13 -05:00
Evert Timberg
2354e2ff6b
Allow functions to be specified for scale grid line options ( #6700 )
...
Add scriptable options for scale styling
2019-11-12 07:03:00 -05:00
Evert Timberg
94afa63450
Remove zeroLineIndex functionality ( #6697 )
...
* Remove zeroLineIndex functionality
* Remove docs
* Code review updates
2019-11-07 06:27:49 -05:00
Ben McCann
99811328dc
Make all ticks objects ( #6645 )
...
Make all ticks object
2019-10-31 18:45:13 -04:00
Eliz
17655c7fec
Add label alignment option to axis label title ( #6521 )
...
Add label alignment option to axis label title
2019-10-27 16:36:08 -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
fc76610b12
Add ticks.sampleSize option ( #6508 )
2019-10-09 13:25:04 -04:00
Akihiko Kusanagi
0d3754254a
Correct descriptions on ticks.display and add pointLabels.display ( #6293 )
...
* Correct descriptions on ticks.display and add pointLabels.display
* Remove notes about angleLines.display and pointLabels.display
2019-06-23 11:44:35 -04:00
Jukka Kurkela
abbddd1298
Allow specifying labels in time scale options ( #6257 )
2019-05-21 13:36:16 +02:00
Jukka Kurkela
2a96d83c2c
Implement layers (z-index) for layout items ( #6241 )
2019-05-09 15:54:05 +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
Ben McCann
390a8d7b41
Add docs for the date adapter used by the time scale ( #6134 )
2019-03-18 08:14:01 +01:00
Akihiko Kusanagi
946c6d0617
Fix document errors related to ticks ( #6099 )
2019-03-01 18:03:20 -05:00
Ben McCann
f2b099b835
Initialize date adapter with chart options ( #6016 )
2019-02-21 08:11:32 +01:00
Ben McCann
1c01272c9a
Improve autoSkip documentation ( #6079 )
2019-02-20 09:28:07 +01:00
James Bedford
0ed652b39f
Fix typo in radial linear scale docs ( #6054 )
2019-02-09 08:19:57 +01:00
Ben McCann
765c432dfa
Fix duplicate anchor ( #6038 )
...
* Fix broken documentation anchors
* Revert changes to installation docs
2019-02-04 20:00:44 -05:00
Akihiko Kusanagi
0d01bcf5cc
Fix typos and make the docs consistent ( #6020 )
2019-01-29 13:34:16 +01:00
Akihiko Kusanagi
9d1d2023d4
Fix labelOffset description ( #5979 )
2019-01-11 19:29:39 -05:00
Jukka Kurkela
20c748f90b
Fix modifying ticks in afterBuildTicks ( #5913 )
2019-01-11 07:29:38 +01:00
Akihiko Kusanagi
d29ec5a485
Add scale.pointLabels.lineHeight and scale.ticks.lineHeight options ( #5914 )
2018-12-20 09:56:06 +01:00
Dave Salomon
4fb259e3ac
Add support for hiding axis when all linked datasets are hidden ( #5885 )
...
When `display: 'auto'`, the axis is visible only if at least one associated dataset is visible.
2018-12-18 09:33:03 +01:00
Ben McCann
3a29b99e3b
Use HTTPS in documentation links where possible ( #5915 )
2018-12-15 11:28:17 +01:00
Akihiko Kusanagi
0351a88a63
Add support for gridLines/angleLines borderDash for polarArea/radar charts ( #5850 )
2018-11-26 08:57:31 +01:00
Bart Deslagmulder
f40abe9244
Consistent use of punctuation and quick review in docs ( #5796 )
2018-11-02 08:46:06 +01:00
Jordan Ephron
6bea6aba7b
Document padding option for ticks configuration ( #5795 )
2018-11-01 16:28:11 +01:00
Akihiko Kusanagi
119a86f399
Update the descriptions of barThickness, offsetGridLines and offset ( #5600 )
2018-07-14 09:57:16 +02:00
Niel Mistry
246b9a1a40
Add circular option documentation for grid lines ( #5637 )
2018-07-14 09:52:49 +02:00
Akihiko Kusanagi
48fefd92b6
Fix the example of Linear Radial Axis ( #5633 )
2018-07-11 18:59:16 -04:00
Antoine Aumjaud
ca9d3175c5
Fix time documentation ( #5507 )
2018-05-26 09:55:44 +02:00
Evert Timberg
9fbac88938
Add ticks.precision
option to linear scale. ( #4841 )
...
If defined and `stepSize` is not specified, the step size will be rounded to this many decimal places.
2018-04-01 18:56:45 +02:00
Laura Cressman
d6ce5c0772
Support multiple font colors for radial chart labels ( #5240 )
...
* Support multiple font colors in array
* Address linting error
2018-02-14 21:22:19 -05:00
Ben McCann
bba29e5916
Remove trailing spaces from docs ( #5227 )
2018-02-04 12:27:50 +01:00
beiz23
9a7182ba36
Fix typos and broken links in the docs ( #5010 )
2017-11-30 14:41:32 +01:00
minusf
11315fba2b
minor doc fixes ( #4851 )
2017-10-16 18:45:54 -04:00
Ben McCann
2b89f7a989
Consistent formatting for cartesian option docs ( #4765 )
2017-09-15 19:53:51 -04:00
andig
ea703a54bf
Implement scale label padding ( #4646 )
2017-09-10 13:15:47 -04:00
Akihiko Kusanagi
7dc71d009b
Make offsetGridLines
consistent and add new offset
scale option ( #4545 )
...
Add a new `offset` option to scales to add extra space at edges and remove the `includeOffset` argument from `getPixelForValue()` and `getPixelForTick()`. The bar controller now automatically calculates the bar width to avoid overlaps. When `offsetGridLines` is true, grid lines move to the left by one half of the tick interval, and labels don't move.
2017-08-14 10:09:33 +02:00
Ben McCann
4697226c8c
Document new time options ( #4592 )
2017-08-08 17:39:19 -04:00
Ben McCann
48d76b20fe
Allow specifying the time axis via t attribute ( #4533 )
...
For time series charts it may make more sense to specify the horizontal axis using the variable `t`. This change will make it much easier to use the time scale with the financial chart, which takes in the data points `{t, o, h, l, c}`.
2017-07-22 08:33:22 +02:00
Simon Brunel
090196c07c
Add support for line height CSS values ( #4531 )
...
The title plugin and scale title now accept lineHeight specified using unitless value (1.4), length ('1.4em' or '12px'), percentage ('200%') or keyword ('normal' === 1.2). The line height parsing has been refactored under the 'Chart.helpers.options' namespace. Also fix incorrect text positioning in the title plugin.
https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
2017-07-20 19:20:54 +02:00
andig
3bb31ca592
Allow category labels definition at scale level ( #4506 )
2017-07-19 12:41:17 +02:00
Adrian Liaw
f16d8a32e2
Fix links in documentations ( #4477 )
...
* Fix relative links in documentation of configurations
* Fix relative link of 'Time Units'
* Fix relative links for chart types documentations
* Fix the release version link in developers/plugins
2017-07-09 08:58:18 -04:00
etimberg
7f15bebed2
ticks.padding option applies to both vertical and horizontal axes
2017-06-25 13:32:42 -04:00