Commit Graph

1934 Commits

Author SHA1 Message Date
Adam Templeton
6f1344d4e9 fix for null tooltip bug 2016-06-30 11:34:53 -05:00
Evert Timberg
f2bbe32150 Merge pull request #2865 from nmac143/master
Pie chart borders truncated #2844
2016-06-29 20:30:02 -04:00
nmac143
426466d051 Fixed truncation of pie chart borders 2016-06-29 19:39:10 -04:00
Evert Timberg
35e3f01f01 Merge pull request #2857 from chartjs/fix/2809
Polar area graph scale should start at 0 by default
2016-06-28 21:59:39 -04:00
Evert Timberg
266df5e877 Merge pull request #2863 from Mesonyx/mesonyx/feature/x-axis-highlighting
adds x-axis hover option for charts and tooltips, highlights all dots…
2016-06-28 16:15:04 -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
Adam Templeton
103957c4e0 adds x-axis hover option for charts and tooltips, highlights all dots on x-axis upon x-axis hover 2016-06-28 14:15:12 -05:00
Evert Timberg
9082507c1c Merge pull request #2555 from simonbrunel/travis-dist
Travis GitHub Releases
2016-06-28 08:39:57 -04:00
Evert Timberg
0dfb3bccfb Merge pull request #2860 from azranel/fix-scale-links-in-docs
Change ID links for scales objects
2016-06-28 07:26:42 -04:00
Evert Timberg
1ee8cb5c3a Merge pull request #2789 from awallat/awallat-patch-tooltip-multiple-datasets
Fix tooltip not shown for missing dataset-value
2016-06-28 07:26:05 -04:00
Bartosz Łęcki
e1a1d9cd6d Change ID links for scales objects 2016-06-28 12:22:41 +02:00
André Wallat
72f423fb95 Fix tooltip not shown for missing dataset
When two datasets are shown and they don't have the same x-coordinates, then the position of the tooltip is not calculated correctly, when using mode 'label' or 'dataset'. This fix checks if the position of every dataset exists, before it is used.
2016-06-28 09:45:08 +02:00
Evert Timberg
c2e37ce8e2 Polar area graph scale should start at 0 by default 2016-06-27 22:25:38 -04:00
William Entriken
f2270ed8db Merge pull request #2741 from duerahan/master
time type xAxis height crah in line chart #2622
2016-06-27 13:59:41 -04:00
Evert Timberg
4504455231 Merge pull request #2848 from ronaldgrn/patch-1
Fix line example not showing Scale Titles
2016-06-26 14:01:01 -04:00
ronaldgrn
886803aa84 Fix line example not showing Scale Titles
scaleLabel should have display: true instead of show: true
2016-06-26 14:07:51 -03:00
Zach Panzarino
9560064138 Merge pull request #2841 from chartjs/fix/2839
Fix typo in tooltip docs
2016-06-23 22:32:09 -04:00
Evert Timberg
5c36e0de65 Fix typo in tooltip docs 2016-06-23 19:40:45 -04:00
Evert Timberg
be32a4c6f0 Merge pull request #2823 from chartjs/fix/2708
Use the scale center point for the polar area chart center
2016-06-22 22:07:53 -04:00
Evert Timberg
3cf1cfa3de Fix JSHint warning 2016-06-22 21:48:49 -04:00
Evert Timberg
3280003f86 Merge pull request #2811 from chartjs/fix/span-gaps-global
Span gaps option should be specified at the chart level
2016-06-22 21:46:12 -04:00
Evert Timberg
0e276c968a Merge pull request #2821 from chartjs/fix/2526
Gracefully handle creating the chart with no config
2016-06-22 21:46:06 -04:00
Evert Timberg
05d41daa9e Merge pull request #2822 from chartjs/fix/2604
Allow passing a value to the time scale getPixelForValue method
2016-06-22 21:45:59 -04:00
Evert Timberg
07b6ca80ee Merge pull request #2828 from Kopleman/master
Fix statements in for() in tooltips's getAveragePosition.
2016-06-22 21:45:32 -04:00
Alexey Kopleman Dvurechensky
a9e0f2cae6 Fix statements in for() in tooltips's getAveragePosition. 2016-06-22 14:58:12 +03:00
Evert Timberg
0871dd96a5 Use the scale center point for the polar area chart center 2016-06-21 19:57:13 -04:00
Evert Timberg
48ac791a0c Allow passing a value to the time scale getPixelForValue method 2016-06-21 19:03:30 -04:00
Evert Timberg
553b20dc44 Gracefully handle creating the chart with no config 2016-06-21 18:45:22 -04:00
Evert Timberg
ebaade5d16 Merge pull request #2800 from simonbrunel/#2734
#2734 Fix JSHint warnings
2016-06-20 14:42:59 -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
782b84ae94 Make Travis to release the npm package
Add .npmignore to include dist/*.js files to the npm release (but exclude zip files). See https://docs.travis-ci.com/user/deployment/npm/. Also cleanup the .gitignore file.
2016-06-18 12:14:32 +02:00
Simon Brunel
53a0c5442e New Chart.js.zip package
Samples need to be packaged with built libraries (which one have been removed from the repository), so create a new `gulp package` task to generate a ZIP archive with dist files, samples and the license file. This archive is generated in the ./dist/ folder and will be deployed by Travis along the GH release. Note that the ./dist/ folder is not preserved but merged in the archive root. Also change samples requiring moment.js to load this lib from the CDN instead of the ./node_module folder.
2016-06-18 12:14:31 +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
Simon Brunel
20f8beffc4 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.
2016-06-18 12:14:29 +02:00
Simon Brunel
72edacd877 Make Travis to deploy built files for tags
See https://docs.travis-ci.com/user/deployment/releases
2016-06-18 12:14:28 +02:00
Simon Brunel
47912f49b4 Remove duplicated function names 2016-06-18 11:15:25 +02:00
Simon Brunel
f36123925c Fix #2734 Cleanup unused variables 2016-06-18 11:00:11 +02:00
Evert Timberg
07662b158d V2.1.6 with tooltip array fix 2016-06-14 19:32:24 -04:00
Evert Timberg
0720608e64 Merge pull request #2776 from chartjs/fix/2775
fix tooltip with array returns
2016-06-14 19:31:10 -04:00
Evert Timberg
f106e1bf2d fix tooltip with array returns 2016-06-14 19:19:15 -04:00
Evert Timberg
44e4004589 Merge pull request #2760 from chartjs/2.1.5_release
Bump version to 2.1.5 and build
2016-06-12 13:21:06 -04:00
Evert Timberg
3d03e36408 Bump version to 2.1.5 and build 2016-06-12 13:14:56 -04:00
Evert Timberg
16a6555bc2 Merge pull request #2758 from chartjs/fix/zoom-curved-lines
Do not cap bezier control point locations
2016-06-12 12:18:27 -04:00
Evert Timberg
f3d4ee9333 Capping these to the chart bounds causes lines to bend during pan and zoom 2016-06-12 09:19:33 -04:00
Evert Timberg
5de72a1cdf Merge pull request #2755 from chartjs/fix/2751
Fix pointLabel docs typo
2016-06-11 10:45:31 -04:00
Evert Timberg
7be69ce7e3 Fix pointLabel docs typo 2016-06-11 09:24:55 -04:00
Evert Timberg
647dc582cd Merge pull request #2752 from simonbrunel/plugins-arch
Plugins Enhancement
2016-06-11 08:42:23 -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