228 Commits

Author SHA1 Message Date
Shivam Mishra
f7ec6fc779 feat: update tooltip colors 2020-12-14 15:23:19 +05:30
Shivam Mishra
e54427004c feat: update text and line colors 2020-12-14 15:23:19 +05:30
Shivam Mishra
23bdf8a719 feat: truncate tooltip 2020-12-14 15:23:19 +05:30
Shivam Mishra
79157c318f feat: update colors 2020-12-14 15:23:19 +05:30
Shivam Mishra
09c3186813 feat: new colors 2020-12-14 15:23:19 +05:30
Shivam Mishra
3ec31560e9 feat: show 4 data points per row in tooltip 2020-12-14 15:23:19 +05:30
Shivam Mishra
479752c05f feat: update tooltip 2020-12-14 15:23:19 +05:30
Shivam Mishra
ecfc069cbd chore: bump to 1.5.5 2020-12-14 15:18:36 +05:30
Shivam Mishra
d5706a501b
Merge pull request #315 from 418sec/1-npm-frappe-charts 2020-12-14 14:18:10 +05:30
Shivam Mishra
6fce4d6665 chore: bump to 1.5.4 2020-11-30 12:34:47 +05:30
Bart Van Houtte
1547a85a79
Merge branch 'master' into #310 2020-11-26 14:50:45 +01:00
Arjun Shibu
d07157354d
added XSS protection for datasets.name field 2020-11-11 11:36:59 +05:30
Shivam Mishra
92a3df9690 chore: bump to 1.5.3 and update build 2020-11-05 11:13:20 +05:30
Shivam Mishra
d1123786cb fix: rounding precision errors in aggregation chart legend 2020-11-05 11:10:30 +05:30
Bart Van Houtte
c5de1fd06c - Fix tests 2020-10-23 16:58:29 +02:00
Bart Van Houtte
cf7ffa0d2d - Fix build on backwards compatibility tooltipOptions 2020-10-13 16:03:44 +02:00
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
Saif Ur Rehman
cec719dbe8 fix(AggregationChart): Formatter not being applied
(ex PercentageChart in AR/AP erpnext)
2020-10-07 22:04:45 +05:00
silvestrevivo
55c93d4779 reverse array when maxValue < absMinValue 2020-08-30 21:12:53 +02:00
Shivam Mishra
2572e317c7 chore: bump to 1.5.2 🎉 2020-07-08 21:20:37 +05:30
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
a02c79c73c chore: bump to 1.5.1 2020-06-30 22:10:46 +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
40a7214b2e chore: bump to 1.5.0 2020-06-03 16:23:02 +05:30
Shivam Mishra
e0c1bde2ff refactor: let Aggregate chart manage legends 2020-06-03 16:18:28 +05:30
Shivam Mishra
73fddf0623 refactor: set default width for legend label to 150 2020-06-03 16:18:12 +05:30
Shivam Mishra
724de646a6 feat: set truncate as 1 by default 2020-06-03 16:17:17 +05:30
Shivam Mishra
3c58269958 style: added semi colon 2020-05-09 18:09:52 +05:30
Shivam Mishra
809bc2c43c chore: bump to 1.4.1 2020-05-09 18:09:11 +05:30
Shivam Mishra
ef5ab9c715 fix: legend render bug 2020-05-09 18:08:26 +05:30
Shivam Mishra
0633e407f3 chore: bump to 1.4.0 2020-05-09 17:58:03 +05:30
Shivam Mishra
4f48d8d597 feat: allow corner radius for heatmap 2020-05-09 17:49:09 +05:30
Shivam Mishra
c3f747cf39 chore: bump to 1.3.2 2020-04-30 14:42:12 +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
Emīls Gulbis
f85daa3d6e
Fix: Sometimes index === -1
Sometimes when mouse-overing container, i got `vendors.app.js:8427 Uncaught TypeError: Cannot read property 'xPos' of undefined` that is caused by `-1` index
2019-10-07 14:45:16 +03:00
Shivam Mishra
39211a406d chore: bump to 1.3.0 2019-09-22 19:25:41 +05:30
rafael
f77df2b02f Changed to pass truncateLegends option to legendDot 2019-09-11 14:07:55 +02:00
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
Shivam Mishra
96618fa8e2
Merge pull request #241 from frappe/disable-animate
feat: allow disabling animations using 'animate' option
2019-09-02 09:54:01 +05:30
Shivam Mishra
2c3d8a52f2 feat: allow disabling animations using 'animate' option 2019-09-01 17:25:53 +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
92674f94f1 fix: destroying event listener on window 2019-08-11 21:55:02 +05:30