Commit Graph

505 Commits

Author SHA1 Message Date
Akihiko Kusanagi
0351a88a63 Add support for gridLines/angleLines borderDash for polarArea/radar charts (#5850) 2018-11-26 08:57:31 +01:00
Thomas David Baker
ecf64d361d Correct spelling mistake. (#5831)
Use a simpler phrase for this heading.
2018-11-15 09:41:02 -05:00
Simon Brunel
ae80e14c51
Make bar styling options scriptable (#5780)
The bar `backgroundColor`, `borderColor`, `borderWidth` and `borderSkipped` options are now scriptable (unit tests, docs and a basic sample). Also fix the gulp task that generates the documentation on Windows.
2018-11-12 21:15:37 +01:00
Akihiko Kusanagi
9140ef7e67 Add a link to chartjs-plugin-colorschemes to extensions.md (#5813) 2018-11-05 18:56:29 +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
Alexandre Dubé
5816770e45 Introduce the 'minBarLength' bar option (#5741) 2018-10-18 22:28:56 +02:00
Daniel Correa
1ba06a26fd Add aspectRatio property to responsive doc (#5756) 2018-10-09 18:20:09 +02:00
Miguel Martínez Serrano
9293c30d4f Add scatter link in charts documentation (#5736) 2018-09-21 21:22:31 +02:00
Maxim Atanasov
2f9c663d01 Added Wicked-Charts to the Popular Extensions Page (#5734)
Wicked-Charts is a Java wrapper around Chart.js and allows users to create charts in Java using the Wicket framework. The latest version of Wicked-Charts (3.1.0) supports Chartjs and Wicket 8.
2018-09-21 21:21:34 +02:00
Wei-Wei Wu
bbd589d5ab Add "Accessibility" documentation page (#5719) 2018-09-11 09:12:28 +02:00
Wei-Wei Wu
1aa54b074b Add gulp watch task for docs (#5724)
gulp docs --watch
2018-09-09 20:42:18 +02:00
Sebastiaan Lokhorst
9a295816b3 Replace ES6 by Webpack in the integration docs (#5555) 2018-07-29 22:16:10 +02:00
Jung Oh
0963c8f76c Fix positioning in the custom tooltip example (#5454) 2018-07-14 10:06:02 +02: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
9c3b0d2e29 Add a link to chartjs-plugin-style to extensions.md (#5638) 2018-07-14 09:51:50 +02:00
Akihiko Kusanagi
48fefd92b6 Fix the example of Linear Radial Axis (#5633) 2018-07-11 18:59:16 -04:00
Joel Hamilton
0ddd0ee16b Enable arbitrary rotation of datapoints (#5319) 2018-07-07 17:54:05 +02:00
Guiomar Valderrama
8a7278052f clarify moment.js included in bundle cannot be used outside of chartjs (#5528) 2018-06-04 08:14:04 -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
Juan Eugenio Abadie
a191921b15 Fix typo in the legend documentation (#5348) 2018-03-20 15:37:56 +01:00
Akihiko Kusanagi
b7025fedbe Add a link to chartjs-plugin-streaming to extensions.md (#5309) 2018-03-02 20:13:41 -05:00
Wilson Lin
c90cf2ebcd Make both README.md and installation.md clearer (#5274)
Address the ambiguity of "Selecting the Correct Build" section
2018-02-20 13:29:10 +01: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
stockiNail
97ff45873e Add Charba GWT integration to extensions.md (#5225) 2018-02-02 10:17:24 +01:00
Simon Brunel
c268185953 Fix Slack invitation link (#5217)
Setup a new Heroku app based on rauchg/slackin, using Slack legacy token from the Chart.js (chartjs.slack@...) user and reCAPTCHA from the same Google account.
2018-01-31 19:35:08 -07:00
Jonathan Quach
98ef3942d9 Fix variable name error on developer api documentation for (#5173) 2018-01-27 15:47:51 +01:00
Evert Timberg
274fca68c9
Update custom tooltip documentation and samples (#5166) 2018-01-21 16:47:50 -05:00
Evert Timberg
f82c8adf39
Remove copy-pasta error in polar area and doughnut chart docs (#5169) 2018-01-21 16:47:25 -05:00
Evert Timberg
d668882971
Tooltip label callback example (#5168) 2018-01-21 16:47:04 -05:00
Evert Timberg
9a0117ad49
Responsive printing docs (#5167) 2018-01-21 16:46:28 -05:00
Cameron Childress
9874a754e0 Adding helpful note about legendCallback (#5094)
I didn't realize you had to call generateLegend() manually and a quick search tells me that lots of other people have run into this too.
2017-12-29 08:52:17 +01:00
JohnShaft
b835df02cd Add Angular2+ libraries for Chart.js in docs (#5006) 2017-12-01 18:56:49 +01:00
beiz23
9a7182ba36 Fix typos and broken links in the docs (#5010) 2017-11-30 14:41:32 +01:00
Xingan Wang
333f2eba99 Fix scale options update (#4198)
- allow options to be updated in-place or as a new object
- re-merge new options and rebuild scales & tooltips
- preserve reference to old scale if id/type not changed
- related tests and new sample also added.
- update document about options update
- update doc and example
2017-11-29 22:52:23 +01:00
Jean-Philippe Sirois
e2dd4483c7 Add an Ember.js Integration in the Documentation (#4984) 2017-11-24 19:31:58 -05:00
Evert Timberg
8ce7a9146b
Fix line to time axis documentation in bar chart docs (#4979) 2017-11-22 18:07:36 -05:00
Martin Alex Philip Dawson
52790f6f23 Update extensions.md (#4930)
Removed trailing space from waterfall-plugin.
2017-11-07 18:25:11 -05:00
Martin Alex Philip Dawson
95d7d8c20d Add link to chartjs-plugin-waterfall (#4921) 2017-11-06 10:39:39 +01:00
Simon Brunel
c81a55fed1 Add jsDelivr as CDN install option (#4881) 2017-10-22 13:18:24 -04:00
Evert Timberg
ee6432b4cb Update supported browser section (#4818) 2017-10-21 08:43:31 -04:00
minusf
11315fba2b minor doc fixes (#4851) 2017-10-16 18:45:54 -04:00
Florian Scholz
c83b03f668 Fixes #4772: added scope for tooltip position mode call and added docs (#4784)
* added scope for tooltip position mode call and added docs

* added test for positioner

* removed named func for lint

* resolved pull-request comments
2017-10-10 18:33:25 -04:00
Ben McCann
d2226b2892 Fix markdown (#4827) 2017-10-08 08:09:39 -04:00
Ben McCann
fa2ca2c1e2 Clarify that x/y coordinates only work with the time scale (#4826) 2017-10-07 22:18:50 -04:00
Fabio Poloni
73a3c3b821 fixed typo (#4819) 2017-10-06 07:36:39 -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
Simon Brunel
543c31d549 Add Google Analytics to samples and update badges (#4734)
Inject the GA tracking snippet for all samples, including the index page. Also update README.md badges using the shields.io service for consistency with flat-square style and cache, and add release badges to the installation documentation page.
2017-09-10 08:31:59 -04:00
Simon Brunel
459c81d931 Remove trailing .js in plugin names (docs) 2017-08-26 08:09:22 +02:00
Akihiko Kusanagi
5d57de4e4d Fix bar chart with {x, y} data points (#4673) 2017-08-26 07:50:39 +02:00
Simon Brunel
31049ebcba Add chartjs-plugin-datalabels plugin link (#4701) 2017-08-25 18:34:37 -04:00
Simon Brunel
e758798798 Fix scriptable options documentation snippet 2017-08-24 10:31:17 +02:00
Simon Brunel
872dfec0f3 Introduce scriptable options (bubble chart) (#4671)
New `options.resolve` helper that determines the final value to use from an array of input values (fallback) and a given context and/or index. For now, only the bubble chart support scriptable options, see documentation for details.

Add scriptable options documentation and update the bubble chart dataset properties table with their scriptable and indexable capabilities and default values. Also move point style description under the element configuration section.
2017-08-24 09:34:38 +02: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
56fdd7ebc1 Allow specifying bar chart via {x, y} data points (#4565) 2017-07-29 21:22:52 +02:00
Evert Timberg
326991ce50 index-y interaction mode + convert horizontal bar defaults to new mode (#4458)
index-y interaction mode + convert horizontal bar defaults to new mode
2017-07-28 18:07:28 -04:00
andig
43baf2fbe0 Instructions to access resources built from master 2017-07-26 15:40:00 +02:00
Ben McCann
d07fb28462 Add a note about breaking changes (#4555) 2017-07-24 14:49:26 +02: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
Marceau Dewilde
a0fc1c9019 Add link to Java integration (#4527) 2017-07-18 18:26:02 -04:00
Evert Timberg
8e643db09d Fix copy paste error in new docs with respect to settings for line and radar charts. (#4510) 2017-07-15 16:39:27 -04: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
9ec78cee1c Add a note on how to use getElementAtEvent in a click handler 2017-07-04 07:26:18 -04:00
Justin Ledford
0eedec31f0 replace self closing script tag with open and closing tags 2017-06-29 17:05:01 -04:00
etimberg
7f15bebed2 ticks.padding option applies to both vertical and horizontal axes 2017-06-25 13:32:42 -04:00
Akihiko Kusanagi
e543f87d5f Update Display Format table
- Up to date with the latest code
- Added Example column
2017-06-24 06:41:42 -04:00
etimberg
18707cf81f Line height setting for scale titles. The text is centered within the line height, so setting the line height to a size
greater than the font size moves it away from the axis edge.
2017-06-23 18:09:30 -04:00
Akihiko Kusanagi
b548d1a689 Add description on new dataset update and draw plugin hooks 2017-06-23 18:03:20 -04:00
Ben S
46c04550a9 Wording error
correct wording error
2017-06-22 17:52:05 -04:00
etimberg
de0ea5c6ba Multiple lines of text in the chart title 2017-06-19 07:07:35 -04:00
etimberg
7a02d93db4 Add note regarding non-existant fonts 2017-06-18 21:07:23 -04:00
Martin Bagge / brother
28da15455f HighCharts is not open source (#4383)
According to the (issue tracker of highcharts)[https://github.com/highcharts/highcharts/issues/4405#issuecomment-125124004] they do not consider the code open source. It's available for reading but that's about it.

The code is provided under CC-BY-NC via github.

See also:
https://shop.highsoft.com/faq#Non-Commercial-0
2017-06-16 06:48:29 -04:00
Andrew
2d7c1f0d2c Time axis tick formatting with major and minor units (#4268)
Working towards creating the TimeSeries scale, this PR adds formatting for major and minor ticks on axes.
2017-06-15 07:20:16 -04:00
Julian Rademacher
3a2884fef7 Fixed tiny typo in title.md 2017-06-12 17:05:11 -04:00
Ricardo Costa
009ae4dec6 Support hover animation duration during updates (#4300)
See discussion in the issue for context and possible approaches.

When invoking update() inside an event handler, such as onHover,
`options.hover.animationDuration` was not being respected. Given that
some use cases may require additional animation properties for the
manual update call, this commit changes that method signature to accept
a configuration object.

This object provides backwards compatibility with duration and lazy
properties, and also introduces the easing property so that the event
animation is different from the global one. 

Add tests that guarantee that when update is called manually with
arguments, it properly builds the _bufferedRequest or calls render with
the proper arguments.
It includes test cases for when update is called with legacy arguments
(duration and lazy) instead of the config object.

.update() documentation was previously updated but .render() was left
out. Since the backwards compatible change was also made to render(),
this commit adds documentation for it.
2017-06-11 12:06:39 -04:00
Spencer Dellis
9e6a6112a4 Fix Tiny Typo in Labelling.md 2017-06-08 21:08:24 -04:00
Raquel Guimaraes
7ee8da9c7f Fix broken link on animations page #4324 2017-06-04 20:15:21 -04:00
OlduwanSteve
8eee12486d Added 'devicePixelRatio' option to override the window's DPR setting (#4270) 2017-06-04 18:57:55 +02:00
Evert Timberg
0d1f68cd9c Fix incorrect unitStepSize option. It should be stepSize (#4320) 2017-06-04 18:51:27 +02:00
ApoorvA
394382b931 Add tooltip textLabelColor callback (#4199)
Add a new tooltip callback `labelTextColor` that returns the colour for each item in the body of the tooltip.

Fixes issue #4191
2017-05-28 08:39:29 -04:00
Xingan Wang
20452ddb7c Fix invalid link in area.md (#4257) 2017-05-13 19:30:23 +02:00
Simon Brunel
e45ac3c945 Make "dedicated to the chart canvas" a requirement (#4253) 2017-05-13 14:14:47 +02:00
Simon Brunel
c4c00b5834 Fix RequireJS doc to use UMD file instead (#4252) 2017-05-13 14:14:02 +02:00
Simon Brunel
3ff5d489c1 Document the new filling modes and options (#4251) 2017-05-13 14:13:05 +02:00
etimberg
d7335bf1ee initial data update docs 2017-05-08 18:44:01 -04:00
Ben McCann
34292cb335 Add financial chart type to plugin docs 2017-04-29 11:38:09 -04:00
etimberg
a75ae13b07 Make it clear that labels need to be specified when using a category axis on a line chart 2017-04-23 07:28:40 -04:00
Simon Brunel
f2c569ef25 Enhance the responsive documentation
Make sure to explain responsiveness limitations with CANVAS elements and how to correctly setup a responsive chart using a dedicated and relatively positioned div wrapper.
2017-04-22 13:13:36 -04:00
Ben McCann
d8385bd358 Combine the two contributing docs 2017-04-17 07:27:41 -04:00
Eric Nikolay Katz
205cedc0ef Enhancement: adds step-after functionality, true defaults to step-before (#4065)
* Adds step-after functionality, true defaults to step-before

* Update stepped line sample to include all variations of steppedLine configurations

* Update documentation on steppedLine values

* Add tests for new steppedLine values 'before' and 'after'
2017-04-16 16:13:13 -04:00
cizmiak
69dd0bde6c scale service - respect new weight scale option for axes ordering (#4094)
* respect new scale option 'order' when ordering scales

* scale service - respect new weight scale option for axes ordering

* added test for scale ordering by weight

* removed trailing spaces from layout weight scale order test
2017-04-04 19:42:25 -04:00
etimberg
9ea18065ad Add live samples back to docs for each chart type 2017-04-03 17:38:52 -04:00
etimberg
222479c5c7 Update the tooltip with a new caretPadding setting. Previously this value was essentially hard coded to
2 because of a typo that read it from the positioner output. Based on #3599 we agreed to make this into
a config setting.
2017-03-28 18:17:26 -04:00