Commit Graph

421 Commits

Author SHA1 Message Date
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