You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/functions/labelAngle.ts
+22
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,28 @@ export function labelAngle(
16
16
Also accepts chart domains as parameter, as x magnification depends on visible extremes of chart (eg a 3 year old seen close up, or 3 year old in life course view)
17
17
*/
18
18
19
+
// const bill = data.filter((d: any) => {
20
+
// if (d.x > domains.x[0] && d.x < domains.x[1]) {
21
+
// return d;
22
+
// }
23
+
// });
24
+
// const numberOfItemsBetweenLabels = Math.floor(bill.length / 4); // 3 labels per line - this will serve as an index to split the data into 4 sections
0 commit comments