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
Karan Bhatia
2a7df85180
Add aria-hidden=true attribute to hidden iframe for resizing ( #4400 )
...
Add aria-hidden=true attribute to hidden iframe for resizing. This prevents screen readers in ItemMode from navigating to the hidden iframe.
2017-06-23 18:14:16 -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
961911065f
Fix arguments in plugin interface description
...
* Fixed arguments in IPlugin#before/afterDatasetUpdate description
* Fixed arguments in IPlugin#before/afterDatasetDraw description
2017-06-23 18:08:44 -04:00
Peter-Van-Drunen
bef44ccb46
Ensure that chart dimensions are always >= 0
...
Elements were resizing incorrectly if they were regenerated while the chart was in a div that was display:none. Added a check to avoid this issue. Resolves #4397
2017-06-23 18:08:16 -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
Simon Brunel
5e58114848
Fix filling between datasets of different lengths
2017-06-10 09:44:15 -04:00
Spencer Dellis
9e6a6112a4
Fix Tiny Typo in Labelling.md
2017-06-08 21:08:24 -04:00
etimberg
7423c48eb7
Fix round option for time scales
2017-06-08 06:44:07 -04:00
Evert Timberg
9b8c24c965
Make sure that the border width of the tooltip color box is always correct
2017-06-07 18:50:48 -04:00
Ben McCann
2a9a57e316
Use the latest 6.x LTS release for Travis builds ( #4346 )
2017-06-07 23:21:07 +02:00
Raquel Guimaraes
7ee8da9c7f
Fix broken link on animations page #4324
2017-06-04 20:15:21 -04:00
Evert Timberg
a9308301e3
Fix vertical alignment of legend labels ( #4318 )
...
Ensure that disabled legend style is drawn in the center of the text and that the text is correctly centered in the box.
2017-06-04 19:34:05 +02:00
Evert Timberg
fd49ac9200
Provide a blank default global layout option ( #4319 )
2017-06-04 19:32:44 +02: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
Jerome Touffe-Blin
fa6be2f772
Fix inconsistent aspect ratio
2017-06-04 09:41:13 -04:00
Andrew
f7f177f5ad
Implemented aligment by senior unit in time axis. ( #4267 )
...
Implemented alignment by major unit in the time scale. This allows showing the first tick of a larger unit like days in a special way and is part of the basis of the time series scale.
2017-05-29 18:40:10 -04:00
Ricardo Costa
dab0a7f699
Fix onHover event not being triggered ( #4297 )
...
Fix onHover event not being triggered
The core controller was looking at the wrong object (options.hover) to
find the function to be called on hover. The function is provided on the
top level options object (options.onHover).
By using the helper function, there's no need to verify if the callback
is defined, as the helper already does that.
Fixes #4296
2017-05-28 17:23:20 -04: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
Stephen Boissiere
2258199c22
Add hard coded integer constants for *_SAFE_INTEGER which are not available on IE
2017-05-27 11:56:17 -04:00
Ben McCann
75791988d3
Upgrade dependencies
2017-05-27 10:54:08 -04:00
Ben McCann
1cbba830fd
Refactor time scale methods into a common location
2017-05-26 08:13:12 -04:00
Ben McCann
04ab523dd4
Upgrade dependencies ( #4272 )
2017-05-25 17:53:37 +02:00
Ben McCann
ea725c0d20
Fix code climate badge and link ( #4277 )
2017-05-25 17:52:39 +02:00
Simon Brunel
6ecad0b33c
Attempt to fix the failing deploy step
2017-05-25 16:05:37 +02:00
Evert Timberg
4dda5529b9
Bump version to v2.6.0 ( #4237 )
2017-05-19 22:08:33 +02:00
Simon Brunel
9f67266df3
Deploy to GitHub pages ( #4256 )
...
Add Travis CI task to deploy the docs, samples and dist files to chartjs.github.io for the `release` and `master` branches. A `latest` symbolic links is also created for each folder to the highest version (or `master` if any).
2017-05-19 21:58:34 +02:00
Simon Brunel
0075373bec
Add GA tracking code to docs
2017-05-19 21:44:24 +02:00
Xingan Wang
20452ddb7c
Fix invalid link in area.md ( #4257 )
2017-05-13 19:30:23 +02:00
Simon Brunel
aa76bc6d7e
Enable the 'search-plus' GitBook plugin
2017-05-13 18:17:34 +02:00
Ben McCann
50e2ba953d
Use https to load scripts from CDN in samples ( #4255 )
2017-05-13 17:24:00 +02:00
Jamie McElwain
0bbc3fa8f3
Added width + height arguments to ctx.drawImage
...
Previous functionality meant that images would be drawn at their source file size regardless of whether custom width or height properties were set.
2017-05-13 09:26:20 -04: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
d9542227a8
Remove executable bit from js files ( #4222 )
2017-05-07 19:35:17 +02:00
Ben McCann
9f793a715f
Remove unnecessary variable
2017-05-01 21:37:54 -04:00
Simon Brunel
f0c6b3f834
Fix legend and title layout options update
2017-04-29 11:38:42 -04:00
Ben McCann
34292cb335
Add financial chart type to plugin docs
2017-04-29 11:38:09 -04:00
Ben McCann
8811759e1c
Remove malformed comment
...
Fixes https://github.com/chartjs/Chart.js/issues/4181
2017-04-26 18:53:53 -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