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
Evert Timberg
bfa37e7d68
Merge pull request #2926 from chartjs/fix/2915
...
Fix bar and line controllers to convert strings to numbers when stacking
2016-07-13 18:22:11 -04:00
Evert Timberg
3dd15f64d2
Merge pull request #2918 from chartjs/fix/2916
...
Fix time point lines. Improved logic for using the value in the time …
2016-07-13 18:21:57 -04:00
Josh Baker
191c280387
Added support for manually specifying bar thickness in bar charts
2016-07-12 17:31:50 -07:00
Evert Timberg
524493fe06
Merge pull request #2883 from Mesonyx/mesonyx/bugfix/null-tooltips
...
Fix for null value label/x-axis multi-tooltip bug
2016-07-11 10:34:20 -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
609df5fb16
Merge pull request #2885 from neilmacintyre/master
...
cached index and length
2016-07-09 09:12:57 -04:00
Evert Timberg
8226f3432b
Fix JSHint warnings and remove commented code
2016-07-09 09:08:41 -04:00
Evert Timberg
7ca5f91b10
Fix bar and line controllers to convert strings to numbers when considering the values for stacking the chart. Simplified the base calculation for the bar charts and added test coverage to ensure that strings will work correctly.
2016-07-06 18:22:42 -04:00
Evert Timberg
fca419e075
Merge pull request #2924 from jeffesp/master
...
Fixes #2923 : swapped tooltip xAlign & yAlign
2016-07-06 17:57:31 -04:00
Evert Timberg
44a9866bd8
Merge pull request #2870 from chartjs/fix/2802
...
Consider left and top when determining value from pixel in category s…
2016-07-06 17:53:50 -04:00
jeffesp
0c5a17af00
Fixes #2923 : swapped tooltip xAlign & yAlign
2016-07-06 09:49:31 -04: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
Evert Timberg
758698c354
Fix time point lines. Improved logic for using the value in the time scale. Improve value passing in the line and bubble controllers/
2016-07-05 20:52:17 -04: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
Evert Timberg
3cdd66ca58
Merge pull request #2867 from mtanda/fix_stacked_scatter_line_chart
...
Fix to work stacked scatter line chart (fixes #2878 )
2016-07-04 22:57:40 -04:00
Neil Macintyre
8bd0c56b84
cached index and length
2016-06-30 18:10:11 -04:00
Adam Templeton
6f1344d4e9
fix for null tooltip bug
2016-06-30 11:34:53 -05:00
Mitsuhiro Tanda
2bf2be7a9c
fix stacked scatter line chart
2016-06-30 22:28:21 +09: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
3660d9be39
Consider left and top when determining value from pixel in category scale
2016-06-29 07:00:09 -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
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
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
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
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
db8ed6a6c0
Span gaps option should be specified at the chart level
2016-06-20 14:42:09 -04: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
f106e1bf2d
fix tooltip with array returns
2016-06-14 19:19:15 -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
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
Simon Brunel
dfdbd4465c
Allow to register/unregister an array of plugins
...
The plugins service now accepts an array of plugin instances to register or unregister (for consistency, renamed `Chart.plugins.remove` to `unregister`). Also added a few methods to manipulate registered plugins, such as `count`, `getAll` and `clear` (mainly used by our unit tests).
2016-06-11 00:17:44 +02:00
Simon Brunel
a55c17d73f
Enhance plugin notification system
...
Change the plugin notification behavior: this method now returns false as soon as a plugin *explicitly* returns false, else returns true. Also, plugins are now called in their own scope (so remove the never used `scope` parameter).
2016-06-10 22:26:55 +02:00
Simon Brunel
7a419af4c2
Rename plugin service and notification method
...
Rename `Chart.pluginService` to `Chart.plugins` (so move the old Chart.plugins array as a private member of the service), and rename `notifyPlugins` to `notify` for consistency with other service methods.
2016-06-10 22:26:35 +02:00