@oliasoft-open-source/charts-library 3.8.0-beta-1 → 3.8.0-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8,10 +8,10 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
8
8
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
9
9
  import React, { forwardRef, useRef, useEffect, createContext as createContext$2, memo, useLayoutEffect, useState, useCallback, useMemo, isValidElement, cloneElement, useContext, useReducer } from "react";
10
10
  import { produce } from "immer";
11
- import { round as round$2, displayNumber, isCloseTo, roundByMagnitude, toNum } from "@oliasoft-open-source/units";
11
+ import { round as round$2, displayNumber, isCloseTo, roundByMagnitude, to as to$2, toNum } from "@oliasoft-open-source/units";
12
12
  import cx from "classnames";
13
13
  import { Icon, Tooltip as Tooltip$2, Button, Flex, Text, Menu, Popover, Field, InputGroup, NumberInput, InputGroupAddon, Select, ButtonGroup, Spacer, Portal } from "@oliasoft-open-source/react-ui-library";
14
- import { isEmpty, isArray as isArray$2, some, has, debounce as debounce$3, isEqual } from "lodash";
14
+ import { isEmpty, isArray as isArray$2, some, has, debounce as debounce$3 } from "lodash";
15
15
  import { roundNumberToPrecision } from "@oliasoft-open-source/units/dist/rounding/rounding";
16
16
  /*!
17
17
  * @kurkle/color v0.3.2
@@ -20349,7 +20349,7 @@ var fastDeepEqual = function equal(a2, b2) {
20349
20349
  }
20350
20350
  return a2 !== a2 && b2 !== b2;
20351
20351
  };
20352
- const equal2 = /* @__PURE__ */ getDefaultExportFromCjs(fastDeepEqual);
20352
+ const isEqual = /* @__PURE__ */ getDefaultExportFromCjs(fastDeepEqual);
20353
20353
  const useIsomorphicLayoutEffect$2 = typeof window !== "undefined" ? useLayoutEffect : useEffect;
