@oliasoft-open-source/charts-library 4.7.5-beta-1 → 4.7.6
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 +28 -24
- package/dist/index.js.map +1 -1
- package/dist/src/components/bar-chart/utils/use-bar-chart-options.d.ts +1 -0
- package/dist/src/components/scatter-chart/hooks/use-scatter-chart-config.d.ts +1 -0
- package/dist/src/components/scatter-chart/scatter-chart.stories.d.ts +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -572,7 +572,7 @@ let Color$1 = class Color {
|
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
574
|
/*!
|
|
575
|
-
* Chart.js v4.4.
|
|
575
|
+
* Chart.js v4.4.7
|
|
576
576
|
* https://www.chartjs.org
|
|
577
577
|
* (c) 2024 Chart.js Contributors
|
|
578
578
|
* Released under the MIT License
|
|
@@ -584,7 +584,7 @@ const uid$1 = /* @__PURE__ */ (() => {
|
|
|
584
584
|
return () => id++;
|
|
585
585
|
})();
|
|
586
586
|
function isNullOrUndef$1(value) {
|
|
587
|
-
return value === null ||
|
|
587
|
+
return value === null || value === void 0;
|
|
588
588
|
}
|
|
589
589
|
function isArray$1(value) {
|
|
590
590
|
if (Array.isArray && Array.isArray(value)) {
|
|
@@ -2883,7 +2883,7 @@ function styleChanged$1(style, prevStyle) {
|
|
|
2883
2883
|
return JSON.stringify(style, replacer) !== JSON.stringify(prevStyle, replacer);
|
|
2884
2884
|
}
|
|
2885
2885
|
/*!
|
|
2886
|
-
* Chart.js v4.4.
|
|
2886
|
+
* Chart.js v4.4.7
|
|
2887
2887
|
* https://www.chartjs.org
|
|
2888
2888
|
* (c) 2024 Chart.js Contributors
|
|
2889
2889
|
* Released under the MIT License
|
|
@@ -7977,7 +7977,7 @@ function needContext$1(proxy, names2) {
|
|
|
7977
7977
|
}
|
|
7978
7978
|
return false;
|
|
7979
7979
|
}
|
|
7980
|
-
var version$3 = "4.4.
|
|
7980
|
+
var version$3 = "4.4.7";
|
|
7981
7981
|
const KNOWN_POSITIONS$1 = [
|
|
7982
7982
|
"top",
|
|
7983
7983
|
"bottom",
|
|
@@ -13035,7 +13035,7 @@ function cloneData(data) {
|
|
|
13035
13035
|
function ChartComponent(props, ref) {
|
|
13036
13036
|
const { height = 150, width = 300, redraw = false, datasetIdKey, type, data, options, plugins = [], fallbackContent, updateMode, ...canvasProps } = props;
|
|
13037
13037
|
const canvasRef = useRef(null);
|
|
13038
|
-
const chartRef = useRef();
|
|
13038
|
+
const chartRef = useRef(null);
|
|
13039
13039
|
const renderChart = () => {
|
|
13040
13040
|
if (!canvasRef.current) return;
|
|
13041
13041
|
chartRef.current = new Chart$2(canvasRef.current, {
|
|
@@ -13105,20 +13105,22 @@ function ChartComponent(props, ref) {
|
|
|
13105
13105
|
renderChart();
|
|
13106
13106
|
return () => destroyChart();
|
|
13107
13107
|
}, []);
|
|
13108
|
-
return /* @__PURE__ */ React__default.createElement("canvas",
|
|
13108
|
+
return /* @__PURE__ */ React__default.createElement("canvas", {
|
|
13109
13109
|
ref: canvasRef,
|
|
13110
13110
|
role: "img",
|
|
13111
13111
|
height,
|
|
13112
|
-
width
|
|
13113
|
-
|
|
13112
|
+
width,
|
|
13113
|
+
...canvasProps
|
|
13114
|
+
}, fallbackContent);
|
|
13114
13115
|
}
|
|
13115
13116
|
const Chart$1 = /* @__PURE__ */ forwardRef(ChartComponent);
|
|
13116
13117
|
function createTypedChart(type, registerables) {
|
|
13117
13118
|
Chart$2.register(registerables);
|
|
13118
|
-
return /* @__PURE__ */ forwardRef((props, ref) => /* @__PURE__ */ React__default.createElement(Chart$1,
|
|
13119
|
+
return /* @__PURE__ */ forwardRef((props, ref) => /* @__PURE__ */ React__default.createElement(Chart$1, {
|
|
13120
|
+
...props,
|
|
13119
13121
|
ref,
|
|
13120
13122
|
type
|
|
13121
|
-
}))
|
|
13123
|
+
}));
|
|
13122
13124
|
}
|
|
13123
13125
|
const Line = /* @__PURE__ */ createTypedChart("line", LineController$1);
|
|
13124
13126
|
const Bar = /* @__PURE__ */ createTypedChart("bar", BarController$1);
|
|
@@ -22387,7 +22389,7 @@ const chart$3 = "_chart_e3qdd_1";
|
|
|
22387
22389
|
const canvas$2 = "_canvas_e3qdd_11";
|
|
22388
22390
|
const fixedHeight$3 = "_fixedHeight_e3qdd_20";
|
|
22389
22391
|
const stretchHeight$3 = "_stretchHeight_e3qdd_26";
|
|
22390
|
-
const squareAspectRatio = "_squareAspectRatio_e3qdd_32";
|
|
22392
|
+
const squareAspectRatio$1 = "_squareAspectRatio_e3qdd_32";
|
|
22391
22393
|
const zoomForm$3 = "_zoomForm_e3qdd_43";
|
|
22392
22394
|
const zoomReset$3 = "_zoomReset_e3qdd_51";
|
|
22393
22395
|
const help$3 = "_help_e3qdd_54";
|
|
@@ -22398,7 +22400,7 @@ const styles$5 = {
|
|
|
22398
22400
|
canvas: canvas$2,
|
|
22399
22401
|
fixedHeight: fixedHeight$3,
|
|
22400
22402
|
stretchHeight: stretchHeight$3,
|
|
22401
|
-
squareAspectRatio,
|
|
22403
|
+
squareAspectRatio: squareAspectRatio$1,
|
|
22402
22404
|
zoomForm: zoomForm$3,
|
|
22403
22405
|
zoomReset: zoomReset$3,
|
|
22404
22406
|
help: help$3,
|
|
@@ -26011,7 +26013,7 @@ const useChartOptions = ({
|
|
|
26011
26013
|
annotation: toAnnotationObject(annotation2),
|
|
26012
26014
|
zoom: { pan: panOptions, zoom: zoomOptions },
|
|
26013
26015
|
tooltip,
|
|
26014
|
-
legend: { ...legend2, display: false },
|
|
26016
|
+
legend: { ...legend2, display: false, events: [] },
|
|
26015
26017
|
// hide default legend for line chart only
|
|
26016
26018
|
customLegendPlugin,
|
|
26017
26019
|
chartAreaBorder: {
|
|
@@ -40322,7 +40324,7 @@ const useBarChartOptions = ({
|
|
|
40322
40324
|
datalabels: getBarChartDataLabels(options),
|
|
40323
40325
|
annotation: toAnnotationObject(annotation2),
|
|
40324
40326
|
tooltip: getBarChartToolTips(options),
|
|
40325
|
-
legend: { ...legend2, display: false },
|
|
40327
|
+
legend: { ...legend2, display: false, events: [] },
|
|
40326
40328
|
// hide default legend
|
|
40327
40329
|
customLegendPlugin,
|
|
40328
40330
|
chartAreaBorder: {
|
|
@@ -40689,7 +40691,7 @@ const useScatterChartConfig = (chart2, chartRef) => {
|
|
|
40689
40691
|
onComplete: interactions == null ? void 0 : interactions.onAnimationComplete
|
|
40690
40692
|
},
|
|
40691
40693
|
plugins: {
|
|
40692
|
-
legend: { ...legend2, display: false },
|
|
40694
|
+
legend: { ...legend2, display: false, events: [] },
|
|
40693
40695
|
// hide default legend
|
|
40694
40696
|
customLegendPlugin,
|
|
40695
40697
|
title: getTitle(defaultOptions),
|
|
@@ -40861,19 +40863,21 @@ const gradientBackgroundPlugin = {
|
|
|
40861
40863
|
ctx.restore();
|
|
40862
40864
|
}
|
|
40863
40865
|
};
|
|
40864
|
-
const chart = "
|
|
40865
|
-
const canvas = "
|
|
40866
|
-
const fixedHeight = "
|
|
40867
|
-
const stretchHeight = "
|
|
40868
|
-
const
|
|
40869
|
-
const
|
|
40870
|
-
const
|
|
40871
|
-
const
|
|
40866
|
+
const chart = "_chart_1qlu1_1";
|
|
40867
|
+
const canvas = "_canvas_1qlu1_11";
|
|
40868
|
+
const fixedHeight = "_fixedHeight_1qlu1_20";
|
|
40869
|
+
const stretchHeight = "_stretchHeight_1qlu1_26";
|
|
40870
|
+
const squareAspectRatio = "_squareAspectRatio_1qlu1_32";
|
|
40871
|
+
const zoomForm = "_zoomForm_1qlu1_43";
|
|
40872
|
+
const zoomReset = "_zoomReset_1qlu1_51";
|
|
40873
|
+
const help = "_help_1qlu1_54";
|
|
40874
|
+
const autoWeight = "_autoWeight_1qlu1_58";
|
|
40872
40875
|
const styles = {
|
|
40873
40876
|
chart,
|
|
40874
40877
|
canvas,
|
|
40875
40878
|
fixedHeight,
|
|
40876
40879
|
stretchHeight,
|
|
40880
|
+
squareAspectRatio,
|
|
40877
40881
|
zoomForm,
|
|
40878
40882
|
zoomReset,
|
|
40879
40883
|
help,
|
|
@@ -40957,7 +40961,7 @@ export {
|
|
|
40957
40961
|
try {
|
|
40958
40962
|
if (typeof document != "undefined") {
|
|
40959
40963
|
var elementStyle = document.createElement("style");
|
|
40960
|
-
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_1edjs_1 {\n display: flex;\n align-items: center;\n gap: var(--padding-xs);\n}\n._buttons_1edjs_6 {\n display: flex;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\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_x1sru_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_x1sru_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n position: relative;\n display: flex;\n flex-direction: column;\n}\n._chart_x1sru_1 ._canvas_x1sru_10 {\n flex-grow: 1;\n min-height: 0;\n position: relative;\n}\n._chart_x1sru_1 ._canvas_x1sru_10 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_x1sru_1._fixedHeight_x1sru_19 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_x1sru_1._stretchHeight_x1sru_25 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_x1sru_1:focus {\n border: 1px solid #85b7d9;\n outline: none;\n}\n._chart_x1sru_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_x1sru_38 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_x1sru_38 ._zoomReset_x1sru_46 {\n margin-left: 10px;\n}\n._zoomForm_x1sru_38 ._help_x1sru_49 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_x1sru_53 {\n width: auto;\n height: auto;\n}\n._actions_x1sru_57 {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n}\nhtml[data-theme='dark'] .
|
|
40964
|
+
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_1edjs_1 {\n display: flex;\n align-items: center;\n gap: var(--padding-xs);\n}\n._buttons_1edjs_6 {\n display: flex;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\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_x1sru_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_x1sru_1 {\n border: 1px solid rgba(255, 255, 255, 0);\n position: relative;\n display: flex;\n flex-direction: column;\n}\n._chart_x1sru_1 ._canvas_x1sru_10 {\n flex-grow: 1;\n min-height: 0;\n position: relative;\n}\n._chart_x1sru_1 ._canvas_x1sru_10 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_x1sru_1._fixedHeight_x1sru_19 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_x1sru_1._stretchHeight_x1sru_25 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_x1sru_1:focus {\n border: 1px solid #85b7d9;\n outline: none;\n}\n._chart_x1sru_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_x1sru_38 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_x1sru_38 ._zoomReset_x1sru_46 {\n margin-left: 10px;\n}\n._zoomForm_x1sru_38 ._help_x1sru_49 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_x1sru_53 {\n width: auto;\n height: auto;\n}\n._actions_x1sru_57 {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n}\nhtml[data-theme='dark'] ._chart_1qlu1_1 canvas {\n filter: invert(1) hue-rotate(180deg);\n}\n._chart_1qlu1_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_1qlu1_1 ._canvas_1qlu1_11 {\n flex-grow: 1;\n min-height: 0;\n position: relative;\n}\n._chart_1qlu1_1 ._canvas_1qlu1_11 canvas {\n width: 100% !important;\n height: 100% !important;\n}\n._chart_1qlu1_1._fixedHeight_1qlu1_20 {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n height: auto;\n}\n._chart_1qlu1_1._stretchHeight_1qlu1_26 {\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n height: 100%;\n}\n._chart_1qlu1_1._squareAspectRatio_1qlu1_32 {\n aspect-ratio: 1;\n min-height: 0;\n min-width: 0;\n}\n._chart_1qlu1_1:focus {\n outline: none;\n}\n._chart_1qlu1_1::-moz-focus-inner {\n border: 0;\n}\n._zoomForm_1qlu1_43 {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n right: 0;\n}\n._zoomForm_1qlu1_43 ._zoomReset_1qlu1_51 {\n margin-left: 10px;\n}\n._zoomForm_1qlu1_43 ._help_1qlu1_54 {\n margin-left: 5px;\n line-height: 0;\n}\n._autoWeight_1qlu1_58 {\n width: 'auto';\n height: 'auto';\n}"));
|
|
40961
40965
|
document.head.appendChild(elementStyle);
|
|
40962
40966
|
}
|
|
40963
40967
|
} catch (e) {
|