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
Simon Brunel
e3f3b8978b
Add gulp unittest --coverage
argument ( #4075 )
...
Coverage data are now generated by running `gulp unittest` with the `--coverage` argument: unit tests are then executed a single time on Travis. The gulp `coverage` task has been removed and `karma.coverage.conf.ci.js` merged into `karma.conf.ci.js`.
Update documentation with gulp commands (and remove them from `README.md`) and remove unused `config.jshintrc` (oversight from #3256 ). Delete `thankyou.md` which has been merged into `README.md`.
2017-03-25 18:26:45 +01:00
y-take
90d458a6d9
Add link to plugin that creates a stacked percentage chart
2017-03-24 18:57:08 -04:00
Lee N Dobryden
20a832809e
Zero line dash options ( #4019 )
...
* Add of zero line border dash options
* Update Readme with zero line border dash config options
2017-03-21 06:38:09 -04:00
Evert Timberg
3e94b9431a
Update the docs structure/content to use GitBook ( #3751 )
...
Update the docs structure/content to use GitBook
2017-03-20 20:36:54 -04:00
Cătălin Pintea
5234899323
Added a maxBarThickness
setting for bar charts xAxis ( #3963 )
...
Added a `maxBarThickness` setting for bar charts xAxis
2017-03-03 19:21:48 -05:00
Evert Timberg
a3b8fb266a
Split radial scale lineArc setting into a combination of existing and new settings.
...
gridLines.circular is a new option that toggles circular lines. This allows radar charts with circular lines #3082
pointLabels.display is a new option that toggles the display of point labels.
The existing angleLines.display is used with the new pointLabels.display setting is used to trigger the radar like settings.
This required changing the default polar area config.
2017-03-03 06:50:34 -05:00
Simon Brunel
b92b256872
Flatten animation object and fix callbacks
...
Animation callbacks now receives `animationObject` directly with a reference on the associated chart (`animation.chart`), which deprecates `animation.animationObject` and `animation.chartInstance`. Also fix missing `onComplete` animation argument and make sure that an animation object is passed even when animations are disabled.
2017-03-03 06:49:47 -05:00
Marcelo Tedeschi
a038459d8c
Added configuration to documentation
2017-02-24 19:27:05 -05:00
Simon Brunel
cc90c5c643
Add chart data property setter and unit tests
...
Chart data can now be entirely replaced using `chart.data = {...}` thanks to the new property setter (instead of using `chart.config.data = {}`). Also update the documentation, as suggested by @ldaguise and @kennethkalmer, with a note about versions prior 2.6.
2017-02-18 11:53:39 -05:00
Simon Brunel
28ea6c4967
Rename chartInstance
to chart
2017-02-10 18:37:56 -05:00
Matthisk Heimensen
6ff34a5d4a
Added Django-Jchart link to docs/notes.md ( #3865 )
2017-02-03 18:17:33 -05:00
Simon Brunel
7205ff5e2a
Replace onEvent
by before/afterEvent
2017-01-27 19:32:35 -05:00
Simon Brunel
979341ecb0
Plugin hooks and jsdoc enhancements
...
Make all `before` hooks cancellable (except `beforeInit`), meaning that if any plugin return explicitly `false`, the current action is not performed. Ensure that `init` hooks are called before `update` hooks and add associated calling order unit tests. Deprecate `Chart.PluginBase` in favor of `IPlugin` (no more an inheritable class) and document plugin hooks (also rename `extension` by `hook`).
2017-01-27 19:32:35 -05:00
Jakub Juszczak
c6fa4e5582
📝 Add vue-chartjs to docs
...
vue-chartjs is a wrapper written in vue for chartjs.
2017-01-27 08:05:08 -05:00
Jerry Chang
696f8d3a39
Documentation update on requiring Chart.js using CommonJS and es6 ( #3788 )
2017-01-22 10:31:22 -05:00
mdewilde
27b2e332c6
Correct anchor link ( #3772 )
2017-01-08 08:54:03 -05:00
potatopeelings
eebaa84e72
Group stacked bar charts ( #2643 ) ( #3563 )
...
Group stacked bar charts (#2643 )
2017-01-01 09:36:01 -05:00
Timofey Rechkalov
6255131156
Update 07-Pie-Doughnut-Chart.md
...
Fixed example in pie chart docs.
2016-12-23 19:33:59 -05:00
Evert Timberg
ecc35c527b
Refactoring to put browser specific code in a new class ( #3718 )
...
Refactoring to put browser specific code in a new class, BrowserPlatform.
BrowserPlatform implements IPlatform. Chart.Platform is the constructor for the platform object that is attached to the chart instance.
Plugins are notified about the event using the `onEvent` call. The legend plugin was converted to use onEvent instead of the older private `handleEvent` method.
Wrote test to check that plugins are notified about events
2016-12-21 10:22:05 -05:00
Wang Shenwei
6aec98bf8b
Correct document for Interaction Modes #3676 ( #3684 )
...
'x-axis' Behaves like 'index' mode with intersect = false
2016-12-06 08:05:04 -05:00
Jonathon Hill
152ce9c9f8
Pass the hover event to the onHover event handler ( #3669 )
...
Pass the hover event to the onHover event handler
This makes the behavior of the `onHover` handler consistent with the `onClick` handler:
```
function(event, activeElements) {
var chartInstance = this;
}
```
2016-12-03 17:42:33 -05:00
Christopher Moeller
97f6c8f12d
Add rectRounded point style
2016-11-26 12:58:49 -05:00
Jonathon Hill
0b4123b92c
Update the documentation plugin list ( #3610 )
...
Add chartjs-plugin-draggable to the list of plugins, update existing ones recently renamed and re-order the list by names.
2016-11-17 10:29:36 +01:00
38elements
afab387cc1
Fix link in 01-Chart-Configuration.md ( #3607 )
2016-11-16 07:21:44 -05:00
etimberg
3985d50201
use correct option in radar chart
2016-11-13 19:49:13 -05:00
38elements
9ac0293b1a
Fix path in 09-Advanced.md
2016-11-12 21:43:58 -05:00
etimberg
3f2d7efc70
Add a function to filter items out of the legend
2016-11-12 18:48:25 -05:00
Josh Soref
67934920be
Spelling fixes ( #3522 )
...
Including: actually, aspect, bottom, changes, characters, datasets, divisible, downward, guidelines, instance, instances, interrupted, item, javascript, label, lifecycle, lines, plugins, manually, milliseconds, nearest, occurring, position, predefined, recalculate, tooltip, those
2016-10-27 21:18:31 +02:00
Varatep Buranintu
7c8998f96a
fix "area" typo
2016-10-26 20:23:51 -05:00
bret b
295c9db1df
Fixes issue #3490 : Tick documentation is missing autoSkipPadding
...
Adding a single line to the docs to document autoSkipPadding.
2016-10-25 17:28:13 -05:00
etimberg
5ae268e942
Add a way to filter items in the tooltip
2016-10-23 16:33:08 -05:00
bydooweedoo
3bd4d283f7
Custom tooltip: add data points infos ( #3201 )
...
Expose tooltip items from tooltip model and added `x` and `y` properties to `TooltipItemInterface`
2016-10-19 08:48:17 -05:00
etimberg
a0388eff4c
Add new properties for the caretX,caretY point of a tooltip. Useful for custom tooltips.
...
The custom tooltip sample was updated as well to use the new properties.
2016-10-19 06:30:41 -05:00
etimberg
596ff3718c
Layout service now supports configurable padding on left, top, right and bottom.
...
Re-enabled the layout service tests and then properly disabled the tests that
fail on the CI.
2016-10-17 16:59:47 -05:00
etimberg
16f23b2c44
Add reset method to chart prototype
2016-10-17 06:40:29 -05:00
Simon Brunel
4a5b5a0e7e
Enhance context acquisition on chart creation
...
Add support for creating a chart from the canvas id and prevent exceptions, at construction time, when the given item doesn't provide a valid CanvasRenderingContext2D or when the getContext API is not accessible (e.g. undefined by add-ons to prevent fingerprinting). New jasmine matcher to verify chart validity.
2016-10-16 08:25:13 -05:00
Evert Timberg
a86c47cf48
Configurable Tooltip Position Modes ( #3453 )
...
Adds new tooltip position option that allows configuring where a tooltip is displayed on the graph in relation to the elements that appear in it
2016-10-14 16:36:49 -05:00
Evert Timberg
f8e90b1c2d
New fill modes for lines ( #3460 )
...
New fill modes for lines allowing the user to customize where the fill goes to
2016-10-14 06:19:47 -05:00
Tieson Trowbridge
c61ab012c4
Replaces Unicode character with HTML entity
2016-10-09 12:34:35 -04:00
Evert Timberg
c15fa98978
Display tooltip color boxes for all tooltips. Added a new displayColors
option to turn them off
2016-10-04 09:20:20 -04:00
Evert Timberg
03735563f4
Improve Tooltip and Hover Interaction ( #3400 )
...
Refactored interaction modes to use lookup functions in Chart.Interaction.modes and added new modes for 'point', 'index', 'nearest', 'x', and 'y'
2016-10-03 16:05:21 -04:00
Evert Timberg
f6ac8279cc
Fix 2 minor documentation issues in the scale documentation. #3341 ( #3360 )
2016-09-24 17:54:51 +02:00
Darío Hereñú
503e6f8291
Minor fixes (proposal)
2016-09-23 16:00:34 -03:00
Zach Panzarino
88c69f5f8c
Move reverse option for labels to correct section in docs
...
Addresses comment in #3102
2016-09-23 00:12:40 +00:00
Nick Downie
631b54522c
Ensure the second pie chart sits inline
2016-09-21 11:17:17 +01:00
Simon Brunel
d9f6e6d0c5
Change bower package name for chart.js ( #1562 )
...
Thanks to the Bower team, we have been able to register the chart.js package name, previously pointing on a dead repository, which make the Bower integration more consistent with the npm one. All other alias still work (Chart.js, chartjs, Chart-js, chartjs-Chart.js).
2016-09-17 11:40:26 +02:00
Chris Fä
eb15ddfd2b
Cleanup React extension links ( #3282 )
...
Remove the existing link which was for Chart.js v1 and add 2 links for Chart.js v2
2016-09-09 23:17:31 +02:00
Chun-Yi Liu
a4bf786c2c
Update 01-Chart-Configuration.md
...
Fix an anchor link.
2016-09-08 18:23:31 -05:00
Lubomir Sotirov
38f85c98b5
Fix 3267 Add "onHover" functionality for legend ( #3271 )
...
Add "onHover" to the legend options that will hold a user defined function (default is null) and called when a "mousemove" event is registered on top of a label item, with same parameters as the "onClick" option.
Also introduced logic that determines if the type of event passed to the legend "handleEvent" function is one we can handle. Currently allowing "click" and "mousemove" events. If the event is not one of those we stop the function execution (this is for the sake of reusing the legend hitbox calculations).
2016-09-08 14:42:42 +02:00
Simon Brunel
52cdff5fc1
Merge pull request #3254 from ianks/minDisplayFormat
...
Suport minUnit for time scale
2016-09-08 13:34:53 +02:00
Ian Ker-Seymer
7af6e7f192
Suport minUnit for time scale
...
When dealing with time-delineated datasets, often we have data for known
intervals of time. For example, we may have a dataset which represents number
of purchases per day:
```json
{
labels: ['2016-01-01', '2016-01-02', '2016-01-03']
datasets: [
{
data: [12, 87, 42]
}
],
'...': '...'
}
```
In this case, Chart.js will attempt to figure out the best interval to display
the data, and could pick `hours` as the unit. However, in this case, we would
prefer to just use the `days` interval since our data's granularity can not be
represented well with `hours`.
To remedy this, this commit adds the `minUnit` option which allows
users to (optionally) specify what the minimum unit they would like
to use.
2016-09-06 13:11:06 -04:00
Simon Brunel
69ab0d3e23
Use gulp-eslint instead of gulp-jshint
...
Change the linter in gulp tasks to be consistent with Code Climate results which are based on ESLint using .eslintrc options. However, defaults Code Climate rules are too strict, so turn as warnings the 'complexity' and 'max-statements' rules (other errors has been fixed). Note that the Gulp task name has been changed for `gulp lint`.
2016-09-03 18:42:22 +02:00
Simon Brunel
cd50edbc84
#3182 Gulp task to generate bower.json file
2016-08-28 18:21:10 +02:00
Evert Timberg
89531c6b93
Merge pull request #3112 from MatthieuRivaud/MonotoneCubicInterpolation
...
Monotone cubic interpolation
2016-08-22 17:53:31 -04:00
Evert Timberg
c94673e55a
Merge pull request #3128 from vermeeca/3127-tooltip-sort
...
Accept chart data to itemSort callback for Tooltips
2016-08-22 17:53:11 -04:00
mdewilde
e1995473f0
Document possible options for animation.easing ( #3111 )
...
List all possible values for animation.easing and reference URL with more information (taken from code comment).
2016-08-21 23:00:29 +02:00
Karthik Iyengar
349a8a33ea
Added borderDash support for grid lines ( #3136 ) ( #3142 )
...
* Added borderDash support for grid lines (#3136 )
* Save and restore context to prevent border dash being applied to other elements
* Adds support for borderDashOffset, checks for setLineDash (IE9/IE10)
* Fixes tests
2016-08-12 12:31:54 -04:00
Craig Vermeer
88de438c0e
3127 - Modify the itemSort callback for tooltips to accept a third parameter of the data object passed to the chart
2016-08-10 09:54:21 -04:00
Zach Panzarino
6e9ee1f137
Merge 'Documentation updates' #3110
2016-08-10 00:12:56 +00:00
Zach Panzarino
57f2d7de58
Update docs and add plugin section (suggested by @simonbrunel)
2016-08-09 14:34:59 +00:00
Tom Loudon
9d055720ab
Added section on using patterns to fill datasets chartjs/Chart.js#1323
2016-08-08 17:39:36 +01:00
MatthieuRivaud
d06fbc772f
- Added dataset option |cubicInterpolationMode| to allow for curves with different interpolation modes on the same graph (updated doc accordingly)
...
- Added new sample file to demonstrate the monotone cubic interpolation mode
- Fixed a typo in a comment in updateBezierControlPoints
2016-08-08 15:35:46 +02:00
MatthieuRivaud
2409908027
Implement monotone cubic interpolation (see issue #3086 ).
2016-08-08 14:01:30 +02:00
Zach Panzarino
52667a3d0c
Update link pattern for popular extensions
2016-08-08 03:31:15 +00:00
Zach Panzarino
660c3850d7
Documentation updates
...
Adds a lot of new information to the docs that will help developers better utilize the entire Chart.js library
List of implemented changes:
- Reverse option for legends (resolves #3102 )
- Information about chart resizing (resolves #3023 )
- Mixed chart types (resolves #2825 ) (resolves #2431 )
- Chart library comparison table (resolves #2605 )
- getDetasetMeta function information (resolves #2521 )
- Popular Extensions (resolves #2365 )
2016-08-08 03:08:13 +00:00
laviniaclare
ad17f9a1bf
changed 'chart there are' to 'charts there are'
2016-08-05 11:51:55 -07:00
djhuistra
67634b081a
Chart.pluginService -> Chart.plugins in documentation
...
Apparently Chart.pluginService is deprecated, but this name is still used in the documentation. I suggest to update it :)
2016-08-03 21:06:21 +02:00
Siben Nayak
71ede8d52c
Docs: Apply a recommendation ( fixes #3046 )
2016-08-01 15:26:46 +05:30
Evert Timberg
8e3abe10aa
Fix docs typo
2016-07-30 09:02:40 -04:00
Ben Davison
5e69ecc309
small typo
...
This should either be "rgb(0, 0, 0)" or "rgba(0, 0, 0, 0.1)". However, based on the default value it should be the latter.
2016-07-29 10:56:59 +01:00
mdewilde
548f07e9cd
Correct probable copy paste issue
2016-07-28 13:20:18 +02:00
mdewilde
08451ce95e
Correct duplicate error
2016-07-28 13:16:21 +02:00
Neabfi
29a1ba10e4
Correction of spelling mistake
2016-07-25 10:53:28 -04:00
Neabfi
a2977ecfcd
Correction of spelling mistake
2016-07-25 10:50:35 -04:00
Evert Timberg
e94d3c0730
Merge pull request #2947 from chartjs/fix/524
...
Add polar area start angle setting
2016-07-19 18:56:09 -04:00
Nick Downie
0c07b1eeda
Fix missing comma syntax error in js block
2016-07-19 22:01:41 +01:00
Evert Timberg
88d9398982
Merge pull request #2984 from slinhart/master
...
Issue #1012 . Added offsetAngle option for radar charts.
2016-07-18 22:25:54 -04:00
unknown
1a63113bc0
changed option name for radar chart from offsetAngle to startAngle. Added test to make sure correct angles are computed for all points in the radar chart (with and without startAngle option set).
2016-07-17 23:11:30 -06:00
Siben Nayak
d50cdfe6ad
FIx the Pie Chart hover issue ( #2983 )
2016-07-17 19:04:47 +05:30
unknown
d7733b2221
Merge remote-tracking branch 'chartjs-origin/master'
2016-07-16 18:59:22 -06:00
unknown
ad7ed249af
Add an option for radar chart to have offsetAngle. Issue #1012
2016-07-16 18:58:04 -06:00
Evert Timberg
7930137afa
Merge pull request #2925 from Joshuabaker2/master
...
Ability to manually set bar chart bar width
2016-07-16 14:46:59 -04:00
Michael Oberwasserlechner
0b0a3c9ccd
Docs for Title and Legend position incomplete
...
Positioning of title and legend to the left or to the right works.
2016-07-14 12:30:34 +02:00
Michael Oberwasserlechner
281ad20452
Fix copy typo
2016-07-13 08:49:42 +02:00
Josh Baker
191c280387
Added support for manually specifying bar thickness in bar charts
2016-07-12 17:31:50 -07:00
zachpanz88
885eeb091a
Update link to Colors in documentation for each chart type
2016-07-12 11:33:48 -04:00
Evert Timberg
49c4169010
Bring back capping of bezier curve points and have an option to disable it ( #2948 )
2016-07-09 15:24:41 -06:00
Evert Timberg
b6686f00f4
Non numeric y ( #2849 )
...
* Category scale can now read from the xLabels and yLabels properties.
* Update docs with section regarding the data object.
* Add sample file with non numeric Y and fix animations
2016-07-09 09:22:25 -06:00
Evert Timberg
72813d5112
Merge branch 'amlethojalen-master'
2016-07-09 10:02:08 -04:00
Evert Timberg
6f392639c2
Merge branch 'master' of https://github.com/amlethojalen/Chart.js into amlethojalen-master
2016-07-09 09:39:43 -04:00
Evert Timberg
fc09b58a14
Merge pull request #2905 from shuson/patch-1
...
add wikipedia link for DRY explanation
2016-07-09 09:12:32 -04:00
Evert Timberg
a452094f5d
Add polar area start angle setting
2016-07-09 09:05:02 -04:00
gitname
046e2effb5
Fix typo
2016-07-07 12:57:49 -07:00
amlethojalen
988423b05e
Fixed up formatting suggestions/issues as per comments from zachpanz88
2016-07-07 08:35:21 +10:00
Shayne Linhart
0dccc85e3a
Added usePointStyle option to label boxes
...
- Closes #2252
- Allows label boxes to match the shape(pointStyle) of the corresponding data.
* Removed unused varaible from legend's draw()
2016-07-05 20:08:29 -06:00
amlethojalen
68728fc9a7
Added ability to render a line chart as a stepped line chart.
...
Added option.elements.line.stepped
Added dataset.steppedLine
Added Sample, and updated documentation.
2016-07-06 11:13:12 +10:00
amlethojalen
bddc870201
Added ability for drawing a Line Chart as a stepped Line Chart. (reverted from commit efd06c886d
)
2016-07-06 10:25:01 +10:00
amlethojalen
efd06c886d
Added ability for drawing a Line Chart as a stepped Line Chart.
2016-07-05 19:50:53 +10:00
Shusen Wang
ff9e9f1d7c
add wikipedia link for DRY explanation
...
DRY is a short term for Don't Repeat yourself, maybe it is not so well known by front-end developers, but it is well known among back end developers
2016-07-04 14:51:26 +08:00
unknown
924a5d0abc
Merge remote-tracking branch 'chartjs-origin/master'
...
Conflicts:
src/core/core.legend.js
2016-07-03 18:35:21 -06:00
Evert Timberg
b197fdae42
Merge pull request #2901 from moberwasserlechner/fix/2894
...
Documentation fixes
2016-07-03 17:09:30 -04:00
unknown
d381117236
Issue #2252 , added usePointStyle option to allow label boxes to match the shape(pointStyle) of the corresponding data.
2016-07-03 13:55:43 -06:00
Michael Oberwasserlechner
1485778363
Finish incomplete sentence and remove trailing spaces.
2016-07-02 16:46:29 +02:00
Michael Oberwasserlechner
aed3d40263
add id property to common configuration
2016-07-02 16:42:36 +02:00
Michael Oberwasserlechner
2feebb1cd2
remove redundant option entry
2016-07-02 16:35:33 +02:00
Michael Oberwasserlechner
ae010a91b6
stepSize defined twice. renaming the first to fixedStepSize
2016-07-02 13:55:53 +02:00
Jim Kring
aa556540f4
Update 04-Bar-Chart.md
...
Changed second instance of "Options for xAxes" heading to "Options for yAxes" since it is the heading for the y-axis options.
2016-07-01 12:02:55 -07:00
Evert Timberg
900e1062ba
Fix typo in docs
2016-07-01 08:55:35 -04:00
Adam Templeton
c39b8f6c78
made table more readable
2016-06-28 15:05:04 -05:00
Adam Templeton
a0a3561eef
updated docs with new option
2016-06-28 14:59:22 -05:00
Evert Timberg
9082507c1c
Merge pull request #2555 from simonbrunel/travis-dist
...
Travis GitHub Releases
2016-06-28 08:39:57 -04:00
Bartosz Łęcki
e1a1d9cd6d
Change ID links for scales objects
2016-06-28 12:22:41 +02:00
Evert Timberg
5c36e0de65
Fix typo in tooltip docs
2016-06-23 19:40:45 -04:00
Evert Timberg
db8ed6a6c0
Span gaps option should be specified at the chart level
2016-06-20 14:42:09 -04:00
Simon Brunel
c6318749da
Drop official support for Bower
...
Remove the bower.json file and update the documentation with the alternative bower-npm-resolver solution.
2016-06-18 12:18:30 +02:00
Simon Brunel
0579fbb741
Add download links to the latest version
...
Remove outdated *standard build* and *bundled with Moment.js* links from the documentation and add a link to the latest GitHub release, from where the user can download `*.js` files.
2016-06-18 12:14:30 +02:00
Evert Timberg
7be69ce7e3
Fix pointLabel docs typo
2016-06-11 09:24:55 -04:00
Simon Brunel
53eb7667dd
New datasets update plugin extensions
...
Add `beforeDatasetsUpdate` and `afterDatasetsUpdate` plugin notifications during the chart update. Plugins are able to cancel the datasets update by explicitly returning false to `beforeDatasetsUpdate`. For consistency, rename `(before|after)DatasetDraw` to `(before|after)DatasetsDraw`.
2016-06-11 00:17:48 +02:00
Zach Panzarino
d901687c2d
Remove link that doesn't exist anymore in scale docs
2016-06-10 15:00:17 +00:00
Evert Timberg
a687749ed4
Radial linear scale array properties for line width and color
2016-06-07 20:09:33 -04:00
Evert Timberg
5f7865c741
Merge pull request #2724 from rawliving-germany/master
...
fix typo in tooltip conf doc.
2016-06-07 08:53:34 -04:00
Ryan M. Poe
77357e57d6
Refactor spanGaps for line graphs with sparse data ( #2721 )
...
Fix #2435 , this very slim patch (including its relevant documentation addition) adds a small option to line chart datasets (spanGaps) that allows users trying to graph sparse datasets to have lines between null entries drawn, rather than omitted.
2016-06-07 09:15:26 +02:00
Felix Wolfsteller
f71f525caf
fix typo in tooltip conf doc.
2016-06-07 07:46:13 +02:00
Evert Timberg
76d284c4ae
Merge branch 'multiline_labels' of https://github.com/Tarqwyn/Chart.js into Tarqwyn-multiline_labels
...
Conflicts:
src/core/core.scale.js
2016-06-04 20:48:26 -04:00
Tarqwyn
e856dda04f
Suggested changes from PR review
...
Changes to be committed:
modified: docs/02-Scales.md
modified: src/core/core.helpers.js
modified: src/core/core.scale.js
modified: test/core.helpers.tests.js
2016-06-03 20:15:29 +01:00
Tarqwyn
2bc8e3c7f6
This PR allows for multi-line labels, as per Slack discussion..
...
Usage: If a label is an `array` as opposed to a `string` i.e. `[["June","2015"], "July"]` then each element is treated as a seperate line. The appropriate calculations are made to determine the correct height and width, and rotation is still supported.
view samples/line-multiline-labels.html to see it working.
On branch multiline_labels
Changes to be committed:
modified: docs/03-Line-Chart.md
new file: samples/line-multiline-labels.html
modified: src/core/core.helpers.js
modified: src/core/core.scale.js
2016-06-03 17:12:19 +01:00
Evert Timberg
7ea36aead3
Add a way to know when a resize occurs.
2016-06-02 20:43:38 -04:00
Evert Timberg
b96fdcaf85
Docs on new plugin callback
2016-05-31 22:28:22 -04:00
Zach Panzarino
0997cf71cc
Fix doc syntax ( #2673 )
2016-05-31 17:50:02 +00:00
Evert Timberg
bd6c4870af
Update colors for chart that is created
2016-05-29 16:30:31 -04:00
Evert Timberg
a5ab4521a1
Merge pull request #2661 from chartjs/tooltip-improvements-and-tests
...
Improve tooltip performance and added new options
2016-05-29 12:10:30 -04:00
Evert Timberg
876ddc8931
Update radial linear scale docs
2016-05-29 10:31:58 -04:00
Evert Timberg
b646f6d816
Add a way of sorting tooltip items with a custom sort function
2016-05-28 20:47:36 -04:00
Evert Timberg
9269411799
Merge pull request #2657 from chartjs/tooltip-color-callback
...
Provide a way to configure the colour of tooltip items
2016-05-28 12:14:27 -04:00
Evert Timberg
327b8d82f5
Allow turning off lines on a per dataset basis
2016-05-27 22:20:51 -04:00
Evert Timberg
66aa65be68
Tooltip now has a callback for configuring the colors of items displayed. Added docs and improved the options passed to the tooltip
2016-05-27 21:07:02 -04:00
Roland Warmerdam
127ed8ddb3
docs: fix the bar chart default axis id's
2016-05-26 14:38:53 -07:00
Evert Timberg
81aedf4df0
Fix scale typos
2016-05-25 18:39:43 -04:00
Vanderhoven Nick
07b7db14e9
This fixes documentation issue #2628
2016-05-25 18:39:42 -04:00
Evert Timberg
e81299ded4
Improve line chart docs
2016-05-25 18:39:41 -04:00
Evert Timberg
4a25106239
Scale docs
2016-05-25 18:39:41 -04:00
Evert Timberg
9962017271
Improve configuration options
2016-05-25 18:39:41 -04:00
Evert Timberg
62b9a4b616
Fix section capitalization
2016-05-18 22:44:33 -04:00
Evert Timberg
dfcf874735
Update initial sample with colours
2016-05-18 22:10:20 -04:00
Evert Timberg
73610c00b4
Merge pull request #2596 from chartjs/fix/2406
...
Give the doughnut sample the correct color label
2016-05-18 21:46:42 -04:00
Evert Timberg
ff8eb5a65b
Give the doughnut sample the correct color label
2016-05-18 21:43:01 -04:00
Evert Timberg
4a2c521115
Add a note about selecting the correct build that describes what the bundled versions do.
2016-05-18 21:31:51 -04:00
Evert Timberg
8445057432
Bubble chart docs
2016-05-18 21:05:20 -04:00
Evert Timberg
bc2ffb2321
Add new file for bubble chart docs
2016-05-18 19:15:11 -04:00
Zach Panzarino
529ebedc90
Add BrowserStack mention to readme and website
2016-05-18 12:32:09 +00:00
Ceane Lamerez
456ab9ca36
Fix #2574 - Add support to hide border on the chart
2016-05-17 21:35:19 +02:00
Zach Panzarino
974ff00464
Fix syntax error in docs ( #2572 )
2016-05-17 08:47:27 -04:00
Evert Timberg
5514ee07c1
Revert "Travis GitHub Releases" ( #2553 )
2016-05-14 18:08:38 -04:00
Simon Brunel
4e9e26c85d
Travis GitHub Releases ( #2552 )
...
* Make Travis to deploy built files for tags
See https://docs.travis-ci.com/user/deployment/releases
* Remove and ignore dist/* files
Travis now builds and deploys these files for all tags, so we don't need to have them on the repository anymore.
* Add download links to the latest version
Remove outdated *standard build* and *bundled with Moment.js* links from the documentation and add a link to the latest GitHub release, from where the user can download `*.js` files.
2016-05-14 17:35:32 -04:00
Evert Timberg
568c61c56d
fix docs for tension
2016-05-13 19:17:19 -04:00
Evert Timberg
691a7c6a4b
Update doc files for ticks.minRotation
2016-05-12 18:42:52 -04:00
Evert Timberg
8c209405e9
Merge branch 'iso_weekday' of https://github.com/tomduncalf/Chart.js into tomduncalf-iso_weekday
...
Conflicts:
docs/01-Scales.md
2016-05-12 18:24:14 -04:00
Evert Timberg
41c043dd23
Merge branch 'master' of https://github.com/nnnick/Chart.js
...
Conflicts:
docs/01-Scales.md
2016-05-12 18:22:55 -04:00
Evert Timberg
38df95ee81
Merge pull request #2531 from matt-watson90/patch-1
...
Fixed copy paste error in 01-Scales.md
2016-05-12 12:09:39 -04:00
Matt Watson
41bf2418cb
Fixed copy paste error in 01-Scales.md
2016-05-12 17:02:20 +01:00
cw0102
a6017a4196
Update 03-Bar-Chart.md
...
Fix documentation of stacked option to be a subset of the axes rather than a global attribute on a bar chart. The attribute chart was inconsistent with the example below it.
2016-05-12 11:56:04 -04:00
Tom Duncalf
7ee5af81af
Add labelOffset option to scales
2016-05-11 10:43:22 +01:00
Tom Duncalf
8b3d079a50
Add isoWeekday option to allow time scale ticks in 'week' unit mode to start on a specified day of the week
2016-05-11 09:44:02 +01:00
Tarqwyn
84b7d07526
Following a Slack conversation tadd new Callback to allow updates to datasets config (ie borderColor) based on results of the calculated scale, A typical use case would be apply a Gradient fill.
...
On branch feature_New_plugin_interface_afterScaleUpdate
Changes to be committed:
modified: dist/Chart.bundle.js
modified: dist/Chart.bundle.min.js
#On branch feature_New_plugin_interface_afterScaleUpdate
#Changes to be committed:
2016-05-10 15:59:12 +01:00
Evert Timberg
23722a8b25
Make the afterUpdate plugin method more useful
2016-05-09 17:14:15 -05:00
William Entriken
8a46d1915d
Casually codify 1.x policy. Fixes #2305
2016-05-08 15:02:32 -04:00
Evert Timberg
fc4c23c8d2
Allow updating scale defaults
2016-05-07 11:43:24 -04:00
Darren Keane
ad9f40f841
Update legend docs -> parameter 'data' has changed to 'chart'.
2016-05-05 16:59:44 +01:00
potatopeelings
c2cc3fbb4c
Feature #73 - Horizontal Bar Chart ( #2448 )
...
* Horizontal bar chart type
* Mentioned horizontal bar chart in bar documentation
* Sample file for horizontal bar chart
* Missing semicolon
* Fix for borderSkipped index
2016-05-03 16:45:43 -05:00
Vincent Chan
29606ae21f
changes repo link to chartjs org
2016-05-02 16:01:26 +02:00
Vincent Chan
adacef8194
fixes several anchors
2016-05-02 15:57:32 +02:00
Doug Molineux
4d8def904c
Added a <br>
...
The additional line will make the legend accessible.
https://github.com/chartjs/Chart.js/issues/2389
2016-04-28 16:52:40 -06: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
Nick Downie
daf04463c0
Link to 1.x documentation in notes
2016-04-27 19:48:05 +01:00
Sam Stevens
cdf0682e39
change the default setting for Chart.defaults.global.title.display from true to false in the docs to match the code
2016-04-27 12:34:58 +01:00
Daan De Meyer
73493e2c9e
Added default ("left") for position field in global scale defaults.
...
Documented scale position field in scale docs.
2016-04-26 03:09:35 +02:00
Daan De Meyer
bb29401a0e
Removed scale option from pie/doughnut docs (not used)
...
Changed usages of tension in global element options and radar chart options to lineTension
2016-04-26 02:54:16 +02:00
Daan De Meyer
768a3d1e9c
-- Replaced '-' and 'Array' with 'Object' where appropriate
...
-- Removed unnecessary options from bar chart options
2016-04-26 01:59:11 +02:00
Daan De Meyer
61cef17f11
-- Removed linebreak added with previous fix
2016-04-26 00:28:02 +02:00
Daan De Meyer
b9eef5453a
-- tension option should be lineTension
2016-04-26 00:09:41 +02:00
Evert Timberg
129ca591e6
Merge pull request #2360 from vincchan/fix-anchor
...
Fixes anchor link in docs
2016-04-25 13:58:50 -04:00
Vincent Chan
d0b5bb941d
Fixes anchor link in docs
2016-04-25 19:17:47 +02:00
Vincent Chan
e6e03c29a3
fixes #2351
2016-04-25 16:47:36 +02:00
Evert Timberg
a417e78b80
Remove unnecessary partial sentence
2016-04-24 17:12:29 -04:00
Evert Timberg
57b4325709
Doc updates for other chart types
2016-04-24 17:07:41 -04:00
Evert Timberg
74199235d3
Point styles
2016-04-24 16:30:19 -04:00
Evert Timberg
1ce1f0c41a
Line chart docs
2016-04-24 16:28:47 -04:00
Evert Timberg
e70a1c85cf
Mention what type of color options are supported
2016-04-24 16:28:10 -04:00
Evert Timberg
c1d7725ae0
Merge pull request #2340 from DaanDeMeyer/documentation-fixes
...
Documentation fixes
2016-04-23 18:27:35 -04:00
Daan De Meyer
d1c3612a50
Changed occurrences of "charts.defaults.Bar" to "charts.defaults.bar"
2016-04-23 23:54:40 +02:00
Daan De Meyer
938ecdfc97
Changed occurrence of "charts.defaults.Line" to "charts.defaults.line"
2016-04-23 23:52:26 +02:00
Evert Timberg
b2e162f2d7
Merge pull request #2339 from nnnick/docs/2.0-updates
...
Docs/2.0 updates
2016-04-23 17:45:16 -04:00
Daan De Meyer
88148b41f5
Changed two occurrences of percentageInnerCutout to cutoutPercentage which is the actual field name in the doughnut/pie options
2016-04-23 22:55:16 +02:00
Daan De Meyer
f840216326
Added dots to labels options in global.defaults.legend .
2016-04-23 22:54:13 +02:00
Evert Timberg
d583a7bf19
Fix #2324
2016-04-23 10:45:23 -04:00
Nick Downie
907f0c9bba
Update browser support spec for 2.0
2016-04-23 14:34:57 +01:00
Nick Downie
527e7d9b7a
Update colours + example values in docs
2016-04-23 14:25:58 +01:00
Evert Timberg
32db92c7e1
Merge pull request #2314 from jachstet-sea/consistent_option_names_pt1
...
Consistent option names pt1
2016-04-22 22:52:34 -04:00
Evert Timberg
f6f8fe5959
Add in a beforeRender plugin event. Makes it easier to handle things that need to happen once at the start of animation but not on every frame
2016-04-22 21:04:55 -04:00
Jannis Achstetter
b21d147608
Update the docs
2016-04-21 16:29:05 +02:00
Jannis Achstetter
4d4271e6c4
Update the docs
2016-04-21 09:41:28 +02:00
Huw
719581e2e0
Fix tooltip example caretHeight to caretSize
2016-04-19 15:59:13 +01:00
Nick Downie
fa27842736
Split doughnut/pie example into two code block
...
Odd change - but makes tempting the documentation a lot simpler
2016-04-18 22:30:10 +01:00
Kammy
f006541652
fix typo
2016-04-19 00:31:19 +09:00
Evert Timberg
9abc63b11e
Plugin event in destroy
2016-04-17 18:55:20 -04:00
Evert Timberg
43438d6303
Update doc version #
2016-04-17 12:39:09 -04:00
Evert Timberg
3f8681a1e4
Documentation for creating plugins
2016-04-17 12:25:58 -04:00
Evert Timberg
ca461479a8
Update docs
2016-04-16 21:50:45 -04:00
Evert Timberg
d5af01b2c7
Remove old doc files
2016-04-16 21:13:44 -04:00
Evert Timberg
c74196efc7
Update docs file for start angle and sweep properties
2016-04-16 21:10:31 -04:00
Tanner Linsley
af1adf6b84
Merge branch 'master' into v2.0-dev
2016-04-16 18:13:23 -05:00
Jamie Penney
8fca9540ab
Document the point radius setting
2016-04-10 11:15:55 +12:00
Jamie Penney
8c2bc34b9c
Fix whitespace in Line Chart documentation
2016-04-10 11:04:23 +12:00
Evert Timberg
488826ace3
Update doc file to indicate that category scale supports min/max attributes
2016-04-02 23:07:41 -04:00
Evert Timberg
0b56ea452f
Minor doc fixes
2016-04-01 22:12:37 -04:00
Evert Timberg
f39fa53a7e
Fix doc titles
2016-03-26 10:57:43 -04:00
etimberg
60a429f5cb
Update doc version
2016-03-23 19:22:43 -04:00
Evert Timberg
bf724abe8b
Fix axis IDs in documentation
2016-03-14 19:43:21 -04:00
Ivan Samoylenko
81e1448836
Added 'borderSkipped' parameter to Rectangle.
2016-03-13 18:58:36 +03:00
Aaron Miller
668b532fbe
Add angleLineInterval option to radar chart
2016-03-13 09:59:19 -04:00
Ivan Samoylenko
72b0ef2df0
Missing whitespaces and code markup fixes
2016-03-13 14:47:37 +03:00
Evert Timberg
9bcc3ca34c
Allow ticks.fixedStepSize or ticks.stepSize options to mean the same thing
2016-03-06 08:56:31 -05:00
Evert Timberg
c3f765857e
Fix some time rounding problems
2016-03-05 22:58:34 -05:00
Matthias Winkelmann
d5f837843e
Fixes nnnick/Chart.js#2086 by introducing a new time.parser option with high priority to replace the (deprecated) time.format
2016-03-02 13:53:35 +01:00
Evert Timberg
111ada730c
Fix typo in docs. Fixes #1042
2016-02-15 16:42:23 -05:00
Tanner Linsley
eb2b04a9ff
Documentation Updates for UMD support
2016-02-12 23:03:44 -07:00
Robert Becker
55f9b68b0c
Updated build and documentation
2016-02-09 13:04:07 +01:00
Robert Becker
e9c18f603d
Merged remote-tracking branch 'upstream/v2.0-dev' into v2.0-dev to fix conflicts.
...
Refactored linear scale fixed step size implementation.
Added nbproject to .gitignore
2016-02-09 12:56:16 +01:00
etimberg
37883689ad
Fixes #1144 with an update to the docs to indicate that labels are required for each point
2016-02-07 19:58:15 -05:00
etimberg
ee16c1edbc
Update docs for #1144
2016-02-07 19:55:32 -05:00
etimberg
9cf31da4c9
Add docs for global font options
2016-02-07 19:48:39 -05:00
Robert Becker
80ede9b9bb
Added documentation for fixedStepSize.
...
Reformatted scale.linear.js to match original indenting.
2016-02-05 09:28:50 +01:00
Mathias Küsel
655c1152eb
Adds different point styles
2016-01-16 18:07:57 +01:00
Mathias Küsel
24e4a924c4
Add option to disable line drawing
2016-01-14 13:39:06 +01:00
Evert Timberg
5070059ac1
Add template option for point labels + test + doc update
2016-01-09 14:39:43 -05:00
Tyler Romeo
c5f141306f
Added documentation about tooltip templates
...
It can be a little unclear what the actual format for tooltip templates are. Added information concerning how the tooltip templates are evaluated, and what context, i.e., variables, is available inside of them.
2016-01-08 20:02:45 -08:00
Morley Zhi
84a6eb4a3b
Updates
...
(1) Only limit gridlines when maxTicksLimit is defined, so we don't blow up the tests.
(2) Add a note about running tests in CONTRIBUTING.md
(3) Rebuild files
2016-01-07 11:40:26 -05:00
Morley Zhi
6478f93ded
Use ticks.maxTicksLimit to limit gridlines ( fixes #1859 ); use getValueOrDefault for resolving the maxTicksLimit option
2016-01-07 10:44:56 -05:00
Evert Timberg
5a5d698b11
Fix some errors with docs that were noticed when building
2015-12-28 08:29:54 -05:00
Damian Silbergleith Cunniff
fd2344dd5f
Update the docs to reflect the new feature
2015-12-26 09:47:59 -07:00
Prashanth Chandra
8e7162ca91
Add missing comma
2015-12-22 17:50:11 +08:00
Evert Timberg
63b14dc2a9
Merge pull request #1810 from olyckne/fix/ticks_callback
...
Fix ticks callback and auto skip
2015-12-21 08:23:55 -05:00
Mattias Lyckne
888a8dd797
Update docs
2015-12-21 14:21:51 +01:00
Evert Timberg
5f4e8a4c13
Merge pull request #1794 from nnnick/update-scale-lifecycle
...
Update Scale Lifcycle
2015-12-19 14:29:49 -05:00
akagroundhog
421e294e2c
xPadding/yPadding fix in 00-Getting-Started.md
...
xPadding is horizontal padding (left & right), yPadding is vertical padding (top & bottom).
2015-12-19 00:19:32 +03:00
Evert Timberg
c8d3831152
Split out data limits step of scales into it's own step. Wire up callbacks from the options to those in the scale life-cycle. Updated the docs accordingly
2015-12-17 09:21:04 -05:00
etimberg
9aee15fe6c
Updated docs
2015-12-15 20:19:32 -05:00
Evert Timberg
6d490fbbbb
Merge pull request #1779 from olyckne/adds_min_and_max_to_y_axes
...
Adds min and max setting to axes
2015-12-14 21:55:17 -05:00
Mattias Lyckne
968db4e783
Adds min and max setting to axes
2015-12-14 09:22:34 +01:00
Evert Timberg
c2ee14dec9
Update docs. Improved pie / polar area docs. Updated advanced docs regarding extending scales / chart types
2015-12-13 15:29:57 -05:00
Evert Timberg
716e303230
Call animation callbacks. Created a sample file that shows their use by updating a progress bar during the animation. Updated the documentation to show how they are called.
2015-12-12 10:01:08 -05:00
Derek Perkins
4add69432f
Merge pull request #1750 from nnnick/v2.0-legend
...
Legend and Title Support
2015-12-11 18:52:26 -07:00
Daniel Chesterton
4eed79ee52
Lowercase NPM package name
2015-12-11 23:58:56 +00:00
Evert Timberg
819f865723
Merge branch 'v2.0-dev' into v2.0-legend
...
Conflicts:
src/controllers/controller.doughnut.js
2015-12-07 22:10:38 -05:00
Evert Timberg
a2e1a97382
Update docs + remove unused config option since we don't need 2 different callbacks.
2015-12-07 21:52:15 -05:00
Evert Timberg
20b9395585
Merge pull request #1745 from nnnick/fix/1710
...
Remove unused tooltip options
2015-12-07 17:46:49 -05:00
Evert Timberg
eba2fce923
Docs + move defaults to correct place.
2015-12-06 11:19:55 -05:00
Evert Timberg
7ab2a5ed9a
Remove unused xOffset property from the tooltip. Use the multiKeyBackground. Update documentation accordingly.
2015-12-06 09:38:19 -05:00
Evert Timberg
28fc6841f3
Add tooltipFormat option to time scale options.
...
Fix bars when displayed on a time scale.
Updated sample files.
2015-12-05 19:33:33 -05:00
etimberg
ccb1c68b65
Update docs
2015-11-30 20:47:49 -05:00
Evert Timberg
e5ee242dc6
Merge branch 'v2.0-dev' into v2.0-beta1-docs
...
Conflicts:
docs/01-Scales.md
2015-11-29 11:32:57 -05:00
Evert Timberg
9dbc5650ed
Initial update to line and bar docs
2015-11-29 11:30:39 -05:00
Evert Timberg
0052ceb7a1
Initial update to scale documentation
2015-11-29 10:58:01 -05:00
Evert Timberg
349586e14c
Merge pull request #1695 from nnnick/fix/consistent-display-parameters
...
Fix inconsistent display parameters
2015-11-29 10:16:20 -05:00
Evert Timberg
c4b30a7b0e
Update getting started docs
2015-11-29 10:04:46 -05:00
Marius Meißner
e84d27dde7
Fixed wrong structure of example data
2015-11-27 08:34:32 +01:00
Evert Timberg
5f7507c324
Update docs
2015-11-24 19:21:09 -05:00
Evert Timberg
cf1f772157
Merge pull request #1693 from wcatron/basic-documentation
...
Add descriptions for options in documentation.
2015-11-24 18:22:33 -05:00
wcatron
8e9fef27c2
Add more explanation of bar and category percentage.
2015-11-24 14:25:15 -05:00
wcatron
75fb79f814
Fill out descriptions and add link to scales.
2015-11-24 14:06:38 -05:00
wcatron
f4ef56993d
Add full description text for scales.
2015-11-24 13:36:48 -05:00
Evert Timberg
3bfbf10cff
Merge pull request #1689 from wcatron/basic-documentation
...
Update getting started example code.
2015-11-24 08:03:26 -05:00
wcatron
4d48ab5109
Add suggested min and max to documentation.
2015-11-24 02:28:15 -05:00
wcatron
c75c21105a
Create very simple getting started example code.
2015-11-23 23:59:24 -05:00
Evert Timberg
830cf33c1f
Merge pull request #1687 from wcatron/basic-documentation
...
Converting documentation to tables - radar, polar, and pie
2015-11-23 22:37:04 -05:00
wcatron
a0377362d7
Update remainder of tables for radar, polar, and pie.
2015-11-23 19:32:38 -05:00
Evert Timberg
420290969e
Merge pull request #1684 from wcatron/basic-documentation
...
Converting documentation to tables - scales, line, and bar
2015-11-23 18:16:27 -05:00
wcatron
dc152f875f
Clean up periods and comments.
2015-11-23 12:09:40 -05:00
wcatron
a4a07df612
Update options to tables, update example for bar.
2015-11-23 12:03:38 -05:00
Evert Timberg
a08f8b3015
Fix typo
2015-11-22 13:26:01 -05:00
wcatron
1580d1ed4d
Update line chart documentation options to table.
2015-11-19 19:55:12 -05:00
wcatron
34aaeac421
Update getting started documentation default options w/ table.
2015-11-19 16:14:13 -05:00
wcatron
5400a61ff1
Update doughnut documentation for intiializer and data.
2015-11-19 11:47:47 -05:00
wcatron
942cf5e718
Update Rader initializer and data structure keys.
2015-11-19 11:43:00 -05:00
wcatron
f32d62722a
Update initializer documentation for Bar.
2015-11-19 11:35:38 -05:00
Pascal Richier
3d15e1ff54
Update doc for options.ticks.maxTicksLimit
2015-11-07 01:46:14 +01:00
Pascal Richier
178880bace
Update doc for options.ticks.maxTicksLimit
2015-11-07 01:42:19 +01:00
Jáchym Toušek
68255893cf
typo
2015-11-03 13:49:34 +01:00
Levi Thomason
92841cd38a
fix getting started global chart config typo
2015-11-01 23:03:14 -08:00
Tanner Linsley
dac859ec1c
Rename 01-Scales to 01-Scales.md
...
Closes #1574
2015-10-26 12:47:37 -06:00
Yan Fan
b87106c181
Add npm info to getting started doc.
2015-10-26 11:41:01 -07:00
etimberg
082391e385
Update docs a bit for new items. Small updates for tooltip labels.
2015-10-18 18:14:56 -04:00
Tanner Linsley
82541248a1
Getting Started.... again.
2015-09-29 16:32:43 -06:00
Tanner Linsley
39340fa412
Update Getting Started and created Scales documentation
2015-09-29 13:29:53 -06:00
NLZ13
8481811110
Fix span closed before appending the label
2015-09-13 00:33:51 +02:00
Barry Gitarts
b601e2c2a1
adding template language reference to docs
2015-09-12 09:02:26 -04:00
Ben Gesoff
8983929f18
fixed very small typo
...
wrong it's
2015-09-04 17:08:58 +01:00
Evert Timberg
04d1f0f710
Category scale filter function will hide the grid line if null
or undefined
returned.
2015-08-23 13:20:43 -04:00
Nils Asmussen
a14309d95f
Added tooltipTitleTemplate option.
2015-08-22 13:47:01 +02:00
Ben Gesoff
c276c3a974
fixed two typos
...
wrong it's
2015-08-17 16:37:01 +01:00
Evert Timberg
32f4f1e54a
Merge pull request #1367 from achichenin/patch-1
...
Update 00-Getting-Started.md
2015-08-08 08:46:01 -04:00
achichenin
1cdc046566
Update 00-Getting-Started.md
...
tiny typo fix
2015-08-08 15:15:57 +03:00
Pratyush Mittal
ca0ece37e6
Added documentation for maxRotation of labels
2015-08-08 14:07:24 +05:30
Michaël Gallego
0c6f37fff7
Add support for mirror option
2015-08-05 17:40:44 +02:00
Tanner Linsley
43f19359a9
Merge pull request #1308 from eunicekokor/patch-1
...
Update 00-Getting-Started.md
2015-07-22 11:32:08 -06:00
Evert Timberg
f56a7db8fc
Merge pull request #1181 from paulmasson/master
...
Update CDN link
2015-07-18 08:01:29 -04:00
eunice
804fcea46a
Update 00-Getting-Started.md
...
Closes a small issue I found while going through the documentation https://github.com/nnnick/Chart.js/issues/1307
2015-07-13 17:45:27 -07:00
Guy
dc58699ee7
Hover missing in parameter name
...
In the 1st dataset, the second time "pointBorderWidth" appeared it was under a comment referring to hover so I corrected it to be "pointHoverBorderWidth". Also in the 2nd dataset. Needs to be tested.
2015-07-05 12:32:03 +03:00
Evert Timberg
06a2c52b26
Update scale docs.
2015-06-22 19:47:51 -04:00
Evert Timberg
255bdc700e
Line chart doc updates
2015-06-22 19:05:50 -04:00
Evert Timberg
880ae3a474
Update getting started docs
2015-06-22 18:46:12 -04:00
Amir E. Aharoni
02616b9f17
Fix the spelling of "separate"
2015-06-23 01:01:59 +03:00
paulmasson
d1cccd3546
Update CDN link
2015-06-08 16:45:47 -07:00
Evert Timberg
9e9f436454
Bar config cleanup + some initial docs
2015-06-03 20:55:17 -04:00
Evert Timberg
996e471171
Missed some commas
2015-06-03 20:49:22 -04:00
Evert Timberg
9c106aa8ff
Some more line options
2015-06-03 20:46:35 -04:00
Evert Timberg
7dcee4b40e
Additional fixes to line chart docs
2015-06-03 20:33:50 -04:00
Evert Timberg
f12d1bcb56
Cleaned up line docs a bit and remove unnecessary options
2015-06-03 20:25:43 -04:00
Evert Timberg
b9ab70f21b
Cleaned up global config + documentation of global config options
2015-06-03 19:54:34 -04:00
Evert Timberg
4e3dd8ae3f
Merge pull request #1066 from tannerlinsley/add-stacked-area
...
Add StackedArea chart type to community extensions
2015-05-06 20:31:27 -04:00
Wouter Sioen
aad966820e
Fix a typo: segment vs segement
...
Fix typo in PolarArea
Update 04-Polar-Area-Chart.md
2015-05-05 16:31:00 +02:00
William Entriken
b0a780822a
Merge pull request #1025 from pijey/feature/offsetgridlines-linechart
...
Add offsetGridLines option to Line charts
2015-04-16 15:27:43 -04:00
Tanner Linsley
e69aa04918
Add StackedArea chart type to community extensions
2015-04-16 00:50:08 -06:00
Nick Downie
c7f52f516c
Derped HTML attributes.
2015-04-13 16:35:14 +01:00
dima117
9605409838
Update 06-Advanced.md
...
https://github.com/nnnick/Chart.js/issues/1060
2015-04-13 15:39:44 +03:00
Evert Timberg
972bc5636d
Merge pull request #711 from cmweiss/master
...
Default color for Doughnut/Pie
2015-04-09 11:25:45 -04:00
pijey
2677360f4b
Add offsetGridLines option to Line charts
2015-03-25 11:51:56 +01:00
GitGal
f7ed97a33e
Update 00-Getting-Started.md
...
Move Possible effects list above animationEasing
2015-03-24 18:17:41 +01:00
gitgal
fc0434b3da
add all possible easing animations to 00-Getting-Started.md
2015-03-24 18:07:35 +01:00
William Entriken
cb113c6452
fixes #927
2015-03-17 10:12:01 -04:00
William Entriken
4b09072c2a
Fixes #915
2015-02-03 14:09:17 -05:00
William Entriken
8244dd1271
Merge pull request #551 from mparramont/patch-1
...
Fix global config multiTooltipTemplate comment
2015-01-27 14:04:10 -05:00
William Entriken
654e02763f
Merge pull request #553 from johnheroy/master
...
Documentation: change lineColor to strokeColor for the first 3 example charts
2015-01-27 14:03:13 -05:00
Christopher Weiss
0f49be56a4
Update 05-Pie-Doughnut-Chart.md
2015-01-26 16:33:24 -05:00
Nick Downie
bdb49e6396
Merge pull request #611 from fntneves/feature/toggle-grid-lines
...
Add option to toggle grid vertical/horizontal lines
2015-01-07 22:44:59 +00:00
Nick Downie
05dbcd3a72
Merge pull request #840 from tannerlinsley/master
...
External Tooltips, Documentation and Samples
2015-01-07 22:44:02 +00:00
Tanner Linsley
64de3eb711
externalTooltips now labeled customTooltips
2015-01-06 22:53:30 -07:00
Tanner Linsley
8c1e9588a1
External Tooltips, Documentation, and Samples
2014-12-30 13:05:11 -07:00
Jake
d320ce6eaf
Merge pull request #750 from CAYdenberg/nnnick
...
Added link to CAYdenberg/Chart.js
2014-12-29 17:21:59 -05:00
Mieszko
f18b7ebd57
Minor typos
2014-12-09 11:11:49 +01:00
Casey Ydenberg
71bf3c8ee5
Added link to CAYdenberg/Chart.js
2014-11-11 15:11:30 -07:00
John Heroy
27a121c6b2
Change 'strokeColor' to 'fillColor' on 02-Bar-Chart.md
2014-09-25 09:49:20 -07:00
Francisco Neves
a406fdae58
Update docs for toggle Horizontal/Vertical Lines feature
2014-09-08 17:49:19 +01:00
John Heroy
e6cbd9dc7f
Change lineColor to strokeColor in legendTemplate for Line, Bar, and Radar charts
2014-08-19 22:42:39 +08:00
Miguel Parramon
f825a31ce4
Fix global config multiTooltipTemplate comment
2014-08-19 13:19:37 +02:00
Nick Downie
d47e600f1a
Docs note on maintain aspect ratio option
2014-07-27 23:12:03 +01:00
Tim Klingeleers
cdfdc3c3e2
Missing draw method in Writing new chart types
...
Added the draw method to "Writing new chart types". If you use the template without the draw method, you get an undefined error because Chart.Type.prototype.render calls this.draw() on line 808 in Chart.Core.js.
2014-07-08 13:15:23 +02:00
Nick Downie
ef5081184f
Community chart types / extensions list
2014-07-06 22:59:57 +01:00
James Brooks
e139ab8596
Make javascript JavaScript and Github GitHub
2014-06-30 11:50:35 +01:00
Nick Downie
28dd492460
Extending chart types docs typo error
2014-06-30 10:04:01 +01:00
Nick Downie
dc6d5bc934
Add new docs as markdown files
2014-06-29 18:35:49 +01:00
Nick Downie
a04082dba1
Remove site from repo
2014-06-29 17:38:59 +01:00
Ider
0638674145
Correct default scaleShowLabels value to match js file setting
...
default scaleShowLabels value for Line and Bar is true in js file, but
it is false in document page.
Correct document page to match the value to reduce the confuse
2013-05-30 19:58:31 -07:00
Nick Downie
75f4d21968
There are too many versions of Chart.js
2013-03-25 19:50:18 +00:00
Nick Downie
552de1f21c
Added docs site to the project
...
Font's probably won't be server from typekit.
2013-03-25 19:01:46 +00:00