Commit Graph

62 Commits

Author SHA1 Message Date
Gion Kunz
1f677569eb Fixed rounding issues where raw value was added instead of rounded, fixes #815 2016-10-23 21:29:46 +02:00
Gion Kunz
6076b7df0a Changed order or drawing pie and donut slices, fixes #700 2016-10-22 12:19:01 +02:00
Gion Kunz
4a636bc7fb Cleanup refactoring for data management and normalization, fixes #754 2016-10-22 00:36:37 +02:00
Gion Kunz
8ad40d1b0d Cleanup of data normalization changes #633 and allows Date object and boolens as values 2016-10-21 22:15:53 +02:00
Gion Kunz
fd1dac175f Fixed line chart test formatting 2016-10-21 18:19:19 +02:00
Gion Kunz
9ea1f7c25f Merge pull request #798 from AlexvEck/bug/#716-NaN-for-LineChart-when-single-value
Fix for #716 Single value in LineChart not drawn on y axis.
2016-10-19 15:55:43 +02:00
Alexander van Eck
e18c3a8de4 Added a check when calculating stepLength to only stretch ticksLength if > 1. Added test to Axes and LineChart 2016-10-19 15:48:28 +02:00
Gion Kunz
aae0102760 Merge pull request #799 from AlexvEck/bug/#713-axisY-labels-off-by-one-with-invalid-position
Suggested fix for #713 position of axisY labels
2016-10-19 15:48:08 +02:00
Joao Milton
ea8ec8b42d Create test 2016-10-04 20:46:27 +00:00
Alexander van Eck
4f3f7624c1 If axisOptions.position is not start set Label className to 'end' classname 2016-09-30 01:10:39 +02:00
Alexander van Eck
1ec4ebf894 created empty values test to make sure Pie renders without NaN values and points. 2016-09-29 14:00:00 +02:00
hansmaad
719f86188d Add grid background to bar chart. 2016-07-04 09:36:58 +02:00
hansmaad
401731c99b Add grid background to line chart. 2016-07-04 09:28:00 +02:00
hansmaad
391d2f2629 Add createGrid unit tests. 2016-07-01 11:26:55 +02:00
hansmaad
099ab6aa03 Fix infinite loop in getBounds with a more robust increment.
This is related to bfdc8f2 which introduced a EPSILON as the smallest increment but fails for bigger numbers.
2016-06-23 09:53:02 +02:00
Gion Kunz
4453299f43 Fixed linting issue 2016-06-22 08:55:25 +02:00
James Watmuff
1a6775868a Code style fix 2016-03-29 21:22:34 +11:00
James Watmuff
833beaeb85 Add test for monotoneCubic interpolation 2016-03-29 21:22:34 +11:00
James Watmuff
36f7e7de84 Refactor splitIntoSegments into core 2016-03-29 21:22:34 +11:00
hansmaad
bfdc8f2617 Fix #643 Prevent infinite loop in getBounds if bounds.valueRange is very small.
Add check for bounds.step to be greater than EPSILON.
2016-03-18 15:02:04 +01:00
hansmaad
e38aa2757d Add unit tests for Chartist.getBounds 2016-03-18 14:59:23 +01:00
Gion Kunz
3f8e629e61 Fixed bug with label and grid rendering on axis, fixes #621 2016-02-23 10:32:55 +01:00
Gion Kunz
cd2a6c7556 Refactored namespaced attribute handling, fixes #584 2016-02-21 10:29:41 +01:00
Gion Kunz
b7c16ddeb7 Allow charts to be created without data and labels, fixes #598, fixes #588, fixes #537, fixes #425 2016-01-24 21:07:38 +01:00
Paul Salaets
5b79ae7775 ensure ct:value has values that are zero 2016-01-23 11:13:24 -05:00
Paul Salaets
f3a433efe4 use === since it's comparing primitives 2016-01-23 10:59:53 -05:00
Paul Salaets
8356b883db render 0 in ct:value attribute for line graphs 2016-01-23 02:16:16 -05:00
Stephen
6497a9188c Allow empty pie chart values to be ignored
Empty pie chart values can render with overlapping labels. This adds a
configuration option to allow them to be ignored when rendering the pie
chart.
2016-01-10 16:01:29 +00:00
hansmaad
ec00b72603 Fix pie render issues with overlaps and full circle arcs. 2015-12-17 10:49:03 +01:00
hansmaad
d4fe5100ca Fix #527 Pie render issue with small angles. 2015-12-16 10:59:21 +01:00
Carlos Morales
26cbdeccaf fixes #411: Order scale axis tick 2015-11-14 18:10:08 +01:00
Carlos Morales
d10944ae74 fix jshint errors on spec-pie-chart.js 2015-11-14 16:15:13 +01:00
hansmaad
155bbac3aa Implement relative donutWidth. 2015-09-29 16:18:46 +02:00
hansmaad
96244ad55c Implement stripUnit with quantity. Oops fdescribe. 2015-09-29 15:47:45 +02:00
hansmaad
7475b5089c Add Chartist.quantity 2015-09-29 15:44:37 +02:00
hansmaad
5628b4a9fb Add unit tests for simple pie and gauge chart. 2015-09-29 15:25:00 +02:00
Gion Kunz
9e1f2d5f66 Fixed tests and stabilized multi dimensional value handling 2015-06-09 14:32:03 +02:00
Gion Kunz
7e524e4522 Greatly reduced CSS selector complexity and split slice into slice-pie and slice-donut 2015-06-07 10:32:48 +02:00
Gion Kunz
b7ebb604bc Added better handling for area drawing with segmented paths, fixes #340 2015-06-03 00:38:24 +02:00
Gion Kunz
0258a58456 Normalization should not fill with 0 but with undefined now that we support holes in line charts, fixes #294 2015-05-08 10:45:25 +02:00
Gion Kunz
aafb4e8789 Added functionality to handle holes in line charts, fixes parts of #294 2015-05-08 10:19:40 +02:00
Gion Kunz
6e8a84e6c5 Fixed tests for 34d303d 2015-05-07 18:32:28 +02:00
Gion Kunz
a240fad16e Fixed bug with pie chart meta data not rendered on slice, fixes #272 2015-05-07 13:41:09 +02:00
Gion Kunz
85e4e37f4b Refactored getDataArray for simplification and fixed type conversion issue with data arrays for pie charts 2015-04-24 14:23:44 +02:00
Gion Kunz
6907908bbe Added possibility to use padding object with individual properties, fixes #195 2015-02-27 18:27:27 +01:00
Gion Kunz
ab8a5f23b8 Fixed chart update function options override and double creation issue, fixes #206 2015-02-27 16:09:06 +01:00
Gion Kunz
f5a65b655f Fixed tests after jasmine update 2015-02-12 22:13:24 +01:00
Gion Kunz
8368873ae9 Added SVG Path API for manipulating SVG paths, fixes #173 2015-02-01 03:06:47 +01:00
Gion Kunz
e927adfdf9 Fixed issues with 0 values in series object data notation, fixes #172 2015-01-31 18:45:27 +01:00
Gion Kunz
3f5e1e5641 Extracted generic meta data function, fixes #161 2015-01-27 23:35:10 +01:00