100 Commits

Author SHA1 Message Date
Bart Van Houtte
869c747be1 - Adjust getColor to support RGB (TODO: HSL colors)
- Add Test to verify changes
2020-10-13 15:45:08 +02:00
silvestrevivo
55c93d4779 reverse array when maxValue < absMinValue 2020-08-30 21:12:53 +02:00
Shivam Mishra
222cbb686f fix: preprocess rect attributes before creating bar 2020-07-08 21:18:52 +05:30
Shivam Mishra
773f93c414 fix: set default translate to 0 if invalid 2020-07-08 21:18:52 +05:30
Shivam Mishra
9d03d502d9 feat: added helper to valid number to svg attributes 2020-07-08 21:16:59 +05:30
Shivam Mishra
d3eabea836 fix: <rect> attribute width bug
Hidden elements have zero width, subtracting offset would make the width negative.
These negative values would cascade down to component creation
2020-06-30 21:56:33 +05:30
Shivam Mishra
4f48d8d597 feat: allow corner radius for heatmap 2020-05-09 17:49:09 +05:30
Shivam Mishra
3e71dd30d4
Merge pull request #282 from scottfr/master
Update axis-chart-utils.js
2020-04-30 14:40:27 +05:30
Shivam Mishra
53d14004bb refactor: multiple linting fixes 2020-04-30 13:57:59 +05:30
Scott Fortmann-Roe
b6f2483fd2 Update axis-chart-utils.js
Fix issue with overlapping labels on seriese charts.
2020-04-19 18:27:16 +01:00
Chinmay D. Pai
2eb61e46c0
fix: match possible whitespace chars at the start
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-23 21:19:46 +05:30
Chinmay D. Pai
2688662c82
fix: improve regex to check if string is hex or rgb
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-23 11:31:26 +05:30
rafael
c6e46886f3 Changed legendDot signature, label truncated when required. 2019-09-11 14:07:19 +02:00
Shivam Mishra
3438fcdb05 fix: update function getSplineCurvePointsStr name 2019-09-09 20:15:05 +05:30
nniclas
2382c4d273
Apply suggestions from code review
Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
2019-08-30 12:54:30 +02:00
Niclas Ostberg
173a6f19c5 linechart spline option 2019-08-23 15:02:01 +02:00
Shivam Mishra
884c52c671
Merge pull request #203 from andreasvirkus/patch-1
Fix reduce warning for empty arrays
2019-08-11 21:18:47 +05:30
Shivam Mishra
e03b5726e1 style: linting fixes 2019-07-30 12:03:38 +05:30
Shivam Mishra
d69b3780d9 feat: added shortenYAxisNumbers option to axisOptions 2019-07-30 11:55:34 +05:30
Shivam Mishra
49afbd8e6c feat: allow full circle in donut chart 2019-07-30 09:52:54 +05:30
Shivam Mishra
f0a24a2ced feat: allow full circle in piechart 2019-07-29 20:09:07 +05:30
Shivam Mishra
e4117952dd fix: longArc for donut chart 2019-07-21 13:40:17 +05:30
Shivam Mishra
3cedc2ac21
Merge pull request #209 from Alchez/patch-1
Remove minimum height for zero-values in bar chart
2019-07-21 13:12:13 +05:30
Shivam Mishra
e29a0621c5 feat: added truncateLegends options 2019-07-20 22:04:27 +05:30
Rushabh Mehta
628602cdf3 fix: default strokeWidth 2019-06-17 16:22:34 +05:30
Shivam Mishra
ef729251c9
Merge pull request #181 from thomas-oo/Fix_piechart_large_arc
Fix piechart large arc
2019-05-22 11:39:56 +05:30
ratnajeetshyamkunwar
8d00770207 ability to create donut chart 2019-04-09 21:05:48 +05:30
Rohan
87b68e9d7e
Remove minimum height for zero-values in bar chart
Fixes #201.

This is really a UX issue.

Previously, if any datapoint was a zero-value, it would still be visible on the chart, making it seem it has non-zero data.

P.S. I wasn't able to run the contribution steps locally, so I have no idea how to rebuild the distribution(s). That might need a separate commit/PR.
2018-12-19 15:37:57 +05:30
ajv
91bdab2765
Fix reduce warning for empty arrays 2018-10-25 16:46:20 +03:00
too
582936ef34 Merge branch 'master' of https://github.com/frappe/charts into Fix_piechart_large_arc 2018-06-08 13:46:31 -04:00
Prateeksha Singh
9470e62954 bump to v1.1.0 2018-04-20 12:20:54 +05:30
Prateeksha Singh
a0b4719456 [merge] develop 2018-04-19 09:19:58 +05:30
Prateeksha Singh
436685872e [fix] zero bar height positive 2018-04-19 05:17:19 +05:30
Prateeksha Singh
2c6032978e [annotations] label positions L/R 2018-04-19 04:54:08 +05:30
Prateeksha Singh
91e81926b6 [measures] offsets 2018-04-19 03:34:00 +05:30
Prateeksha Singh
ea872c10cb [layout-svg] grid measure system for charts 2018-04-19 03:19:35 +05:30
Achilles Rasquinha
d60c98a590 [COV, TEST] Add coveralls 2018-04-18 00:29:43 +05:30
Prateeksha Singh
8b61bcf888 [demo] correct example 2018-04-17 23:57:24 +05:30
Ricardo Marino
228684865b Fix for issue #108
Piechart could not render large arcs (>180) properly because the
information of large arc was not provided to the SVG drawing
function. This was fixed, and the piechart should render
correctly when one slice is larger than 180 degrees.
2018-04-17 17:45:06 +02:00
Prateeksha Singh
eb3cd64b1b [export] export buttons for all charts :D 2018-04-17 15:36:59 +05:30
Prateeksha Singh
eb3041ae4f [heatmap] subdomains and legend, biased random, blue theme 2018-04-15 13:24:39 +05:30
Prateeksha Singh
3877357bb3 [heatmap] fix update incr, col issues; discrete, add month names 2018-04-14 19:51:49 +05:30
Prateeksha Singh
cf5985fd9a [aggregation] add dot legend 2018-04-14 08:20:50 +05:30
Prateeksha Singh
cbb69089db [percentage] barDepth 2018-04-13 22:05:48 +05:30
Prateeksha Singh
abe9b617d2 [fix] tooltip parent and general positioning >.< 2018-04-13 20:57:43 +05:30
Prateeksha Singh
28b83a2441 xPos for axis tooltip: use getClosestInArray() 2018-04-12 23:56:38 +05:30
Prateeksha Singh
a22c3eba33 [svg] remove last remaining shred of HTML: Percentage bars 2018-04-12 18:51:12 +05:30
Prateeksha Singh
decc59c6fd Add tooltip-styled legend 2018-04-12 15:37:47 +05:30
Prateeksha Singh
8acc304fad [refactor] heatmap 2018-04-01 22:23:52 +05:30
Prateeksha Singh
a66b85a4af [heatmap] set flow and state 2018-03-29 02:21:48 +05:30