Rohan
d19f03ac99
fix: ignore local timezones when creating a heatmap ( #377 )
...
* [Heatmap] Adjusting grid calculation for consistent grid layout
Date math is hard!
This addresses a problem in how the heatmap lays calculates days to layout the grid. The calculations were being thrown off in some scenarios by a combination of factors including timezone offsets, time of day, and daylight savings time.
This patch should correct all this by forcing each day to be midnight UTC when laying out the grid.
Co-authored-by: Michael Bester <michael@kimili.com>
Co-authored-by: t47io <t47@alumni.stanford.edu>
Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
2022-02-23 10:18:19 +05:30
David Schnurr
10de973608
fix intervals ( #352 )
2021-10-04 19:40:13 +05:30
Shivam Mishra
3e63b1a2b4
chore: bump to 1.6.2
2021-06-16 11:00:59 +00:00
T3cH_W1z4rD
67030024d4
Fixed XSS ( #339 )
...
* Fixed XSS
* Removed html file and Loop
2021-05-03 19:15:46 +05:30
Shivam Mishra
12533f3b37
feat: add resize observer
2021-04-18 10:26:00 +00:00
Shivam Mishra
75038eeefb
chore: bump to 1.5.8
2021-03-11 11:58:27 +00:00
Raí Toffoletto
dadecb296e
Fix ReactJS TypeError, Issue #323 ( #325 )
...
* Fix ReactJS TypeError, Issue #323
* style: space after `if`
* style: space after `if`
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2021-03-10 13:14:49 +05:30
Frank Felgner
7f26c18ce7
render legend after updating data
2021-03-08 14:08:14 +01:00
Frank Felgner
4a9048f59f
fix missing semicolon
2021-03-08 14:07:54 +01:00
Shivam Mishra
d357370b6a
feat: clone options before building
2021-02-18 10:52:02 +00:00
Shivam Mishra
a22db61492
fix: name.replace exception
2020-12-22 12:21:40 +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