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
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
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
72813d5112
Merge branch 'amlethojalen-master'
2016-07-09 10:02:08 -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
a452094f5d
Add polar area start angle setting
2016-07-09 09:05:02 -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
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
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
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
c2e37ce8e2
Polar area graph scale should start at 0 by default
2016-06-27 22:25:38 -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
0871dd96a5
Use the scale center point for the polar area chart center
2016-06-21 19:57:13 -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
f3d4ee9333
Capping these to the chart bounds causes lines to bend during pan and zoom
2016-06-12 09:19:33 -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
zachpanz88
5fae4dd305
Change this -> me in source files
...
This change allows for smaller minified code in the final version, resulting in a smaller file size. Some files had previously used _this, but that has been changed to me to keep consistency throughout the project.
2016-06-04 14:14:16 -04:00
Evert Timberg
600f5b9ba0
Improve core and polar area
2016-05-30 21:55:58 -04:00
Evert Timberg
a5167cc42d
Reduce duplicated code in doughnut controller
2016-05-30 21:33:11 -04:00
Evert Timberg
fcff496301
Improve bubble controller minification and code duplication.
2016-05-30 19:07:31 -04:00
Evert Timberg
327b8d82f5
Allow turning off lines on a per dataset basis
2016-05-27 22:20:51 -04:00
Evert Timberg
c6eb8bf58c
Line points need always need to pivot after regardless of whether or not bezier points are updated. Bezier points should only be updated if the line tension is not 0.
2016-05-26 20:02:46 -04:00
Simon Brunel
7108f78d2f
Refactor addElements and addElementAndReset
...
Data controllers should now rarely implement addElements and addElementAndReset but instead should define dataElementType (and optionally datasetElementType). Also remove some dead code (e.g. numBars, colorForNewElement, etc.).
2016-05-22 00:25:51 +02:00
Simon Brunel
a566d16e69
Refactor scale base pixel and point calculation.
2016-05-20 20:17:28 +02:00
Evert Timberg
d23b2395ff
Merge pull request #2578 from simonbrunel/optimizations
...
Point element and line controller optimizations
2016-05-18 17:51:37 -04:00
Simon Brunel
93c28a4d5f
Optimize element.point and controller.line
...
Change some helpers.each() to `for` loops when iterating on a potentially large number of items and use more local variables when appropriate (making the minified build a bit smaller).
2016-05-18 00:25:45 +02:00
Evert Timberg
45969a3903
Horizontal bars are similar
2016-05-16 22:17:45 -04:00
Evert Timberg
6bb6e5aa4b
Improve tick width for vertical bars
2016-05-16 22:14:33 -04:00
Blake Niemyjski
a3d75d2087
More perf and minification changes based on feedback
2016-05-14 08:58:42 -05:00
Blake Niemyjski
7e85245e4f
Fixed unit tests :D
2016-05-13 22:39:11 -05:00
Blake Niemyjski
b4a269da19
Updated magnification and possible bug fix in removeHoverStyle
2016-05-13 22:16:28 -05:00
Blake Niemyjski
bea68f1424
Performance and minification improvements
2016-05-13 22:07:39 -05:00
Evert Timberg
d0dd7ceabe
Provide different default tooltip functions for horizontal bar
2016-05-13 19:36:32 -04:00
Evert Timberg
30967ac415
Horizontal bar defaults should skip left edge
2016-05-13 19:13:34 -04:00
Evert Timberg
14021069c3
Merge branch 'master' into file-size-reduction
...
Conflicts:
src/controllers/controller.doughnut.js
src/controllers/controller.polarArea.js
2016-05-12 18:57:22 -04:00
Evert Timberg
47f770c3ef
Merge pull request #2524 from ashiguruma/master
...
Allow canvas patterns instead of colors
2016-05-12 18:20:40 -04:00
Tom Loudon
04d4adda05
Allow pattern hover state in all chart types
...
Updated all chart types to use the helper.getHoverColor. Pattern fills can now be specified for both fill and line portions of a chart. Updates chartjs/Chart.js#1323
2016-05-10 17:28:29 +01:00
Tom Loudon
170fdab6a6
Removed 'background' from hover color helper name.
...
Patterns could be used for style attributes other than background e.g. stroke. Updates chartjs/Chart.js#1323
2016-05-09 07:29:52 +01:00