20354
20354
  function useCollector(monitor, collect, onUpdate) {
20355
20355
  const [collected, setCollected] = useState(
@@ -20357,7 +20357,7 @@ function useCollector(monitor, collect, onUpdate) {
20357
20357
  );
20358
20358
  const updateCollected = useCallback(() => {
20359
20359
  const nextValue = collect(monitor);
20360
- if (!equal2(collected, nextValue)) {
20360
+ if (!isEqual(collected, nextValue)) {
20361
20361
  setCollected(nextValue);
20362
20362
  if (onUpdate) {
20363
20363
  onUpdate();
@@ -22334,9 +22334,9 @@ const BORDER_WIDTH = {
22334
22334
  };
22335
22335
  const BORDER_COLOR = "rgba(0,0,0,0.1)";
22336
22336
  const ANNOTATION_DASH = [10, 2];
22337
- const DEFAULT_FONT_SIZE = 12;
22338
- const DEFAULT_FONT_FAMILY = '"Roobert", sans-serif';
22339
- const DEFAULT_COLOR = "hsl(60, 10.34482759%, 12.5%)";
22337
+ const DEFAULT_FONT_SIZE = 13;
22338
+ const DEFAULT_FONT_FAMILY = '"Lato", sans-serif';
22339
+ const DEFAULT_COLOR = "rgba(0,0,0,.87)";
22340
22340
  const LEGEND_LABEL_BOX_SIZE = 12;
22341
22341
  const TOOLTIP_PADDING = 8;
22342
22342
  const TOOLTIP_BOX_PADDING = 4;
@@ -22641,66 +22641,6 @@ const initialState = ({ options, persistenceId }) => {
22641
22641
  initialAxesRanges: []
22642
22642
  };
22643
22643
  };
22644
- const lineOnlyIcon = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJjdXJyZW50Q29sb3IiIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMTIgMTIiIHdpZHRoPSIxZW0iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZD0ibTAgMGgxMnYxMmgtMTJ6Ii8+PC9jbGlwUGF0aD48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGQ9Im0uNSA2LjV2LTFoMTF2MWMtNC4xNjEwNCAwLTYuNjM1NDkgMC0xMSAweiIvPjwvZz48L3N2Zz4=";
22645
- const pointOnlyIcon = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJjdXJyZW50Q29sb3IiIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMTIgMTIiIHdpZHRoPSIxZW0iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjIiLz48L3N2Zz4=";
22646
- const lineAndPointIcon = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJjdXJyZW50Q29sb3IiIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMTIgMTIiIHdpZHRoPSIxZW0iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZD0ibTAgMGgxMnYxMmgtMTJ6Ii8+PC9jbGlwUGF0aD48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGQ9Im03LjkzNyA2LjVjLS4xMTEyMi40MjkxMi0uMzYxNzkuODA5MTYtLjcxMjM3IDEuMDgwNDctLjM1MDU4LjI3MTMtLjc4MTMzLjQxODUtMS4yMjQ2My40MTg1cy0uODc0MDUtLjE0NzItMS4yMjQ2My0uNDE4NWMtLjM1MDU4LS4yNzEzMS0uNjAxMTUtLjY1MTM1LS43MTIzNy0xLjA4MDQ3aC0zLjU2M3YtMWgzLjU2M2MuMTExMjItLjQyOTEyLjM2MTc5LS44MDkxNi43MTIzNy0xLjA4MDQ2cy43ODEzMy0uNDE4NTEgMS4yMjQ2My0uNDE4NTEuODc0MDUuMTQ3MjEgMS4yMjQ2My40MTg1MS42MDExNS42NTEzNC43MTIzNyAxLjA4MDQ2aDMuNTYzdjF6Ii8+PC9nPjwvc3ZnPg==";
22647
- const LineOptions = ({
22648
- lineEnabled,
22649
- onToggleLine,
22650
- onTogglePoints,
22651
- pointsEnabled,
22652
- translations,
22653
- hasCustomOpt
22654
- }) => {
22655
- const options = [
22656
- {
22657
- label: translations.pointsLines,
22658
- icon: /* @__PURE__ */ jsx(Icon, { icon: lineAndPointIcon }),
22659
- selected: pointsEnabled && lineEnabled,
22660
- onClick: () => {
22661
- onTogglePoints();
22662
- }
22663
- },
22664
- {
22665
- label: translations.linesOnly,
22666
- icon: /* @__PURE__ */ jsx(Icon, { icon: lineOnlyIcon }),
22667
- selected: !pointsEnabled && lineEnabled,
22668
- onClick: () => {
22669
- onTogglePoints();
22670
- onToggleLine();
22671
- }
22672
- },
22673
- {
22674
- label: translations.pointsOnly,
22675
- icon: /* @__PURE__ */ jsx(Icon, { icon: pointOnlyIcon }),
22676
- selected: pointsEnabled && !lineEnabled,
22677
- onClick: () => {
22678
- onToggleLine();
22679
- }
22680
- }
22681
- ];
22682
- const selectedOption = options.find((option) => option.selected);
22683
- return /* @__PURE__ */ jsx(
22684
- Tooltip$2,
22685
- {
22686
- text: selectedOption == null ? void 0 : selectedOption.label,
22687
- placement: "bottom",
22688
- enabled: !hasCustomOpt,
22689
- children: /* @__PURE__ */ jsx(
22690
- Button,
22691
- {
22692
- small: true,
22693
- basic: true,
22694
- colored: "muted",
22695
- round: true,
22696
- icon: selectedOption == null ? void 0 : selectedOption.icon,
22697
- onClick: selectedOption == null ? void 0 : selectedOption.onClick,
22698
- disabled: hasCustomOpt
22699
- }
22700
- )
22701
- }
22702
- );
22703
- };
22704
22644
  var DefaultContext = {
22705
22645
  color: void 0,
22706
22646
  size: void 0,
@@ -22774,27 +22714,96 @@ function IconBase(props) {
22774
22714
  return elem(conf);
22775
22715
  }) : elem(DefaultContext);
22776
22716
  }
22777
- function TbArrowsMove(props) {
22778
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M18 9l3 3l-3 3" } }, { "tag": "path", "attr": { "d": "M15 12h6" } }, { "tag": "path", "attr": { "d": "M6 9l-3 3l3 3" } }, { "tag": "path", "attr": { "d": "M3 12h6" } }, { "tag": "path", "attr": { "d": "M9 18l3 3l3 -3" } }, { "tag": "path", "attr": { "d": "M12 15v6" } }, { "tag": "path", "attr": { "d": "M15 6l-3 -3l-3 3" } }, { "tag": "path", "attr": { "d": "M12 3v6" } }] })(props);
22717
+ function RiDragMove2Line(props) {
22718
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M11 11V5.82843L9.17157 7.65685L7.75736 6.24264L12 2L16.2426 6.24264L14.8284 7.65685L13 5.82843V11H18.1716L16.3431 9.17157L17.7574 7.75736L22 12L17.7574 16.2426L16.3431 14.8284L18.1716 13H13V18.1716L14.8284 16.3431L16.2426 17.7574L12 22L7.75736 17.7574L9.17157 16.3431L11 18.1716V13H5.82843L7.65685 14.8284L6.24264 16.2426L2 12L6.24264 7.75736L7.65685 9.17157L5.82843 11H11Z" } }] })(props);
22719
+ }
22720
+ function RiLineChartLine(props) {
22721
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M5 3V19H21V21H3V3H5ZM20.2929 6.29289L21.7071 7.70711L16 13.4142L13 10.415L8.70711 14.7071L7.29289 13.2929L13 7.58579L16 10.585L20.2929 6.29289Z" } }] })(props);
22722
+ }
22723
+ function RiRuler2Line(props) {
22724
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M17 19H19V14H10V5H5V7H7V9H5V11H8V13H5V15H7V17H5V19H7V17H9V19H11V16H13V19H15V17H17V19ZM12 12H20C20.5523 12 21 12.4477 21 13V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H11C11.5523 3 12 3.44772 12 4V12Z" } }] })(props);
22725
+ }
22726
+ function RiTableLine(props) {
22727
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" } }] })(props);
22779
22728
  }
22780
- function TbBan(props) {
22781
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" } }, { "tag": "path", "attr": { "d": "M5.7 5.7l12.6 12.6" } }] })(props);
22729
+ function RiFileDownloadLine(props) {
22730
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" } }] })(props);
22782
22731
  }
22732
+ function RiForbidLine(props) {
22733
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM8.52313 7.10891L16.8911 15.4769C16.6997 15.7454 16.4836 16.0017 16.2426 16.2426C16.0017 16.4836 15.7454 16.6997 15.4769 16.8911L7.10891 8.52313C7.30029 8.25459 7.51644 7.99828 7.75736 7.75736C7.99828 7.51644 8.25459 7.30029 8.52313 7.10891Z" } }] })(props);
22734
+ }
22735
+ function RiZoomInLine(props) {
22736
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748ZM10 10V7H12V10H15V12H12V15H10V12H7V10H10Z" } }] })(props);
22737
+ }
22738
+ const lineOnlyIcon = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJtMCAwaDEydjEyaC0xMnoiLz48L2NsaXBQYXRoPjxnIGNsaXAtcGF0aD0idXJsKCNhKSI+PHBhdGggZD0ibS41IDYuNXYtMWgxMXYxYy00LjE2MTA0IDAtNi42MzU0OSAwLTExIDB6IiBmaWxsPSJjdXJyZW50Q29sb3IiLz48L2c+PC9zdmc+";
22739
+ const pointOnlyIcon = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSI2IiBjeT0iNiIgZmlsbD0iY3VycmVudENvbG9yIiByPSIyIi8+PC9zdmc+";
22740
+ const lineAndPointIcon = "data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJtMCAwaDEydjEyaC0xMnoiLz48L2NsaXBQYXRoPjxnIGNsaXAtcGF0aD0idXJsKCNhKSI+PHBhdGggZD0ibTcuOTM3IDYuNWMtLjExMTIyLjQyOTEyLS4zNjE3OS44MDkxNi0uNzEyMzcgMS4wODA0Ny0uMzUwNTguMjcxMy0uNzgxMzMuNDE4NS0xLjIyNDYzLjQxODVzLS44NzQwNS0uMTQ3Mi0xLjIyNDYzLS40MTg1Yy0uMzUwNTgtLjI3MTMxLS42MDExNS0uNjUxMzUtLjcxMjM3LTEuMDgwNDdoLTMuNTYzdi0xaDMuNTYzYy4xMTEyMi0uNDI5MTIuMzYxNzktLjgwOTE2LjcxMjM3LTEuMDgwNDZzLjc4MTMzLS40MTg1MSAxLjIyNDYzLS40MTg1MS44NzQwNS4xNDcyMSAxLjIyNDYzLjQxODUxLjYwMTE1LjY1MTM0LjcxMjM3IDEuMDgwNDZoMy41NjN2MXoiIGZpbGw9ImN1cnJlbnRDb2xvciIvPjwvZz48L3N2Zz4=";
22741
+ const LineOptions = ({
22742
+ lineEnabled,
22743
+ onToggleLine,
22744
+ onTogglePoints,
22745
+ pointsEnabled,
22746
+ translations,
22747
+ hasCustomOpt
22748
+ }) => {
22749
+ const options = [
22750
+ {
22751
+ label: translations.pointsLines,
22752
+ icon: /* @__PURE__ */ jsx(Icon, { icon: lineAndPointIcon }),
22753
+ selected: pointsEnabled && lineEnabled,
22754
+ onClick: () => {
22755
+ onTogglePoints();
22756
+ }
22757
+ },
22758
+ {
22759
+ label: translations.linesOnly,
22760
+ icon: /* @__PURE__ */ jsx(Icon, { icon: lineOnlyIcon }),
22761
+ selected: !pointsEnabled && lineEnabled,
22762
+ onClick: () => {
22763
+ onTogglePoints();
22764
+ onToggleLine();
22765
+ }
22766
+ },
22767
+ {
22768
+ label: translations.pointsOnly,
22769
+ icon: /* @__PURE__ */ jsx(Icon, { icon: pointOnlyIcon }),
22770
+ selected: pointsEnabled && !lineEnabled,
22771
+ onClick: () => {
22772
+ onToggleLine();
22773
+ }
22774
+ }
22775
+ ];
22776
+ const selectedOption = options.find((option) => option.selected);
22777
+ return /* @__PURE__ */ jsx(
22778
+ Tooltip$2,
22779
+ {
22780
+ text: selectedOption == null ? void 0 : selectedOption.label,
22781
+ placement: "bottom",
22782
+ enabled: !hasCustomOpt,
22783
+ children: /* @__PURE__ */ jsx(
22784
+ Button,
22785
+ {
22786
+ small: true,
22787
+ basic: true,
22788
+ colored: "muted",
22789
+ round: true,
22790
+ icon: selectedOption == null ? void 0 : selectedOption.icon,
22791
+ onClick: selectedOption == null ? void 0 : selectedOption.onClick,
22792
+ disabled: hasCustomOpt
22793
+ }
22794
+ )
22795
+ }
22796
+ );
22797
+ };
22783
22798
  function TbHandStop(props) {
22784
22799
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5" } }, { "tag": "path", "attr": { "d": "M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5" } }, { "tag": "path", "attr": { "d": "M14 5.5a1.5 1.5 0 0 1 3 0v6.5" } }, { "tag": "path", "attr": { "d": "M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47" } }] })(props);
22785
22800
  }
22786
22801
  function TbList(props) {
22787
22802
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M9 6l11 0" } }, { "tag": "path", "attr": { "d": "M9 12l11 0" } }, { "tag": "path", "attr": { "d": "M9 18l11 0" } }, { "tag": "path", "attr": { "d": "M5 6l0 .01" } }, { "tag": "path", "attr": { "d": "M5 12l0 .01" } }, { "tag": "path", "attr": { "d": "M5 18l0 .01" } }] })(props);
22788
22803
  }
22789
- function TbRuler(props) {
22790
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M5 4h14a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-7a1 1 0 0 0 -1 1v7a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1" } }, { "tag": "path", "attr": { "d": "M4 8l2 0" } }, { "tag": "path", "attr": { "d": "M4 12l3 0" } }, { "tag": "path", "attr": { "d": "M4 16l2 0" } }, { "tag": "path", "attr": { "d": "M8 4l0 2" } }, { "tag": "path", "attr": { "d": "M12 4l0 3" } }, { "tag": "path", "attr": { "d": "M16 4l0 2" } }] })(props);
22791
- }
22792
22804
  function TbX(props) {
22793
22805
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M18 6l-12 12" } }, { "tag": "path", "attr": { "d": "M6 6l12 12" } }] })(props);
22794
22806
  }
22795
- function TbZoomIn(props) {
22796
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" } }, { "tag": "path", "attr": { "d": "M7 10l6 0" } }, { "tag": "path", "attr": { "d": "M10 7l0 6" } }, { "tag": "path", "attr": { "d": "M21 21l-6 -6" } }] })(props);
22797
- }
22798
22807
  const DragOptions = ({
22799
22808
  onTogglePan,
22800
22809
  onToggleZoom,
@@ -22821,7 +22830,7 @@ const DragOptions = ({
22821
22830
  /* @__PURE__ */ jsx(Text, { children: "Drag to zoom" }),
22822
22831
  /* @__PURE__ */ jsx(Text, { small: true, muted: true, children: doubleClickToReset })
22823
22832
  ] }),
22824
- icon: /* @__PURE__ */ jsx(TbZoomIn, {}),
22833
+ icon: /* @__PURE__ */ jsx(RiZoomInLine, {}),
22825
22834
  selected: zoomEnabled,
22826
22835
  onClick: onToggleZoom
22827
22836
  },
@@ -22831,7 +22840,7 @@ const DragOptions = ({
22831
22840
  /* @__PURE__ */ jsx(Text, { children: "Drag to pan" }),
22832
22841
  /* @__PURE__ */ jsx(Text, { small: true, muted: true, children: orDoubleClickToCanvas })
22833
22842
  ] }),
22834
- icon: /* @__PURE__ */ jsx(TbArrowsMove, {}),
22843
+ icon: /* @__PURE__ */ jsx(RiDragMove2Line, {}),
22835
22844
  selected: panEnabled,
22836
22845
  onClick: onTogglePan
22837
22846
  },
@@ -22846,7 +22855,7 @@ const DragOptions = ({
22846
22855
  ] : [],
22847
22856
  {
22848
22857
  label: dragDisabled,
22849
- icon: /* @__PURE__ */ jsx(TbBan, {}),
22858
+ icon: /* @__PURE__ */ jsx(RiForbidLine, {}),
22850
22859
  selected: !zoomEnabled && !panEnabled && !enableDragPoints,
22851
22860
  onClick: onDisableDragOptions
22852
22861
  }
@@ -22883,8 +22892,8 @@ const DragOptions = ({
22883
22892
  }
22884
22893
  );
22885
22894
  };
22886
- const controls = "_controls_gbo9q_1";
22887
- const buttons = "_buttons_gbo9q_7";
22895
+ const controls = "_controls_fa3yo_1";
22896
+ const buttons = "_buttons_fa3yo_7";
22888
22897
  const styles$3 = {
22889
22898
  controls,
22890
22899
  buttons
@@ -24287,7 +24296,7 @@ const AxesOptions = (optionsPopover) => {
24287
24296
  text: translations.axesOptions,
24288
24297
  placement: "bottom",
24289
24298
  display: "flex",
24290
- children: /* @__PURE__ */ jsx(Button, { small: true, basic: true, colored: "muted", round: true, icon: /* @__PURE__ */ jsx(TbRuler, {}) })
24299
+ children: /* @__PURE__ */ jsx(Button, { small: true, basic: true, colored: "muted", round: true, icon: /* @__PURE__ */ jsx(RiRuler2Line, {}) })
24291
24300
  }
24292
24301
  )
24293
24302
  }
@@ -24403,7 +24412,7 @@ const Controls = ({
24403
24412
  basic: true,
24404
24413
  colored: "muted",
24405
24414
  round: true,
24406
- icon: "download",
24415
+ icon: /* @__PURE__ */ jsx(RiFileDownloadLine, {}),
24407
24416
  onClick: handleDownload
24408
24417
  }
24409
24418
  )
@@ -24436,7 +24445,7 @@ const Controls = ({
24436
24445
  basic: true,
24437
24446
  colored: "muted",
24438
24447
  round: true,
24439
- icon: showTable ? "chart" : "table",
24448
+ icon: showTable ? /* @__PURE__ */ jsx(RiLineChartLine, {}) : /* @__PURE__ */ jsx(RiTableLine, {}),
24440
24449
  onClick: onToggleTable
24441
24450
  }
24442
24451
  )
@@ -24744,6 +24753,9 @@ const LegendItems = ({
24744
24753
  legendClick
24745
24754
  }) => /* @__PURE__ */ jsx("div", { className: styles$2.legendItems, children: items.map((item) => {
24746
24755
  var _a2;
24756
+ if (datasets[item.datasetIndex].hideLegend) {
24757
+ return null;
24758
+ }
24747
24759
  const hiddenState = ((_a2 = hiddenStates.find((state) => state.label === item.text)) == null ? void 0 : _a2.hidden) ?? false;
24748
24760
  return /* @__PURE__ */ jsx(
24749
24761
  LegendItem,
@@ -24945,6 +24957,7 @@ const TextLabelPosition = {
24945
24957
  BOTTOM_CENTER: "bottom-center",
24946
24958
  BOTTOM_RIGHT: "bottom-right"
24947
24959
  };
24960
+ const DEGTORAD = 90;
24948
24961
  const defaultAxis = (position) => ({
24949
24962
  label: "",
24950
24963
  position,
@@ -24996,17 +25009,24 @@ const defaultGraph$2 = (graph) => ({
24996
25009
  showMinorGridlines: (graph == null ? void 0 : graph.showMinorGridlines) ?? false
24997
25010
  });
24998
25011
  const defaultAnnotations$1 = (annotations) => {
24999
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
25012
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2;
25000
25013
  return {
25014
+ pointEllipsisAnnotation: {
25015
+ radiusX: ((_a2 = annotations == null ? void 0 : annotations.pointEllipsisAnnotation) == null ? void 0 : _a2.radiusX) ?? 10,
25016
+ radiusY: ((_b2 = annotations == null ? void 0 : annotations.pointEllipsisAnnotation) == null ? void 0 : _b2.radiusY) ?? 5,
25017
+ color: (_c2 = annotations == null ? void 0 : annotations.pointEllipsisAnnotation) == null ? void 0 : _c2.color,
25018
+ rotation: ((_d2 = annotations == null ? void 0 : annotations.pointEllipsisAnnotation) == null ? void 0 : _d2.rotation) ?? DEGTORAD,
25019
+ lineWidth: ((_e2 = annotations == null ? void 0 : annotations.pointEllipsisAnnotation) == null ? void 0 : _e2.lineWidth) ?? 1
25020
+ },
25001
25021
  labelAnnotation: {
25002
- showLabel: ((_a2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _a2.showLabel) ?? false,
25003
- text: ((_b2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _b2.text) ?? "",
25004
- position: ((_c2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _c2.position) ?? TextLabelPosition.BOTTOM_RIGHT,
25005
- fontSize: ((_d2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _d2.fontSize) ?? 12,
25006
- xOffset: ((_e2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _e2.xOffset) ?? 5,
25007
- yOffset: ((_f2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _f2.yOffset) ?? 5,
25008
- maxWidth: ((_g2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _g2.maxWidth) ?? 300,
25009
- lineHeight: ((_h2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _h2.lineHeight) ?? 12
25022
+ showLabel: ((_f2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _f2.showLabel) ?? false,
25023
+ text: ((_g2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _g2.text) ?? "",
25024
+ position: ((_h2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _h2.position) ?? TextLabelPosition.BOTTOM_RIGHT,
25025
+ fontSize: ((_i2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _i2.fontSize) ?? 12,
25026
+ xOffset: ((_j2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _j2.xOffset) ?? 5,
25027
+ yOffset: ((_k2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _k2.yOffset) ?? 5,
25028
+ maxWidth: ((_l2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _l2.maxWidth) ?? 300,
25029
+ lineHeight: ((_m2 = annotations == null ? void 0 : annotations.labelAnnotation) == null ? void 0 : _m2.lineHeight) ?? 12
25010
25030
  },
25011
25031
  showAnnotations: (annotations == null ? void 0 : annotations.showAnnotations) ?? false,
25012
25032
  controlAnnotation: (annotations == null ? void 0 : annotations.controlAnnotation) ?? false,
@@ -25172,6 +25192,7 @@ const generateLineChartDatasets = (datasets, state, options, { label }) => {
25172
25192
  pointRadius,
25173
25193
  pointHoverRadius: hoverRadius,
25174
25194
  pointHitRadius: line.pointHitRadius ?? hoverRadius,
25195
+ showEllipsesAnnotation: (line == null ? void 0 : line.showEllipsesAnnotation) ?? false,
25175
25196
  ...hasCustomOpt ? { hasCustomOpt } : {}
25176
25197
  };
25177
25198
  });
@@ -25230,7 +25251,7 @@ const getLineChartAxis = (options, axisType, state, currentScales, i2 = 0) => {
25230
25251
  //OW-10088 disable irregular axis ticks
25231
25252
  ...ticksConfigFromProps,
25232
25253
  font: {
25233
- size: DEFAULT_FONT_SIZE
25254
+ size: 14
25234
25255
  }
25235
25256
  };
25236
25257
  return ticks;
@@ -25779,6 +25800,67 @@ const useChartOptions = ({
25779
25800
  [state, options, chartRef]
25780
25801
  );
25781
25802
  };
25803
+ const customPointEllipsisPlugin = (options) => {
25804
+ var _a2;
25805
+ const { radiusX, radiusY, rotation, lineWidth, color: color2 } = ((_a2 = options == null ? void 0 : options.annotations) == null ? void 0 : _a2.pointEllipsisAnnotation) ?? {};
25806
+ return {
25807
+ id: "ellipseAnnotation",
25808
+ afterDatasetsDraw: (chart2) => {
25809
+ var _a3, _b2, _c2;
25810
+ const { ctx, chartArea } = chart2;
25811
+ if (isEmpty((_a3 = options == null ? void 0 : options.annotations) == null ? void 0 : _a3.pointEllipsisAnnotation))
25812
+ return;
25813
+ (_c2 = (_b2 = chart2 == null ? void 0 : chart2.data) == null ? void 0 : _b2.datasets) == null ? void 0 : _c2.forEach(
25814
+ (dataset, datasetIndex) => {
25815
+ const meta = chart2.getDatasetMeta(datasetIndex);
25816
+ if (!meta.hidden && dataset.showEllipsesAnnotation) {
25817
+ meta.data.forEach((element, index2) => {
25818
+ var _a4, _b3;
25819
+ const pointElement = element;
25820
+ const { x: x2, y: y2 } = ((_a4 = pointElement.getCenterPoint) == null ? void 0 : _a4.call(pointElement)) || {
25821
+ x: 0,
25822
+ y: 0
25823
+ };
25824
+ if (x2 < chartArea.left || x2 > chartArea.right || y2 < chartArea.top || y2 > chartArea.bottom) {
25825
+ return;
25826
+ }
25827
+ const { ellipseOptions } = (_b3 = dataset == null ? void 0 : dataset.data) == null ? void 0 : _b3[index2];
25828
+ const {
25829
+ radiusX: ellipseRadiusX = radiusX ?? 0,
25830
+ radiusY: ellipseRadiusY = radiusY ?? 0,
25831
+ rotation: ellipseRotation = rotation,
25832
+ lineWidth: ellipseLineWidth = lineWidth,
25833
+ color: ellipseColor = color2
25834
+ } = ellipseOptions ?? {};
25835
+ const borderPointPixel = {
25836
+ x: chart2.scales.x.getPixelForValue(Math.abs(ellipseRadiusX)),
25837
+ y: chart2.scales.y.getPixelForValue(Math.abs(ellipseRadiusY))
25838
+ };
25839
+ const customRadiusX = Math.abs(borderPointPixel.x - x2);
25840
+ const customRadiusY = Math.abs(borderPointPixel.y - y2);
25841
+ const customRotation = to$2(Number(ellipseRotation), "deg", "rad");
25842
+ ctx.save();
25843
+ ctx.strokeStyle = ellipseColor ?? color2 ?? dataset.borderColor ?? COLORS[datasetIndex];
25844
+ ctx.lineWidth = ellipseLineWidth ?? lineWidth ?? 1;
25845
+ ctx.beginPath();
25846
+ ctx.ellipse(
25847
+ x2,
25848
+ y2,
25849
+ customRadiusX,
25850
+ customRadiusY,
25851
+ customRotation,
25852
+ 0,
25853
+ 2 * Math.PI
25854
+ );
25855
+ ctx.stroke();
25856
+ ctx.restore();
25857
+ });
25858
+ }
25859
+ }
25860
+ );
25861
+ }
25862
+ };
25863
+ };
25782
25864
  const useChartPlugins = ({ options, resetZoom: resetZoom2 }) => {
25783
25865
  const { graph, legend: legend2 } = options;
25784
25866
  const debouncedResetZoom = useCallback(
@@ -25797,13 +25879,15 @@ const useChartPlugins = ({ options, resetZoom: resetZoom2 }) => {
25797
25879
  },
25798
25880
  [debouncedResetZoom]
25799
25881
  );
25882
+ const ellipsePlugin = customPointEllipsisPlugin(options);
25800
25883
  return useMemo(() => {
25801
25884
  return [
25802
25885
  ...getPlugins(graph, legend2),
25803
25886
  {
25804
25887
  id: "customEventCatcher",
25805
25888
  beforeEvent: handleDoubleClick
25806
- }
25889
+ },
25890
+ ellipsePlugin
25807
25891
  ];
25808
25892
  }, [handleDoubleClick]);
25809
25893
  };
@@ -25899,23 +25983,26 @@ const useUpdateAxesRanges = ({
25899
25983
  }
25900
25984
  }, [range]);
25901
25985
  };
25902
- const useSaveInitialAxesRanges = (chartRef, axes, dispatch) => {
25986
+ const useSaveInitialAxesRanges = (chartRef, axes, dispatch, generatedDatasets) => {
25987
+ const prevDatasets = useRef(null);
25903
25988
  useEffect(() => {
25904
- if (chartRef.current) {
25989
+ if (chartRef.current && !isEqual(prevDatasets.current, generatedDatasets)) {
25905
25990
  const initialAxesRanges = getAxesRangesFromChart(chartRef, axes);
25906
25991
  dispatch({
25907
25992
  type: SAVE_INITIAL_AXES_RANGES,
25908
25993
  payload: { initialAxesRanges }
25909
25994
  });
25995
+ prevDatasets.current = generatedDatasets;
25910
25996
  }
25911
- }, []);
25997
+ }, [generatedDatasets]);
25912
25998
  };
25913
25999
  const useChartState = ({
25914
26000
  chartRef,
25915
26001
  options,
25916
26002
  state,
25917
26003
  dispatch,
25918
- persistenceId
26004
+ persistenceId,
26005
+ generatedDatasets
25919
26006
  }) => {
25920
26007
  const memoState = useMemo(() => state, [state]);
25921
26008
  const memoOptions = useMemo(() => options, [options]);
@@ -25933,7 +26020,7 @@ const useChartState = ({
25933
26020
  chartRef,
25934
26021
  annotationsData
25935
26022
  });
25936
- useSaveInitialAxesRanges(chartRef, axes, dispatch);
26023
+ useSaveInitialAxesRanges(chartRef, axes, dispatch, generatedDatasets);
25937
26024
  };
25938
26025
  const WORD_SEPARATOR = " ";
25939
26026
  const SEMI_TRANSPARENT = "rgba(0, 0, 0, 0.5)";
@@ -26136,7 +26223,8 @@ Chart$2.register(
26136
26223
  plugin$1,
26137
26224
  plugin,
26138
26225
  annotation,
26139
- chartAreaTextPlugin
26226
+ chartAreaTextPlugin,
26227
+ customPointEllipsisPlugin()
26140
26228
  );
26141
26229
  const LineChart = (props) => {
26142
26230
  var _a2, _b2;
@@ -26170,7 +26258,8 @@ const LineChart = (props) => {
26170
26258
  options,
26171
26259
  state,
26172
26260
  dispatch,
26173
- persistenceId
26261
+ persistenceId,
26262
+ generatedDatasets
26174
26263
  });
26175
26264
  const { resetZoom: resetZoom2, handleKeyDown, handleKeyUp } = useChartFunctions({
26176
26265
  chartRef,
@@ -26225,7 +26314,7 @@ const LineChart = (props) => {
26225
26314
  plugins: usePlugins
26226
26315
  }
26227
26316
  ),
26228
- showCustomLegend && /* @__PURE__ */ jsx(
26317
+ showCustomLegend && !!generatedDatasets.length && /* @__PURE__ */ jsx(
26229
26318
  Legend2,
26230
26319
  {
26231
26320
  chartRef,
@@ -39135,7 +39224,7 @@ const getBarChartAxis = ({
39135
39224
  //OW-10088 disable irregular axis ticks
39136
39225
  ...ticksConfigFromProps,
39137
39226
  font: {
39138
- size: DEFAULT_FONT_SIZE
39227
+ size: 14
39139
39228
  }
39140
39229
  };
39141
39230
  if ((additionalAxesOptions == null ? void 0 : additionalAxesOptions.chartScaleType) === ScaleType.Logarithmic) {
@@ -39490,7 +39579,7 @@ export {
39490
39579
  try {
39491
39580
  if (typeof document != "undefined") {
39492
39581
  var elementStyle = document.createElement("style");
39493
- elementStyle.appendChild(document.createTextNode("html[data-theme='dark'] ._chart_e3qdd_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_e3qdd_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n position: relative;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n._chart_e3qdd_1 ._canvas_e3qdd_11 {\n flex-grow: 1;\n min-height: 0;\n position: relative;\n}\n._chart_e3qdd_1 ._canvas_e3qdd_11 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_e3qdd_1._fixedHeight_e3qdd_20 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_e3qdd_1._stretchHeight_e3qdd_26 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_e3qdd_1._squareAspectRatio_e3qdd_32 {\n aspect-ratio: 1;\n min-height: 0;\n min-width: 0;\n}\n._chart_e3qdd_1:focus {\n outline: none;\n}\n._chart_e3qdd_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_e3qdd_43 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_e3qdd_43 ._zoomReset_e3qdd_51 {\n margin-left: 10px;\n}\n._zoomForm_e3qdd_43 ._help_e3qdd_54 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_e3qdd_58 {\n width: auto;\n height: auto;\n}\n._table_e3qdd_62 {\n overflow: auto;\n}\n._controls_gbo9q_1 {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--padding-xs);\n}\n._buttons_gbo9q_7 {\n display: flex;\n align-items: flex-start;\n margin-left: auto;\n gap: var(--padding-xxs);\n}\n._legend_wpro0_1 {\n position: absolute;\n opacity: 0.9;\n display: flex;\n flex-direction: column;\n z-index: 1;\n}\n._legend_wpro0_1._isDragging_wpro0_8 {\n opacity: 0;\n}\n._legendItems_wpro0_11 {\n background-color: var(--color-background-raised);\n border: 1px solid var(--color-border);\n padding: 4px 8px;\n border-radius: 2px;\n overflow-y: auto;\n max-height: 100%;\n overflow: overlay;\n --scrollbar-color: #00000040;\n}\n._legendItems_wpro0_11::-webkit-scrollbar {\n display: block;\n width: 16px;\n z-index: 2;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-button {\n display: none;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-track {\n background-color: #00000000;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-track-piece {\n background-color: #00000000;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-thumb {\n background-color: #00000000;\n border: 5px solid transparent;\n border-radius: 24px;\n box-shadow: 4px 0px 0px 4px var(--scrollbar-color) inset;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n._legend_wpro0_1._isDragging_wpro0_8 ._legendItems_wpro0_11._legendItems_wpro0_11 {\n pointer-events: none;\n}\n._legend_wpro0_1._isHidden_wpro0_47 ._legendItems_wpro0_11._legendItems_wpro0_11 {\n display: none;\n}\n._legendToggle_wpro0_50 {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: none;\n}\n._legend_wpro0_1._isHidden_wpro0_47 ._legendToggle_wpro0_50._legendToggle_wpro0_50,\n._legend_wpro0_1:hover ._legendToggle_wpro0_50._legendToggle_wpro0_50 {\n display: block;\n}\n._legend_wpro0_1:active ._legendToggle_wpro0_50._legendToggle_wpro0_50:not(:hover) {\n display: none;\n}\n._legend_wpro0_1._isHidden_wpro0_47 ._legendToggle_wpro0_50._legendToggle_wpro0_50 {\n position: static;\n transform: none;\n}\n._legend_wpro0_1._isDragging_wpro0_8 ._legendToggle_wpro0_50._legendToggle_wpro0_50 {\n display: none;\n}\n._legendItem_wpro0_11 {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n user-select: none;\n cursor: pointer;\n font-size: 12px;\n line-height: 16px;\n}\n._legendItemSymbol_wpro0_80 {\n display: flex;\n align-items: center;\n height: 16px;\n position: relative;\n flex-shrink: 0;\n}\nhtml[data-theme='dark'] ._legendItemSymbol_wpro0_80._legendItemSymbol_wpro0_80 {\n filter: invert(1) hue-rotate(180deg);\n}\n._legendItemBox_wpro0_90 {\n width: 100%;\n height: 12px;\n display: block;\n}\n._legendItemLine_wpro0_95 {\n position: absolute;\n display: flex;\n top: 50%;\n left: 0;\n width: 100%;\n transform: translateY(-50%);\n}\n._legendItemPoint_wpro0_103 {\n position: absolute;\n display: flex;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n._isHidden_wpro0_47 ._legendItemText_wpro0_110._legendItemText_wpro0_110 {\n text-decoration: line-through;\n}\n._scrollbars_wpro0_113 {\n overflow: overlay;\n --scrollbar-color: #00000040;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar {\n display: block;\n width: 16px;\n z-index: 2;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-button {\n display: none;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-track {\n background-color: #00000000;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-track-piece {\n background-color: #00000000;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-thumb {\n background-color: #00000000;\n border: 5px solid transparent;\n border-radius: 24px;\n box-shadow: 4px 0px 0px 4px var(--scrollbar-color) inset;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n._dropzoneContainer_wpro0_140 {\n position: absolute;\n}\n._dropzone_wpro0_140 {\n position: absolute;\n width: 50%;\n height: 50%;\n display: flex;\n}\n._dropzone_wpro0_140._left_wpro0_149 {\n left: 0;\n justify-content: flex-start;\n}\n._dropzone_wpro0_140._right_wpro0_153 {\n right: 0;\n justify-content: flex-end;\n}\n._dropzone_wpro0_140._top_wpro0_157 {\n top: 0;\n align-items: flex-start;\n}\n._dropzone_wpro0_140._bottom_wpro0_161 {\n bottom: 0;\n align-items: flex-end;\n}\n._dropzonePlaceholder_wpro0_165 {\n position: absolute;\n background-color: rgba(0, 0, 0, 0.05);\n display: none;\n}\n[data-theme='dark'] ._dropzonePlaceholder_wpro0_165 {\n background-color: rgba(255, 255, 255, 0.05);\n}\n._isActive_wpro0_173 ._dropzonePlaceholder_wpro0_165._dropzonePlaceholder_wpro0_165 {\n display: block;\n}\n._resizeContainer_wpro0_176 {\n position: absolute;\n inset: 0;\n z-index: -1;\n}\nhtml[data-theme='dark'] ._chart_1jdnu_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_1jdnu_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n padding-top: 10px;\n position: relative;\n}\n._chart_1jdnu_1 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_1jdnu_1._fixedHeight_1jdnu_13 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_1jdnu_1._stretchHeight_1jdnu_19 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_1jdnu_1:focus {\n border: 1px solid #85b7d9;\n outline: none;\n}\n._chart_1jdnu_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_1jdnu_32 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_1jdnu_32 ._zoomReset_1jdnu_40 {\n margin-left: 10px;\n}\n._zoomForm_1jdnu_32 ._help_1jdnu_43 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_1jdnu_47 {\n width: 'auto';\n height: 'auto';\n}\nhtml[data-theme='dark'] ._chart_1t41j_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_1t41j_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n padding-top: 10px;\n position: relative;\n}\n._chart_1t41j_1 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_1t41j_1._fixedHeight_1t41j_13 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_1t41j_1._stretchHeight_1t41j_19 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_1t41j_1:focus {\n border: 1px solid #85b7d9;\n outline: none;\n}\n._chart_1t41j_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_1t41j_32 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_1t41j_32 ._zoomReset_1t41j_40 {\n margin-left: 10px;\n}\n._zoomForm_1t41j_32 ._help_1t41j_43 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_1t41j_47 {\n width: auto;\n height: auto;\n}"));
39582
+ elementStyle.appendChild(document.createTextNode("html[data-theme='dark'] ._chart_e3qdd_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_e3qdd_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n position: relative;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n._chart_e3qdd_1 ._canvas_e3qdd_11 {\n flex-grow: 1;\n min-height: 0;\n position: relative;\n}\n._chart_e3qdd_1 ._canvas_e3qdd_11 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_e3qdd_1._fixedHeight_e3qdd_20 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_e3qdd_1._stretchHeight_e3qdd_26 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_e3qdd_1._squareAspectRatio_e3qdd_32 {\n aspect-ratio: 1;\n min-height: 0;\n min-width: 0;\n}\n._chart_e3qdd_1:focus {\n outline: none;\n}\n._chart_e3qdd_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_e3qdd_43 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_e3qdd_43 ._zoomReset_e3qdd_51 {\n margin-left: 10px;\n}\n._zoomForm_e3qdd_43 ._help_e3qdd_54 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_e3qdd_58 {\n width: auto;\n height: auto;\n}\n._table_e3qdd_62 {\n overflow: auto;\n}\n._controls_fa3yo_1 {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n._buttons_fa3yo_7 {\n display: flex;\n margin-left: auto;\n gap: 4px;\n}\n._legend_wpro0_1 {\n position: absolute;\n opacity: 0.9;\n display: flex;\n flex-direction: column;\n z-index: 1;\n}\n._legend_wpro0_1._isDragging_wpro0_8 {\n opacity: 0;\n}\n._legendItems_wpro0_11 {\n background-color: var(--color-background-raised);\n border: 1px solid var(--color-border);\n padding: 4px 8px;\n border-radius: 2px;\n overflow-y: auto;\n max-height: 100%;\n overflow: overlay;\n --scrollbar-color: #00000040;\n}\n._legendItems_wpro0_11::-webkit-scrollbar {\n display: block;\n width: 16px;\n z-index: 2;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-button {\n display: none;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-track {\n background-color: #00000000;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-track-piece {\n background-color: #00000000;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-thumb {\n background-color: #00000000;\n border: 5px solid transparent;\n border-radius: 24px;\n box-shadow: 4px 0px 0px 4px var(--scrollbar-color) inset;\n}\n._legendItems_wpro0_11::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n._legend_wpro0_1._isDragging_wpro0_8 ._legendItems_wpro0_11._legendItems_wpro0_11 {\n pointer-events: none;\n}\n._legend_wpro0_1._isHidden_wpro0_47 ._legendItems_wpro0_11._legendItems_wpro0_11 {\n display: none;\n}\n._legendToggle_wpro0_50 {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: none;\n}\n._legend_wpro0_1._isHidden_wpro0_47 ._legendToggle_wpro0_50._legendToggle_wpro0_50,\n._legend_wpro0_1:hover ._legendToggle_wpro0_50._legendToggle_wpro0_50 {\n display: block;\n}\n._legend_wpro0_1:active ._legendToggle_wpro0_50._legendToggle_wpro0_50:not(:hover) {\n display: none;\n}\n._legend_wpro0_1._isHidden_wpro0_47 ._legendToggle_wpro0_50._legendToggle_wpro0_50 {\n position: static;\n transform: none;\n}\n._legend_wpro0_1._isDragging_wpro0_8 ._legendToggle_wpro0_50._legendToggle_wpro0_50 {\n display: none;\n}\n._legendItem_wpro0_11 {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n user-select: none;\n cursor: pointer;\n font-size: 12px;\n line-height: 16px;\n}\n._legendItemSymbol_wpro0_80 {\n display: flex;\n align-items: center;\n height: 16px;\n position: relative;\n flex-shrink: 0;\n}\nhtml[data-theme='dark'] ._legendItemSymbol_wpro0_80._legendItemSymbol_wpro0_80 {\n filter: invert(1) hue-rotate(180deg);\n}\n._legendItemBox_wpro0_90 {\n width: 100%;\n height: 12px;\n display: block;\n}\n._legendItemLine_wpro0_95 {\n position: absolute;\n display: flex;\n top: 50%;\n left: 0;\n width: 100%;\n transform: translateY(-50%);\n}\n._legendItemPoint_wpro0_103 {\n position: absolute;\n display: flex;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n._isHidden_wpro0_47 ._legendItemText_wpro0_110._legendItemText_wpro0_110 {\n text-decoration: line-through;\n}\n._scrollbars_wpro0_113 {\n overflow: overlay;\n --scrollbar-color: #00000040;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar {\n display: block;\n width: 16px;\n z-index: 2;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-button {\n display: none;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-track {\n background-color: #00000000;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-track-piece {\n background-color: #00000000;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-thumb {\n background-color: #00000000;\n border: 5px solid transparent;\n border-radius: 24px;\n box-shadow: 4px 0px 0px 4px var(--scrollbar-color) inset;\n}\n._scrollbars_wpro0_113::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n._dropzoneContainer_wpro0_140 {\n position: absolute;\n}\n._dropzone_wpro0_140 {\n position: absolute;\n width: 50%;\n height: 50%;\n display: flex;\n}\n._dropzone_wpro0_140._left_wpro0_149 {\n left: 0;\n justify-content: flex-start;\n}\n._dropzone_wpro0_140._right_wpro0_153 {\n right: 0;\n justify-content: flex-end;\n}\n._dropzone_wpro0_140._top_wpro0_157 {\n top: 0;\n align-items: flex-start;\n}\n._dropzone_wpro0_140._bottom_wpro0_161 {\n bottom: 0;\n align-items: flex-end;\n}\n._dropzonePlaceholder_wpro0_165 {\n position: absolute;\n background-color: rgba(0, 0, 0, 0.05);\n display: none;\n}\n[data-theme='dark'] ._dropzonePlaceholder_wpro0_165 {\n background-color: rgba(255, 255, 255, 0.05);\n}\n._isActive_wpro0_173 ._dropzonePlaceholder_wpro0_165._dropzonePlaceholder_wpro0_165 {\n display: block;\n}\n._resizeContainer_wpro0_176 {\n position: absolute;\n inset: 0;\n z-index: -1;\n}\nhtml[data-theme='dark'] ._chart_1jdnu_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_1jdnu_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n padding-top: 10px;\n position: relative;\n}\n._chart_1jdnu_1 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_1jdnu_1._fixedHeight_1jdnu_13 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_1jdnu_1._stretchHeight_1jdnu_19 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_1jdnu_1:focus {\n border: 1px solid #85b7d9;\n outline: none;\n}\n._chart_1jdnu_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_1jdnu_32 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_1jdnu_32 ._zoomReset_1jdnu_40 {\n margin-left: 10px;\n}\n._zoomForm_1jdnu_32 ._help_1jdnu_43 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_1jdnu_47 {\n width: 'auto';\n height: 'auto';\n}\nhtml[data-theme='dark'] ._chart_1t41j_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_1t41j_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n padding-top: 10px;\n position: relative;\n}\n._chart_1t41j_1 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_1t41j_1._fixedHeight_1t41j_13 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_1t41j_1._stretchHeight_1t41j_19 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_1t41j_1:focus {\n border: 1px solid #85b7d9;\n outline: none;\n}\n._chart_1t41j_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_1t41j_32 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_1t41j_32 ._zoomReset_1t41j_40 {\n margin-left: 10px;\n}\n._zoomForm_1t41j_32 ._help_1t41j_43 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_1t41j_47 {\n width: auto;\n height: auto;\n}"));
39494
39583
  document.head.appendChild(elementStyle);
39495
39584
  }
39496
39585
  } catch (e) {