@oliasoft-open-source/charts-library 5.2.0 → 5.2.1-beta-2
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/assets/Color-YHDXOIA2-BH-AgNhy.js +1 -0
- package/dist/assets/DocsRenderer-CFRXHY34-Dx3M1XwG.js +1 -0
- package/dist/assets/bar-chart-const-DT-Qreyz.js +1 -0
- package/dist/assets/bar-chart.stories-BGngamFz.js +145 -0
- package/dist/assets/chunk-2PTXLE6R-BSsKYLj_.js +1 -0
- package/dist/assets/chunk-H6MOWX77-Ds8Hqw1O.js +1 -0
- package/dist/assets/chunk-NUUEMKO5-2vSX1C-f.js +56 -0
- package/dist/assets/chunk-PRSJUHPQ-ClaE-lMK.js +2 -0
- package/dist/assets/chunk-XP5HYGXS-DyEAuB1b.js +1 -0
- package/dist/assets/client-mhWrpqNE.js +1 -0
- package/dist/assets/components-BTILpkCb.js +1 -0
- package/dist/assets/components-BUMWgrws.js +534 -0
- package/dist/assets/docs-tools-C8juKH9v.js +8 -0
- package/dist/assets/entry-preview-D8bkngdo.js +2 -0
- package/dist/assets/entry-preview-docs-DkpGzTK0.js +48 -0
- package/dist/assets/fast-deep-equal-GJSfJzsC.js +1 -0
- package/dist/assets/get-custom-legend-plugin-example-DlEN0LEe.js +1 -0
- package/dist/assets/get-draggableData-DyVot8Zl.js +2 -0
- package/dist/assets/iframe-BC9QdfhZ.js +226 -0
- package/dist/assets/jsx-runtime-BNVfsWEC.js +1 -0
- package/dist/assets/legend-Be3VjYcC.js +1266 -0
- package/dist/assets/legend-context-Bh42wyEh.js +47 -0
- package/dist/assets/line-chart-B0hmsdC3.js +1 -0
- package/dist/assets/line-chart.stories-tGGdFPhQ.js +1162 -0
- package/dist/assets/line-chart.test-case.stories-Cv2J7QkQ.js +430 -0
- package/dist/assets/pie-chart.stories-Cmh7O_JI.js +45 -0
- package/dist/assets/preview-Ba4CwQIJ.js +1 -0
- package/dist/assets/preview-Dihi2lh7.js +3 -0
- package/dist/assets/preview-xQjOlnQG.js +1 -0
- package/dist/assets/react-18-D9p-ZSzh.js +1 -0
- package/dist/assets/react-B_00WdD4.js +1 -0
- package/dist/assets/react-CJCPsloc.js +1 -0
- package/dist/assets/react-dom-BggwCd6n.js +8 -0
- package/dist/assets/react-lj49T_jL.js +1 -0
- package/dist/assets/scatter-chart.stories-Ch-mWz43.js +41 -0
- package/dist/assets/test-utils-D1bSFP61.js +1 -0
- package/dist/bar-chart/bar-chart-const.d.ts +2 -0
- package/dist/bar-chart/bar-chart-default-props.d.ts +2 -0
- package/dist/bar-chart/bar-chart.d.ts +3 -0
- package/dist/bar-chart/bar-chart.interface.d.ts +96 -0
- package/dist/bar-chart/utils/get-bar-chart-data-labels.d.ts +10 -0
- package/dist/bar-chart/utils/get-bar-chart-scales.d.ts +3 -0
- package/dist/bar-chart/utils/get-bar-chart-tooltips.d.ts +6 -0
- package/dist/bar-chart/utils/use-bar-chart-config.d.ts +13 -0
- package/dist/bar-chart/utils/use-bar-chart-options.d.ts +55 -0
- package/dist/common/common.interface.d.ts +210 -0
- package/dist/common/controls-portal.d.ts +7 -0
- package/dist/common/enums.d.ts +10 -0
- package/dist/common/helpers/chart-border-plugin.d.ts +16 -0
- package/dist/common/helpers/chart-consts.d.ts +39 -0
- package/dist/common/helpers/chart-utils.d.ts +86 -0
- package/dist/common/helpers/container.d.ts +18 -0
- package/dist/common/helpers/custom-format-number.d.ts +1 -0
- package/dist/common/helpers/download-pgn.d.ts +3 -0
- package/dist/common/helpers/enums.d.ts +80 -0
- package/dist/common/helpers/get-chart-annotation.d.ts +91 -0
- package/dist/common/helpers/get-custom-legend-plugin-example.d.ts +8 -0
- package/dist/common/helpers/get-draggableData.d.ts +18 -0
- package/dist/common/helpers/range/estimate-data-series-have-close-values.d.ts +8 -0
- package/dist/common/helpers/range/range.d.ts +33 -0
- package/dist/common/helpers/text.d.ts +1 -0
- package/dist/common/helpers/to-annotation.d.ts +4 -0
- package/dist/common/hooks/use-generated-labels.d.ts +4 -0
- package/dist/common/hooks/use-legend-state.d.ts +28 -0
- package/dist/common/hooks/use-legend.d.ts +4 -0
- package/dist/common/hooks/use-reset.d.ts +3 -0
- package/dist/common/hooks/use-update-annotations.d.ts +7 -0
- package/dist/common/legend-component/legend-dropzone.d.ts +3 -0
- package/dist/common/legend-component/legend-interface.d.ts +48 -0
- package/dist/common/legend-component/legend-item/LegendItemLine.d.ts +5 -0
- package/dist/common/legend-component/legend-item/legend-item.d.ts +3 -0
- package/dist/common/legend-component/legend-panel.d.ts +3 -0
- package/dist/common/legend-component/legend.d.ts +3 -0
- package/dist/common/legend-component/state/legend-action-types.d.ts +3 -0
- package/dist/common/legend-component/state/legend-context.d.ts +14 -0
- package/dist/common/legend-component/state/legend-state-reducer.d.ts +30 -0
- package/dist/common/legend-component/utils/create-style-object.d.ts +27 -0
- package/dist/common/legend-component/utils/get-generated-labels.d.ts +2 -0
- package/dist/common/plugins/annotation-dragger-plugin/annotation-dragger-plugin.d.ts +15 -0
- package/dist/common/plugins/annotation-dragger-plugin/enums.d.ts +20 -0
- package/dist/common/plugins/annotation-dragger-plugin/event-helpers.d.ts +6 -0
- package/dist/common/plugins/annotation-dragger-plugin/helpers.d.ts +53 -0
- package/dist/common/plugins/annotation-dragger-plugin/point-annotation-label.d.ts +5 -0
- package/dist/common/plugins/ellipsis-annotation-plugin/compute-ellipse-geometry.d.ts +9 -0
- package/dist/common/plugins/ellipsis-annotation-plugin/ellipsis-annotation-plugin.d.ts +18 -0
- package/dist/common/plugins/gradient-background-plugin/enums.d.ts +10 -0
- package/dist/common/plugins/gradient-background-plugin/gradient-background-plugin.d.ts +2 -0
- package/dist/favicon.svg +1 -0
- package/dist/iframe.html +666 -0
- package/dist/index.html +149 -0
- package/dist/index.js +4298 -38749
- package/dist/index.json +1 -0
- package/dist/line-chart/constants/default-translations.d.ts +25 -0
- package/dist/line-chart/constants/line-chart-consts.d.ts +13 -0
- package/dist/line-chart/controls/axes-options/axes-options-interfaces.d.ts +57 -0
- package/dist/line-chart/controls/axes-options/axes-options.d.ts +6 -0
- package/dist/line-chart/controls/axes-options/axes-validation.d.ts +8 -0
- package/dist/line-chart/controls/controls-interfaces.d.ts +20 -0
- package/dist/line-chart/controls/controls.d.ts +3 -0
- package/dist/line-chart/controls/drag-options-interfaces.d.ts +14 -0
- package/dist/line-chart/controls/drag-options.d.ts +23 -0
- package/dist/line-chart/controls/line-options.d.ts +19 -0
- package/dist/line-chart/hooks/use-chart-functions.d.ts +33 -0
- package/dist/line-chart/hooks/use-chart-options.d.ts +16 -0
- package/dist/line-chart/hooks/use-chart-plugins.d.ts +7 -0
- package/dist/line-chart/hooks/use-chart-state.d.ts +12 -0
- package/dist/line-chart/hooks/use-toggle-handler.d.ts +12 -0
- package/dist/line-chart/initialize/config.d.ts +12 -0
- package/dist/line-chart/initialize/initialize-line-chart.d.ts +12 -0
- package/dist/line-chart/line-chart-get-default-props.d.ts +2 -0
- package/dist/line-chart/line-chart.d.ts +3 -0
- package/dist/line-chart/line-chart.interface.d.ts +150 -0
- package/dist/line-chart/plugins/chart-area-text-plugin.d.ts +17 -0
- package/dist/line-chart/plugins/line-chart.minor-gridlines-plugin.d.ts +8 -0
- package/dist/line-chart/plugins/plugin-constants.d.ts +11 -0
- package/dist/line-chart/plugins/plugins.interface.d.ts +9 -0
- package/dist/line-chart/state/action-types.d.ts +12 -0
- package/dist/line-chart/state/helpers.d.ts +13 -0
- package/dist/line-chart/state/initial-state.d.ts +11 -0
- package/dist/line-chart/state/line-chart-reducer.d.ts +2 -0
- package/dist/line-chart/state/manage-state-in-local-storage.d.ts +15 -0
- package/dist/line-chart/state/state.interfaces.d.ts +26 -0
- package/dist/line-chart/utils/axis-formatting/axis-formatting.d.ts +2 -0
- package/dist/line-chart/utils/axis-scales/axis-scales.d.ts +9 -0
- package/dist/line-chart/utils/check-custom-option/check-custom-option.d.ts +12 -0
- package/dist/line-chart/utils/datalabels-alignment/datalabels-alignment.interface.d.ts +20 -0
- package/dist/line-chart/utils/datalabels-alignment/get-alignment-condition.d.ts +8 -0
- package/dist/line-chart/utils/datalabels-alignment/get-alignment-data.d.ts +11 -0
- package/dist/line-chart/utils/datalabels-alignment/get-datalabels-position.d.ts +6 -0
- package/dist/line-chart/utils/enums.d.ts +4 -0
- package/dist/line-chart/utils/generate-line-chart-datasets.d.ts +8 -0
- package/dist/line-chart/utils/get-annotations-data.d.ts +1 -0
- package/dist/line-chart/utils/get-axes-data-from-metasets.d.ts +1 -0
- package/dist/line-chart/utils/get-axes-ranges-from-chart.d.ts +9 -0
- package/dist/line-chart/utils/get-axis-range-by-type.d.ts +10 -0
- package/dist/line-chart/utils/get-generated-labels.d.ts +2 -0
- package/dist/line-chart/utils/get-line-chart-data-labels.d.ts +16 -0
- package/dist/line-chart/utils/get-line-chart-scales.d.ts +4 -0
- package/dist/line-chart/utils/get-line-chart-tooltips.d.ts +34 -0
- package/dist/line-chart/utils/line-chart-utils.d.ts +24 -0
- package/dist/line-chart/utils/translations/get-translations.d.ts +8 -0
- package/dist/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/nunito-sans-bold.woff2 +0 -0
- package/dist/nunito-sans-italic.woff2 +0 -0
- package/dist/nunito-sans-regular.woff2 +0 -0
- package/dist/pie-chart/pie-chart-defalut-props.interface.d.ts +50 -0
- package/dist/pie-chart/pie-chart-get-default-props.d.ts +3 -0
- package/dist/pie-chart/pie-chart.d.ts +3 -0
- package/dist/pie-chart/pie-chart.interface.d.ts +70 -0
- package/dist/pie-chart/use-pie-chart-config.d.ts +42 -0
- package/dist/project.json +1 -0
- package/dist/sb-addons/actions-1/manager-bundle.js +3 -0
- package/dist/sb-addons/docs-2/manager-bundle.js +242 -0
- package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/dist/sb-addons/storybook-dark-mode-esm-preset-3/manager-bundle.js +5 -0
- package/dist/sb-common-assets/favicon.svg +1 -0
- package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-manager/globals-module-info.js +1051 -0
- package/dist/sb-manager/globals-runtime.js +41591 -0
- package/dist/sb-manager/globals.js +48 -0
- package/dist/sb-manager/runtime.js +12048 -0
- package/dist/scatter-chart/hooks/use-scatter-chart-config.d.ts +113 -0
- package/dist/scatter-chart/scatter-chart-default-props.interface.d.ts +71 -0
- package/dist/scatter-chart/scatter-chart-get-default-props.d.ts +3 -0
- package/dist/scatter-chart/scatter-chart.d.ts +3 -0
- package/dist/scatter-chart/scatter-chart.interface.d.ts +81 -0
- package/dist/scatter-chart/utils/get-scales-config.d.ts +49 -0
- package/dist/scatter-chart/utils/get-tooltip-config.d.ts +21 -0
- package/package.json +1 -1
package/dist/index.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"v":5,"entries":{"barchart--docs":{"id":"barchart--docs","title":"BarChart","name":"Docs","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"barchart--default":{"type":"story","id":"barchart--default","name":"Default","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--custom-colors":{"type":"story","id":"barchart--custom-colors","name":"Custom Colors","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--custom-colors-array":{"type":"story","id":"barchart--custom-colors-array","name":"Custom Colors Array","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--multiple-sets":{"type":"story","id":"barchart--multiple-sets","name":"Multiple Sets","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--stacked":{"type":"story","id":"barchart--stacked","name":"Stacked","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--stacked-grouped":{"type":"story","id":"barchart--stacked-grouped","name":"Stacked Grouped","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--multiple-y-axes":{"type":"story","id":"barchart--multiple-y-axes","name":"Multiple Y Axes","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--horizontal":{"type":"story","id":"barchart--horizontal","name":"Horizontal","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--reversed":{"type":"story","id":"barchart--reversed","name":"Reversed","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--horizontal-reversed":{"type":"story","id":"barchart--horizontal-reversed","name":"Horizontal Reversed","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--axes-labels":{"type":"story","id":"barchart--axes-labels","name":"Axes Labels","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--axes-positions":{"type":"story","id":"barchart--axes-positions","name":"Axes Positions","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--non-zero-start":{"type":"story","id":"barchart--non-zero-start","name":"Non Zero Start","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--custom-range":{"type":"story","id":"barchart--custom-range","name":"Custom Range","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--custom-step-size":{"type":"story","id":"barchart--custom-step-size","name":"Custom Step Size","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--logarithmic-scale":{"type":"story","id":"barchart--logarithmic-scale","name":"Logarithmic Scale","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--datalabels":{"type":"story","id":"barchart--datalabels","name":"Datalabels","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--legend-on-right":{"type":"story","id":"barchart--legend-on-right","name":"Legend On Right","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--border":{"type":"story","id":"barchart--border","name":"Border","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--annotation-y-axis":{"type":"story","id":"barchart--annotation-y-axis","name":"Annotation Y Axis","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--annotation-x-axis":{"type":"story","id":"barchart--annotation-x-axis","name":"Annotation X Axis","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--annotation-diagonal":{"type":"story","id":"barchart--annotation-diagonal","name":"Annotation Diagonal","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--annotations-in-legend":{"type":"story","id":"barchart--annotations-in-legend","name":"Annotations In Legend","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--animated":{"type":"story","id":"barchart--animated","name":"Animated","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--custom-legend":{"type":"story","id":"barchart--custom-legend","name":"Custom Legend","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--drag-data-chart":{"type":"story","id":"barchart--drag-data-chart","name":"Drag Data Chart","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--pretty-labels-tooltips":{"type":"story","id":"barchart--pretty-labels-tooltips","name":"Pretty Labels Tooltips","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--stacked-selected-axis":{"type":"story","id":"barchart--stacked-selected-axis","name":"Stacked Selected Axis","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--waterfall-chart":{"type":"story","id":"barchart--waterfall-chart","name":"Waterfall Chart","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"barchart--controls-portal":{"type":"story","id":"barchart--controls-portal","name":"Controls Portal","title":"BarChart","importPath":"./src/components/bar-chart/bar-chart.stories.jsx","componentPath":"./src/components/bar-chart/bar-chart.tsx","tags":["dev","test","autodocs"]},"linechart--docs":{"id":"linechart--docs","title":"LineChart","name":"Docs","importPath":"./src/components/line-chart/line-chart.stories.jsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"linechart--default":{"type":"story","id":"linechart--default","name":"Default","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--hide-dataset-in-legend":{"type":"story","id":"linechart--hide-dataset-in-legend","name":"Hide Dataset In Legend","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--one-point":{"type":"story","id":"linechart--one-point","name":"One Point","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--point-styles":{"type":"story","id":"linechart--point-styles","name":"Point Styles","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--line-styles":{"type":"story","id":"linechart--line-styles","name":"Line Styles","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--fill-container":{"type":"story","id":"linechart--fill-container","name":"Fill Container","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--auto-axis-padding":{"type":"story","id":"linechart--auto-axis-padding","name":"Auto Axis Padding","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--no-title":{"type":"story","id":"linechart--no-title","name":"No Title","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--data-gaps":{"type":"story","id":"linechart--data-gaps","name":"Data Gaps","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--tooltip-units":{"type":"story","id":"linechart--tooltip-units","name":"Tooltip Units","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--minor-gridlines":{"type":"story","id":"linechart--minor-gridlines","name":"Minor Gridlines","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--axes-labels":{"type":"story","id":"linechart--axes-labels","name":"Axes Labels","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--multiple-y-axes":{"type":"story","id":"linechart--multiple-y-axes","name":"Multiple Y Axes","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--multiple-x-axes":{"type":"story","id":"linechart--multiple-x-axes","name":"Multiple X Axes","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--reversed-y-axis":{"type":"story","id":"linechart--reversed-y-axis","name":"Reversed Y Axis","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--logarithmic-scale":{"type":"story","id":"linechart--logarithmic-scale","name":"Logarithmic Scale","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--preset-range":{"type":"story","id":"linechart--preset-range","name":"Preset Range","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--data-labels":{"type":"story","id":"linechart--data-labels","name":"Data Labels","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--data-labels-in-tooltips":{"type":"story","id":"linechart--data-labels-in-tooltips","name":"Data Labels In Tooltips","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--legend-on-right":{"type":"story","id":"linechart--legend-on-right","name":"Legend On Right","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--hide-legend":{"type":"story","id":"linechart--hide-legend","name":"Hide Legend","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--annotations":{"type":"story","id":"linechart--annotations","name":"Annotations","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--annotations-box":{"type":"story","id":"linechart--annotations-box","name":"Annotations Box","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--annotations-ellipse":{"type":"story","id":"linechart--annotations-ellipse","name":"Annotations Ellipse","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--annotations-point":{"type":"story","id":"linechart--annotations-point","name":"Annotations Point","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--annotations-in-legend":{"type":"story","id":"linechart--annotations-in-legend","name":"Annotations In Legend","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--custom-legend":{"type":"story","id":"linechart--custom-legend","name":"Custom Legend","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--animation":{"type":"story","id":"linechart--animation","name":"Animation","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--square-aspect-ratio":{"type":"story","id":"linechart--square-aspect-ratio","name":"Square Aspect Ratio","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--header-component-no-title":{"type":"story","id":"linechart--header-component-no-title","name":"Header Component No Title","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--header-component-with-title":{"type":"story","id":"linechart--header-component-with-title","name":"Header Component With Title","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--subheader-component":{"type":"story","id":"linechart--subheader-component","name":"Subheader Component","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--controls-portal":{"type":"story","id":"linechart--controls-portal","name":"Controls Portal","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--with-table":{"type":"story","id":"linechart--with-table","name":"With Table","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--square-aspect-ratio-fill-container":{"type":"story","id":"linechart--square-aspect-ratio-fill-container","name":"Square Aspect Ratio Fill Container","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--on-point-hover":{"type":"story","id":"linechart--on-point-hover","name":"On Point Hover","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--zero-values":{"type":"story","id":"linechart--zero-values","name":"Zero Values","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--similar-values":{"type":"story","id":"linechart--similar-values","name":"Similar Values","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--hide-irregular-major-axis-ticks":{"type":"story","id":"linechart--hide-irregular-major-axis-ticks","name":"Hide Irregular Major Axis Ticks","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--test-number-separators":{"type":"story","id":"linechart--test-number-separators","name":"Test Number Separators","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--performance-test-case":{"type":"story","id":"linechart--performance-test-case","name":"Performance Test Case","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--extra-test-cases":{"type":"story","id":"linechart--extra-test-cases","name":"Extra Test Cases","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--axis-label-format-test-cases":{"type":"story","id":"linechart--axis-label-format-test-cases","name":"Axis Label Format Test Cases","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--data-set-with-toggle":{"type":"story","id":"linechart--data-set-with-toggle","name":"Data Set With Toggle","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--axes-depth-types":{"type":"story","id":"linechart--axes-depth-types","name":"Axes Depth Types","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--drag-data-chart":{"type":"story","id":"linechart--drag-data-chart","name":"Drag Data Chart","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--storage-state":{"type":"story","id":"linechart--storage-state","name":"Storage State","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--with-translations":{"type":"story","id":"linechart--with-translations","name":"With Translations","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--test-long-tooltip":{"type":"story","id":"linechart--test-long-tooltip","name":"Test Long Tooltip","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--test-many-lines":{"type":"story","id":"linechart--test-many-lines","name":"Test Many Lines","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--test-long-legend-labels":{"type":"story","id":"linechart--test-long-legend-labels","name":"Test Long Legend Labels","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--test-resizing-container":{"type":"story","id":"linechart--test-resizing-container","name":"Test Resizing Container","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--partial-range":{"type":"story","id":"linechart--partial-range","name":"Partial Range","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--combining-types":{"type":"story","id":"linechart--combining-types","name":"Combining Types","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--external-select":{"type":"story","id":"linechart--external-select","name":"External Select","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--set-ds-dynamically":{"type":"story","id":"linechart--set-ds-dynamically","name":"Set DS Dynamically","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--empty-ds":{"type":"story","id":"linechart--empty-ds","name":"Empty DS","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--tension":{"type":"story","id":"linechart--tension","name":"Tension","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--separate-tensions-for-d-ss":{"type":"story","id":"linechart--separate-tensions-for-d-ss","name":"Separate Tensions For D Ss","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--test-custom-line-points-logic":{"type":"story","id":"linechart--test-custom-line-points-logic","name":"Test Custom Line Points Logic","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--manage-annotation-externally":{"type":"story","id":"linechart--manage-annotation-externally","name":"Manage Annotation Externally","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--filter-annotation-when-legend-click":{"type":"story","id":"linechart--filter-annotation-when-legend-click","name":"Filter Annotation When Legend Click","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--grouped-ds":{"type":"story","id":"linechart--grouped-ds","name":"Grouped DS","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--similar-values-with-annotation":{"type":"story","id":"linechart--similar-values-with-annotation","name":"Similar Values With Annotation","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--hide-specific-dataset-and-annotation":{"type":"story","id":"linechart--hide-specific-dataset-and-annotation","name":"Hide Specific Dataset And Annotation","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--drag-annotations":{"type":"story","id":"linechart--drag-annotations","name":"Drag Annotations","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--multi-axes-drag-annotations":{"type":"story","id":"linechart--multi-axes-drag-annotations","name":"Multi Axes Drag Annotations","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--chart-filler-plugin":{"type":"story","id":"linechart--chart-filler-plugin","name":"Chart Filler Plugin","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart--ellipsis-annotations":{"type":"story","id":"linechart--ellipsis-annotations","name":"Ellipsis Annotations","title":"LineChart","importPath":"./src/components/line-chart/line-chart.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart-test-cases--docs":{"id":"linechart-test-cases--docs","title":"LineChart / Test Cases","name":"Docs","importPath":"./src/components/line-chart/line-chart.test-case.stories.jsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"linechart-test-cases--partial-range-with-similar-values":{"type":"story","id":"linechart-test-cases--partial-range-with-similar-values","name":"Partial Range With Similar Values","title":"LineChart / Test Cases","importPath":"./src/components/line-chart/line-chart.test-case.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart-test-cases--close-to-value-in-different-axes":{"type":"story","id":"linechart-test-cases--close-to-value-in-different-axes","name":"Close To Value In Different Axes","title":"LineChart / Test Cases","importPath":"./src/components/line-chart/line-chart.test-case.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"linechart-test-cases--stress-test":{"type":"story","id":"linechart-test-cases--stress-test","name":"Stress Test","title":"LineChart / Test Cases","importPath":"./src/components/line-chart/line-chart.test-case.stories.jsx","componentPath":"./src/components/line-chart/line-chart.tsx","tags":["dev","test","autodocs"]},"piechart--docs":{"id":"piechart--docs","title":"PieChart","name":"Docs","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"piechart--default":{"type":"story","id":"piechart--default","name":"Default","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--multiple-sets":{"type":"story","id":"piechart--multiple-sets","name":"Multiple Sets","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--multiple-sets-stacked":{"type":"story","id":"piechart--multiple-sets-stacked","name":"Multiple Sets Stacked","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--datalabels":{"type":"story","id":"piechart--datalabels","name":"Datalabels","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--datalabels-values":{"type":"story","id":"piechart--datalabels-values","name":"Datalabels Values","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--datalabels-in-tooltips":{"type":"story","id":"piechart--datalabels-in-tooltips","name":"Datalabels In Tooltips","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--animated":{"type":"story","id":"piechart--animated","name":"Animated","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--doughnut":{"type":"story","id":"piechart--doughnut","name":"Doughnut","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--doughnut-fixed-cutout":{"type":"story","id":"piechart--doughnut-fixed-cutout","name":"Doughnut Fixed Cutout","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--hover-offset":{"type":"story","id":"piechart--hover-offset","name":"Hover Offset","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"piechart--segment-offset":{"type":"story","id":"piechart--segment-offset","name":"Segment Offset","title":"PieChart","importPath":"./src/components/pie-chart/pie-chart.stories.jsx","componentPath":"./src/components/pie-chart/pie-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--docs":{"id":"scatterchart--docs","title":"ScatterChart","name":"Docs","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"scatterchart--default":{"type":"story","id":"scatterchart--default","name":"Default","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--styled-chart":{"type":"story","id":"scatterchart--styled-chart","name":"Styled Chart","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--multiple-datasets":{"type":"story","id":"scatterchart--multiple-datasets","name":"Multiple Datasets","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--with-data-labels":{"type":"story","id":"scatterchart--with-data-labels","name":"With Data Labels","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--with-tooltips":{"type":"story","id":"scatterchart--with-tooltips","name":"With Tooltips","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--with-annotation":{"type":"story","id":"scatterchart--with-annotation","name":"With Annotation","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--with-axes-labels":{"type":"story","id":"scatterchart--with-axes-labels","name":"With Axes Labels","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--with-gradient":{"type":"story","id":"scatterchart--with-gradient","name":"With Gradient","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--with-datapoints-having-label":{"type":"story","id":"scatterchart--with-datapoints-having-label","name":"With Datapoints Having Label","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]},"scatterchart--custom-point-color":{"type":"story","id":"scatterchart--custom-point-color","name":"Custom Point Color","title":"ScatterChart","importPath":"./src/components/scatter-chart/scatter-chart.stories.jsx","componentPath":"./src/components/scatter-chart/scatter-chart.tsx","tags":["dev","test","autodocs"]}}}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum defaultTranslations {
|
|
2
|
+
label = "Label",
|
|
3
|
+
pointsLines = "Points & lines",
|
|
4
|
+
linesOnly = "Lines only",
|
|
5
|
+
pointsOnly = "Points only",
|
|
6
|
+
axesOptions = "Axes options",
|
|
7
|
+
resetAxes = "Reset Axes",
|
|
8
|
+
done = "Done",
|
|
9
|
+
downloadAsPNG = "Download as PNG",
|
|
10
|
+
showChart = "Show chart",
|
|
11
|
+
showTable = "Show table",
|
|
12
|
+
dragToZoom = "Drag to zoom",
|
|
13
|
+
dragToPan = "Drag to pan",
|
|
14
|
+
dragToMovePoints = "Drag to move points",
|
|
15
|
+
dragToMoveAnnotation = "Drag to move annotation",
|
|
16
|
+
dragDisabled = "Drag disabled",
|
|
17
|
+
hideLegend = "Hide Legend",
|
|
18
|
+
showLegend = "Show Legend",
|
|
19
|
+
mustHaveAValue = "Must have a value",
|
|
20
|
+
mustBeANumber = "Must be a number",
|
|
21
|
+
mustBeLessThanMax = "Must be less than max",
|
|
22
|
+
mustBeGreaterThanMin = "Must be greater than min",
|
|
23
|
+
doubleClickToReset = "Double click on canvas to reset",
|
|
24
|
+
orDoubleClickToCanvas = "or double click on canvas"
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const DEFAULT_POINT_RADIUS = 2;
|
|
2
|
+
export declare const DEFAULT_HOVER_RADIUS = 5;
|
|
3
|
+
export declare const DEFAULT_BORDER_WIDTH = 1;
|
|
4
|
+
export declare const BORDER_JOIN_STYLE = "round";
|
|
5
|
+
export declare const DEFAULT_BACKGROUND_COLOR = "transparent";
|
|
6
|
+
export declare const ZOOM_BOX_BACKGROUND_COLOR = "rgba(0, 0, 0, 0.1)";
|
|
7
|
+
export declare const DOUBLE_CLICK = "dblclick";
|
|
8
|
+
export declare const INIT_KEYS: {
|
|
9
|
+
TRANSLATIONS: string;
|
|
10
|
+
LANGUAGE_KEY: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const LOWER_BOUND = 0.0001;
|
|
13
|
+
export declare const UPPER_BOUND = 10000000;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { RefObject } from '../../../../../node_modules/react';
|
|
2
|
+
import { Chart } from 'chart.js';
|
|
3
|
+
import { IUnitOptions } from '../../line-chart.interface';
|
|
4
|
+
import { IAxisState, IState } from '../../state/state.interfaces';
|
|
5
|
+
export interface IDepthType {
|
|
6
|
+
selectedDepthType?: string;
|
|
7
|
+
setSelectedDepthType?: (type: string) => void;
|
|
8
|
+
options?: Array<string>;
|
|
9
|
+
}
|
|
10
|
+
export interface IAxisControlLabel {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IAxesOptions {
|
|
15
|
+
chartRef: RefObject<Chart>;
|
|
16
|
+
state: IState;
|
|
17
|
+
controlsAxesLabels: IAxisControlLabel[];
|
|
18
|
+
onUpdateAxes: ({ axes }: {
|
|
19
|
+
axes: IAxisState;
|
|
20
|
+
}) => void;
|
|
21
|
+
onResetAxes: () => void;
|
|
22
|
+
onUpdateEdited: (edited: boolean) => void;
|
|
23
|
+
depthType?: IDepthType | object;
|
|
24
|
+
close?: () => void;
|
|
25
|
+
}
|
|
26
|
+
export interface IOnEdit {
|
|
27
|
+
name?: string;
|
|
28
|
+
value?: string;
|
|
29
|
+
id?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IAxisFormState {
|
|
32
|
+
id: string;
|
|
33
|
+
min: number | string;
|
|
34
|
+
max: number | string;
|
|
35
|
+
unit?: string | IUnitOptions;
|
|
36
|
+
}
|
|
37
|
+
export type IInitializeAxisFormState = IAxisFormState[];
|
|
38
|
+
export interface IError {
|
|
39
|
+
id: string;
|
|
40
|
+
min: string[];
|
|
41
|
+
max: string[];
|
|
42
|
+
}
|
|
43
|
+
export interface IFormState extends IInitializeAxisFormState {
|
|
44
|
+
errors?: IError[];
|
|
45
|
+
valid?: boolean;
|
|
46
|
+
}
|
|
47
|
+
type ActionType = 'reset' | 'valueUpdated' | 'unitUpdated';
|
|
48
|
+
export type AxisKey = 'min' | 'max' | 'unit';
|
|
49
|
+
interface ActionPayload extends IOnEdit {
|
|
50
|
+
axes?: IAxisState[];
|
|
51
|
+
chartRef?: RefObject<Chart>;
|
|
52
|
+
}
|
|
53
|
+
export interface IAction {
|
|
54
|
+
type: ActionType;
|
|
55
|
+
payload: ActionPayload;
|
|
56
|
+
}
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IAxesOptions } from './axes-options-interfaces';
|
|
2
|
+
interface IAxesOptionsWithTranslations extends IAxesOptions {
|
|
3
|
+
translations: Record<string, string>;
|
|
4
|
+
}
|
|
5
|
+
export declare const AxesOptions: (optionsPopover: IAxesOptionsWithTranslations) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Dispatch, ReactNode, RefObject } from '../../../../node_modules/react';
|
|
2
|
+
import { Chart } from 'chart.js';
|
|
3
|
+
import { ILineChartOptions, TGeneratedLineChartDatasets } from '../line-chart.interface';
|
|
4
|
+
import { IState } from '../state/state.interfaces';
|
|
5
|
+
export interface IControls {
|
|
6
|
+
headerComponent?: ReactNode;
|
|
7
|
+
subheaderComponent?: ReactNode;
|
|
8
|
+
table?: ReactNode;
|
|
9
|
+
chartRef: RefObject<Chart>;
|
|
10
|
+
state: IState;
|
|
11
|
+
options: ILineChartOptions;
|
|
12
|
+
dispatch: Dispatch<any>;
|
|
13
|
+
generatedDatasets: TGeneratedLineChartDatasets;
|
|
14
|
+
translations: Record<string, string>;
|
|
15
|
+
controlsPortalId?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface AxisControls {
|
|
18
|
+
id?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IControls } from './controls-interfaces';
|
|
2
|
+
declare const Controls: ({ table, headerComponent, subheaderComponent, chartRef, state, options, dispatch, generatedDatasets, translations, controlsPortalId, }: IControls) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Controls;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IDragOptions {
|
|
2
|
+
onTogglePan: () => void;
|
|
3
|
+
onToggleZoom: () => void;
|
|
4
|
+
panEnabled: boolean;
|
|
5
|
+
zoomEnabled: boolean;
|
|
6
|
+
enableDragPoints?: boolean;
|
|
7
|
+
enableDragAnnotation?: boolean;
|
|
8
|
+
isDragDataAllowed?: boolean;
|
|
9
|
+
isDragAnnotationAllowed?: boolean;
|
|
10
|
+
onToggleDragAnnotation: () => void;
|
|
11
|
+
onToggleDragPoints: () => void;
|
|
12
|
+
onDisableDragOptions: () => void;
|
|
13
|
+
translations: Record<string, string>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IMenuSection } from '@oliasoft-open-source/react-ui-library';
|
|
2
|
+
import { IDragOptions } from './drag-options-interfaces';
|
|
3
|
+
export declare function getDragOptions({ onTogglePan, onToggleZoom, panEnabled, zoomEnabled, enableDragPoints, enableDragAnnotation, isDragDataAllowed, isDragAnnotationAllowed, onToggleDragAnnotation, onToggleDragPoints, onDisableDragOptions, translations: { dragToZoom, doubleClickToReset, dragToPan, dragToMovePoints, dragDisabled, dragToMoveAnnotation, }, }: IDragOptions): ({
|
|
4
|
+
label: string;
|
|
5
|
+
description: string;
|
|
6
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
selected: boolean;
|
|
8
|
+
type: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
} | {
|
|
11
|
+
label: string;
|
|
12
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
selected: boolean | undefined;
|
|
14
|
+
type: string;
|
|
15
|
+
onClick: () => void;
|
|
16
|
+
description?: undefined;
|
|
17
|
+
})[];
|
|
18
|
+
/**
|
|
19
|
+
* @param {import('./drag-options-interfaces').IDragOptions} obj
|
|
20
|
+
*/
|
|
21
|
+
export declare const DragOptions: ({ options }: {
|
|
22
|
+
options: IMenuSection[];
|
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IMenuSection } from '@oliasoft-open-source/react-ui-library';
|
|
2
|
+
interface ILineOptions {
|
|
3
|
+
lineEnabled: boolean;
|
|
4
|
+
onToggleLine: () => void;
|
|
5
|
+
onTogglePoints: () => void;
|
|
6
|
+
pointsEnabled: boolean;
|
|
7
|
+
translations: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
export declare function getLineOptions({ lineEnabled, onToggleLine, onTogglePoints, pointsEnabled, translations, }: ILineOptions): {
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const LineOptions: ({ options }: {
|
|
17
|
+
options: IMenuSection[];
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Dispatch, KeyboardEvent, RefObject, SetStateAction } from '../../../../node_modules/react';
|
|
2
|
+
import { Chart, ChartEvent } from 'chart.js';
|
|
3
|
+
import { ICommonDataValue, ICommonHoveredItems } from '../../common/common.interface';
|
|
4
|
+
import { ILineChartOptions, TGeneratedLineChartDatasets } from '../line-chart.interface';
|
|
5
|
+
import { IAxisState, IState } from '../state/state.interfaces';
|
|
6
|
+
interface IUseChartFunctions {
|
|
7
|
+
chartRef: RefObject<Chart>;
|
|
8
|
+
state: IState;
|
|
9
|
+
options: ILineChartOptions;
|
|
10
|
+
dispatch: Dispatch<any>;
|
|
11
|
+
generatedDatasets: TGeneratedLineChartDatasets;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Custom hook that encapsulates the chart-related functions and their dependencies
|
|
15
|
+
*/
|
|
16
|
+
export declare const useChartFunctions: ({ chartRef, state, options, dispatch, generatedDatasets, }: IUseChartFunctions) => {
|
|
17
|
+
resetZoom: () => void;
|
|
18
|
+
onHover: (hoveredPoint: ICommonDataValue | null, setHoveredPoint: Dispatch<SetStateAction<ICommonDataValue | null>>, datasets: TGeneratedLineChartDatasets) => (evt: ChartEvent, hoveredItems: ICommonHoveredItems[]) => void;
|
|
19
|
+
handleDownload: () => void;
|
|
20
|
+
handleKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
21
|
+
handleKeyUp: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
22
|
+
controlsAxesLabels: {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
}[];
|
|
26
|
+
updateAxesRangesFromChart: () => void;
|
|
27
|
+
onResetAxes: () => void;
|
|
28
|
+
onUpdateAxes: ({ axes }: {
|
|
29
|
+
axes: IAxisState;
|
|
30
|
+
}) => void;
|
|
31
|
+
onUpdateEdited: (edited: boolean) => void;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Dispatch, RefObject } from '../../../../node_modules/react';
|
|
2
|
+
import { Chart, ChartOptions } from 'chart.js';
|
|
3
|
+
import { IState } from '../state/state.interfaces';
|
|
4
|
+
import { ILineChartOptions, TGeneratedLineChartDatasets } from '../line-chart.interface';
|
|
5
|
+
interface IUseChartOptions {
|
|
6
|
+
chartRef: RefObject<Chart>;
|
|
7
|
+
state: IState;
|
|
8
|
+
options: ILineChartOptions;
|
|
9
|
+
dispatch: Dispatch<any>;
|
|
10
|
+
generatedDatasets: TGeneratedLineChartDatasets;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Custom hook to generate chart options.
|
|
14
|
+
*/
|
|
15
|
+
export declare const useChartOptions: ({ chartRef, state, options, dispatch, generatedDatasets, }: IUseChartOptions) => ChartOptions<"line">;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IState } from '../state/state.interfaces';
|
|
2
|
+
import { ILineChartOptions } from '../line-chart.interface';
|
|
3
|
+
interface IUseChartState {
|
|
4
|
+
options: ILineChartOptions;
|
|
5
|
+
state: IState;
|
|
6
|
+
persistenceId?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Hook for managing the state of the chart.
|
|
10
|
+
*/
|
|
11
|
+
export declare const useChartState: ({ options, state, persistenceId, }: IUseChartState) => void;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dispatch } from '../../../../node_modules/react';
|
|
2
|
+
export declare const useToggleHandlers: (dispatch: Dispatch<any>) => {
|
|
3
|
+
onToggleLegend: () => void;
|
|
4
|
+
onToggleLine: () => void;
|
|
5
|
+
onTogglePan: () => void;
|
|
6
|
+
onTogglePoints: () => void;
|
|
7
|
+
onToggleTable: () => void;
|
|
8
|
+
onToggleZoom: () => void;
|
|
9
|
+
onToggleDragPoints: () => void;
|
|
10
|
+
onToggleDragAnnotation: () => void;
|
|
11
|
+
onDisableDragOptions: () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve the value for the given key from the config object.
|
|
3
|
+
* @param {string} key - The key to access the corresponding value in the config object.
|
|
4
|
+
* @returns {*} - The value associated with the given key in the config object or config.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getConfig: (key?: string) => any;
|
|
7
|
+
/**
|
|
8
|
+
* Set a new value for the given key in the config object.
|
|
9
|
+
* @param {string} key - The key to access the corresponding value in the config object.
|
|
10
|
+
* @param {*} newValue - The new value to be set for the given key.
|
|
11
|
+
*/
|
|
12
|
+
export declare const setConfig: (key: string, newValue: string | Record<string, string>) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initialize the charts library with the provided configurations.
|
|
3
|
+
* This function will store the configuration options in a config object.
|
|
4
|
+
* @param {object} options - An object containing the configuration options for the library.
|
|
5
|
+
* @param {object} options.translations - The translations to be used in the library.
|
|
6
|
+
* @param {string} options.languageKey - The language key to be stored in the config object, used for translations.
|
|
7
|
+
* @param {...object} options - Any additional options to be stored in the config object.
|
|
8
|
+
*/
|
|
9
|
+
export declare const initializeLineChart: ({ languageKey, ...options }: {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
languageKey?: string | undefined;
|
|
12
|
+
}) => void;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { ReactNode } from '../../../node_modules/react';
|
|
2
|
+
import { ICommonAnnotations, ICommonChartOptions, ICommonCustomLegend, ICommonData, ICommonDataset, ICommonDataValue, ICommonDragData, ICommonInteractions, ICommonLegend, ICommonOptions, ICommonScales, ICommonStyling, ICommonTooltip } from '../common/common.interface';
|
|
3
|
+
export interface ILChartOptions extends ICommonChartOptions {
|
|
4
|
+
showPoints: boolean;
|
|
5
|
+
closeOnOutsideClick: boolean;
|
|
6
|
+
showLine: boolean;
|
|
7
|
+
enableDragAnnotation?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ILineChartGraph {
|
|
10
|
+
lineTension: number;
|
|
11
|
+
spanGaps: boolean;
|
|
12
|
+
showDataLabels: boolean;
|
|
13
|
+
showMinorGridlines: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ILineChartTooltip extends ICommonTooltip {
|
|
16
|
+
hideSimulationName: boolean;
|
|
17
|
+
scientificNotation: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface ILineChartRange {
|
|
20
|
+
min: number;
|
|
21
|
+
max: number;
|
|
22
|
+
}
|
|
23
|
+
export interface ILineRange {
|
|
24
|
+
[key: string]: ILineChartRange;
|
|
25
|
+
}
|
|
26
|
+
export interface ILineChartAdditionalAxesOptions {
|
|
27
|
+
chartScaleType: 'linear' | 'logarithmic';
|
|
28
|
+
reverse: boolean;
|
|
29
|
+
beginAtZero: boolean;
|
|
30
|
+
stepSize?: number;
|
|
31
|
+
suggestedMin?: number;
|
|
32
|
+
suggestedMax?: number;
|
|
33
|
+
range?: ILineRange;
|
|
34
|
+
autoAxisPadding: boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface IUnitOptions {
|
|
37
|
+
options: string[];
|
|
38
|
+
selectedUnit: string;
|
|
39
|
+
setSelectedUnit: () => void;
|
|
40
|
+
}
|
|
41
|
+
export interface ILineChartAxis<PositionType = any> {
|
|
42
|
+
id?: string;
|
|
43
|
+
label: string;
|
|
44
|
+
position: PositionType;
|
|
45
|
+
color: string | string[];
|
|
46
|
+
unit?: IUnitOptions;
|
|
47
|
+
stepSize?: number;
|
|
48
|
+
gridLines?: ILineChartGraph;
|
|
49
|
+
min?: number | string;
|
|
50
|
+
max?: number | string;
|
|
51
|
+
}
|
|
52
|
+
export interface ILineChartAxes {
|
|
53
|
+
x: ILineChartAxis<'top' | 'bottom'>[];
|
|
54
|
+
y: ILineChartAxis<'left' | 'right'>[];
|
|
55
|
+
[key: string]: ILineChartAxis[];
|
|
56
|
+
}
|
|
57
|
+
export interface IDepthType {
|
|
58
|
+
options: string[];
|
|
59
|
+
selectedUnit: string;
|
|
60
|
+
setSelectedUnit: () => void;
|
|
61
|
+
}
|
|
62
|
+
export interface ILineChartStyling extends ICommonStyling {
|
|
63
|
+
squareAspectRatio?: number | boolean;
|
|
64
|
+
layoutPadding?: number | {
|
|
65
|
+
top: number;
|
|
66
|
+
bottom: number;
|
|
67
|
+
left: number;
|
|
68
|
+
right: number;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export interface ILineInteractions extends ICommonInteractions {
|
|
72
|
+
onAnimationComplete?: () => void;
|
|
73
|
+
}
|
|
74
|
+
export interface ILineLegend extends ICommonLegend {
|
|
75
|
+
customLegend?: ICommonCustomLegend<any>;
|
|
76
|
+
usePointStyle?: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface ILineChartOptions extends ICommonOptions {
|
|
79
|
+
title?: string | string[];
|
|
80
|
+
axes: ILineChartAxes;
|
|
81
|
+
scales: ICommonScales;
|
|
82
|
+
additionalAxesOptions: ILineChartAdditionalAxesOptions;
|
|
83
|
+
chartStyling: ILineChartStyling;
|
|
84
|
+
tooltip: ILineChartTooltip;
|
|
85
|
+
graph: ILineChartGraph;
|
|
86
|
+
annotations: ICommonAnnotations;
|
|
87
|
+
legend: ILineLegend;
|
|
88
|
+
chartOptions: ILChartOptions;
|
|
89
|
+
interactions: ILineInteractions;
|
|
90
|
+
dragData?: ICommonDragData;
|
|
91
|
+
depthType?: IDepthType | object;
|
|
92
|
+
}
|
|
93
|
+
export interface ILineChartDataset extends ICommonDataset {
|
|
94
|
+
lineTension?: number;
|
|
95
|
+
pointBackgroundColor?: string;
|
|
96
|
+
pointRadius?: number;
|
|
97
|
+
pointHoverRadius?: number;
|
|
98
|
+
pointHitRadius?: number;
|
|
99
|
+
fill?: boolean;
|
|
100
|
+
xAxisID?: string;
|
|
101
|
+
yAxisID?: string;
|
|
102
|
+
formation?: boolean;
|
|
103
|
+
displayGroup?: string | number;
|
|
104
|
+
pointStyle?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface ILineChartData extends ICommonData {
|
|
107
|
+
data?: {
|
|
108
|
+
datasets: ILineChartDataset[];
|
|
109
|
+
};
|
|
110
|
+
options: ILineChartOptions;
|
|
111
|
+
persistenceId?: string;
|
|
112
|
+
controlsPortalId?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface ILineChartProps {
|
|
115
|
+
chart: ILineChartData;
|
|
116
|
+
table?: ReactNode;
|
|
117
|
+
headerComponent?: ReactNode;
|
|
118
|
+
subheaderComponent?: ReactNode;
|
|
119
|
+
}
|
|
120
|
+
export interface IGeneratedLineChartDataset {
|
|
121
|
+
label?: string;
|
|
122
|
+
data: ICommonDataValue[];
|
|
123
|
+
showLine?: boolean;
|
|
124
|
+
lineTension: number;
|
|
125
|
+
spanGaps: boolean;
|
|
126
|
+
borderWidth: number;
|
|
127
|
+
borderDash: number[];
|
|
128
|
+
borderJoinStyle: 'round' | 'bevel' | 'miter';
|
|
129
|
+
borderColor: string;
|
|
130
|
+
backgroundColor: string | string[];
|
|
131
|
+
pointBackgroundColor: string;
|
|
132
|
+
pointRadius: number;
|
|
133
|
+
pointHoverRadius: number;
|
|
134
|
+
pointHitRadius: number;
|
|
135
|
+
isAnnotation?: boolean;
|
|
136
|
+
annotationType?: string;
|
|
137
|
+
annotationIndex?: number;
|
|
138
|
+
annotationLabel?: string;
|
|
139
|
+
annotationBackgroundColor?: string;
|
|
140
|
+
annotationPointBackgroundColor?: string;
|
|
141
|
+
annotationBorderColor?: string;
|
|
142
|
+
annotationBorderDash?: number[];
|
|
143
|
+
annotationBorderWidth?: number;
|
|
144
|
+
displayGroup?: string | number;
|
|
145
|
+
hideLegend?: boolean;
|
|
146
|
+
pointStyle?: string;
|
|
147
|
+
xAxisID?: string;
|
|
148
|
+
yAxisID?: string;
|
|
149
|
+
}
|
|
150
|
+
export type TGeneratedLineChartDatasets = IGeneratedLineChartDataset[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Chart, ChartConfiguration, Plugin } from 'chart.js';
|
|
2
|
+
import { Position } from '../../common/helpers/enums';
|
|
3
|
+
interface CustomChartConfiguration extends ChartConfiguration {
|
|
4
|
+
showLabel?: boolean;
|
|
5
|
+
text: string;
|
|
6
|
+
fontSize: number;
|
|
7
|
+
xOffset: number;
|
|
8
|
+
yOffset: number;
|
|
9
|
+
lineHeight: number;
|
|
10
|
+
maxWidth: number;
|
|
11
|
+
position: Position;
|
|
12
|
+
}
|
|
13
|
+
export declare const chartAreaTextPlugin: {
|
|
14
|
+
id: string;
|
|
15
|
+
beforeDraw: (chart: Chart, _args: Plugin, options: CustomChartConfiguration) => void;
|
|
16
|
+
};
|
|
17
|
+
export {};
|