137 Commits

Author SHA1 Message Date
Arjun Choudhary
0a4a3a6530 chore: default to CSS vars in makeText() 2022-11-26 11:49:17 +05:30
Arjun Choudhary
c17e2c6c6f chore: remove font-fill 2022-11-26 11:47:23 +05:30
Arjun Choudhary
652913675c fix: vaidate y 2022-11-26 11:40:05 +05:30
Arjun Choudhary
6a853ca29d feat: Allow y-region colours 2022-11-26 11:34:31 +05:30
Arjun Choudhary
10558f8cce fix: remove duplicate round fn 2022-11-26 11:30:01 +05:30
Arjun Choudhary
26708dc26d fix: backported fp rounding fix 2022-11-25 16:03:19 +05:30
Arjun Choudhary
6db78c1c9b feat: Non breaking new legends (Backported) 2022-11-25 12:11:32 +05:30
Arjun Choudhary
1ab2ca2bd4 chore: aggregate chart label changes 2022-11-25 11:19:51 +05:30
Arjun Choudhary
f2262fac43 chore: formatting changes 2022-11-24 12:54:27 +05:30
Arjun Choudhary
d4e78ebb05 chore: show last label if isSeries 2022-11-24 12:41:26 +05:30
Arjun Choudhary
1572ce07fb chore: remove stroke 2022-11-24 12:36:06 +05:30
Shivam Mishra
0291b8dbbe feat: add space ratio option for x-axis series labels 2022-11-23 20:03:42 +05:30
Arjun Choudhary
fe7650f7de chore: reset bar width 2022-11-23 16:00:51 +05:30
Shivam Mishra
d5c3886301 feat: added function for rounded top rect 2022-11-23 15:57:35 +05:30
Shivam Mishra
692cdfb102 chore: cleanup rounded bar utility 2022-11-23 15:29:17 +05:30
Shivam Mishra
ec8f669385 feat: remove depth for percentage chart 2022-11-23 15:21:05 +05:30
Shivam Mishra
428a447cba feat: added helper function for rounded edges 2022-11-23 14:18:00 +05:30
Arjun Choudhary
d139d15cb7 Merge 96095ec5793a021c44cfa3bfe7f44eb389316def into master 2022-11-22 14:42:21 +05:30
Arjun Choudhary
7918a8642a Merge fbe314d9f9135ceca54cf149f64d89d7d9413035 into master 2022-11-22 14:08:00 +05:30
Arjun Choudhary
e7a13d0e6a Merge e54427004cf1a8266d6b5b5a16bcfdbcee8bac43 into master 2022-11-22 11:15:24 +05:30
Arjun Choudhary
f2b37dceef Merge 79157c318f5456fbbc3b4d7f4ad3f08c4c69d94f into master 2022-11-22 11:10:38 +05:30
Arjun Choudhary
eb1dc5d501 Merge 09c3186813da5a4e0a2a44d5124349256b4d5800 into master 2022-11-22 11:09:00 +05:30
Arjun Choudhary
ac68baed9a Merge 479752c05f38de3d61fb7e934d89194b883a1647 into master 2022-11-22 10:32:53 +05:30
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
T3cH_W1z4rD
67030024d4
Fixed XSS (#339)
* Fixed XSS

* Removed html file and Loop
2021-05-03 19:15:46 +05:30
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
Shivam Mishra
d357370b6a feat: clone options before building 2021-02-18 10:52:02 +00:00
Shivam Mishra
96095ec579 feat: update legend dots 2020-12-14 15:24:41 +05:30
Shivam Mishra
fbe314d9f9 feat: update default space ratio, narrower bars 2020-12-14 15:24:41 +05:30
Shivam Mishra
e54427004c feat: update text and line colors 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
479752c05f feat: update tooltip 2020-12-14 15:23:19 +05:30
Bart Van Houtte
1547a85a79
Merge branch 'master' into #310 2020-11-26 14:50:45 +01:00
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
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