@oliasoft-open-source/charts-library 5.0.0-beta-1 → 5.0.0-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-BSzPmRuR.js → Color-YHDXOIA2-D6i6tiFz.js} +1 -1
- package/dist/assets/{DocsRenderer-CFRXHY34-JxDhgUL8.js → DocsRenderer-CFRXHY34-D88vu1Xb.js} +3 -3
- package/dist/assets/{entry-preview-O6EegAcd.js → entry-preview-D2XJoWVM.js} +1 -1
- package/dist/assets/{iframe-BGTlO8sD.js → iframe-DLnw2TiW.js} +8 -8
- package/dist/assets/{line-chart-B2k2Mbtp.js → line-chart-BdFuLh7N.js} +1 -1
- package/dist/assets/{line-chart.stories-C0AZnT6k.js → line-chart.stories-BVsiy8CQ.js} +1 -1
- package/dist/assets/{line-chart.test-case.stories-CTskAspC.js → line-chart.test-case.stories-DgfMW1VB.js} +1 -1
- package/dist/assets/{preview-CXyvKNRo.js → preview-CLM2f008.js} +2 -2
- package/dist/assets/{preview-dGMXdGae.js → preview-XObsormK.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js.js +33168 -18928
- package/dist/index.js.js.map +1 -1
- package/dist/project.json +1 -1
- package/package.json +4 -4
- package/dist/bar-chart/bar-chart-const.d.ts +0 -2
- package/dist/bar-chart/bar-chart-default-props.d.ts +0 -2
- package/dist/bar-chart/bar-chart.d.ts +0 -3
- package/dist/bar-chart/bar-chart.interface.d.ts +0 -96
- package/dist/bar-chart/bar-chart.stories.d.ts +0 -807
- package/dist/bar-chart/utils/get-bar-chart-data-labels.d.ts +0 -10
- package/dist/bar-chart/utils/get-bar-chart-scales.d.ts +0 -3
- package/dist/bar-chart/utils/get-bar-chart-tooltips.d.ts +0 -6
- package/dist/bar-chart/utils/use-bar-chart-config.d.ts +0 -13
- package/dist/bar-chart/utils/use-bar-chart-options.d.ts +0 -55
- package/dist/common/common.interface.d.ts +0 -206
- package/dist/common/controls-portal.d.ts +0 -7
- package/dist/common/enums.d.ts +0 -10
- package/dist/common/helpers/chart-border-plugin.d.ts +0 -16
- package/dist/common/helpers/chart-consts.d.ts +0 -39
- package/dist/common/helpers/chart-utils.d.ts +0 -84
- package/dist/common/helpers/container.d.ts +0 -18
- package/dist/common/helpers/custom-format-number.d.ts +0 -1
- package/dist/common/helpers/download-pgn.d.ts +0 -4
- package/dist/common/helpers/enums.d.ts +0 -80
- package/dist/common/helpers/get-chart-annotation.d.ts +0 -90
- package/dist/common/helpers/get-custom-legend-plugin-example.d.ts +0 -8
- package/dist/common/helpers/get-draggableData.d.ts +0 -18
- package/dist/common/helpers/range/estimate-close-values.test.d.ts +0 -1
- package/dist/common/helpers/range/estimate-data-series-have-close-values.d.ts +0 -8
- package/dist/common/helpers/range/range.d.ts +0 -33
- package/dist/common/helpers/range/range.test.d.ts +0 -1
- package/dist/common/helpers/text.d.ts +0 -1
- package/dist/common/helpers/to-annotation.d.ts +0 -4
- package/dist/common/hooks/use-generated-labels.d.ts +0 -4
- package/dist/common/hooks/use-legend-state.d.ts +0 -28
- package/dist/common/hooks/use-legend.d.ts +0 -4
- package/dist/common/hooks/use-reset.d.ts +0 -3
- package/dist/common/legend-component/legend-dropzone.d.ts +0 -3
- package/dist/common/legend-component/legend-interface.d.ts +0 -48
- package/dist/common/legend-component/legend-item/LegendItemLine.d.ts +0 -5
- package/dist/common/legend-component/legend-item/legend-item.d.ts +0 -3
- package/dist/common/legend-component/legend-panel.d.ts +0 -3
- package/dist/common/legend-component/legend.d.ts +0 -3
- package/dist/common/legend-component/state/legend-action-types.d.ts +0 -2
- package/dist/common/legend-component/state/legend-context.d.ts +0 -12
- package/dist/common/legend-component/state/legend-state-reducer.d.ts +0 -26
- package/dist/common/legend-component/utils/create-style-object.d.ts +0 -27
- package/dist/common/legend-component/utils/get-generated-labels.d.ts +0 -2
- package/dist/common/plugins/annotation-dragger-plugin/annotation-dragger-plugin.d.ts +0 -15
- package/dist/common/plugins/annotation-dragger-plugin/enums.d.ts +0 -20
- package/dist/common/plugins/annotation-dragger-plugin/event-helpers.d.ts +0 -6
- package/dist/common/plugins/annotation-dragger-plugin/helpers.d.ts +0 -53
- package/dist/common/plugins/annotation-dragger-plugin/helpers.test.d.ts +0 -1
- package/dist/common/plugins/annotation-dragger-plugin/point-annotation-label.d.ts +0 -5
- package/dist/common/plugins/gradient-background-plugin/enums.d.ts +0 -10
- package/dist/common/plugins/gradient-background-plugin/gradient-background-plugin.d.ts +0 -2
- package/dist/line-chart/__tests__/test-data/app-test-case-1.json.d.ts +0 -8733
- package/dist/line-chart/__tests__/test-data/app-test-case-2.json.d.ts +0 -11614
- package/dist/line-chart/__tests__/test-data/app-test-case-3.json.d.ts +0 -34
- package/dist/line-chart/__tests__/test-data/app-test-case-4.json.d.ts +0 -411
- package/dist/line-chart/__tests__/test-data/app-test-case-5.json.d.ts +0 -2734
- package/dist/line-chart/__tests__/test-data/app-test-case-6.json.d.ts +0 -2236
- package/dist/line-chart/constants/default-translations.d.ts +0 -25
- package/dist/line-chart/constants/line-chart-consts.d.ts +0 -13
- package/dist/line-chart/controls/axes-options/action-types.d.ts +0 -5
- package/dist/line-chart/controls/axes-options/axes-options-form-state.d.ts +0 -23
- package/dist/line-chart/controls/axes-options/axes-options-form-state.test.d.ts +0 -1
- package/dist/line-chart/controls/axes-options/axes-options-interfaces.d.ts +0 -54
- package/dist/line-chart/controls/axes-options/axes-options.d.ts +0 -6
- package/dist/line-chart/controls/controls-interfaces.d.ts +0 -20
- package/dist/line-chart/controls/controls.d.ts +0 -6
- package/dist/line-chart/controls/drag-options-interfaces.d.ts +0 -14
- package/dist/line-chart/controls/drag-options.d.ts +0 -23
- package/dist/line-chart/controls/line-options.d.ts +0 -19
- package/dist/line-chart/hooks/use-chart-functions.d.ts +0 -32
- package/dist/line-chart/hooks/use-chart-options.d.ts +0 -16
- package/dist/line-chart/hooks/use-chart-plugins.d.ts +0 -7
- package/dist/line-chart/hooks/use-chart-state.d.ts +0 -17
- package/dist/line-chart/hooks/use-toggle-handler.d.ts +0 -12
- package/dist/line-chart/initialize/config.d.ts +0 -12
- package/dist/line-chart/initialize/initialize-line-chart.d.ts +0 -12
- package/dist/line-chart/initialize/initialize-line-chart.test.d.ts +0 -1
- package/dist/line-chart/line-chart-get-default-props.d.ts +0 -2
- package/dist/line-chart/line-chart.d.ts +0 -3
- package/dist/line-chart/line-chart.interface.d.ts +0 -146
- package/dist/line-chart/line-chart.stories.d.ts +0 -1729
- package/dist/line-chart/line-chart.test-case.stories.d.ts +0 -29
- package/dist/line-chart/plugins/chart-area-text-plugin.d.ts +0 -17
- package/dist/line-chart/plugins/line-chart.minor-gridlines-plugin.d.ts +0 -8
- package/dist/line-chart/plugins/line-chart.minor-gridlines-plugin.test.d.ts +0 -1
- package/dist/line-chart/plugins/plugin-constants.d.ts +0 -11
- package/dist/line-chart/plugins/plugins.interface.d.ts +0 -9
- package/dist/line-chart/state/action-types.d.ts +0 -12
- package/dist/line-chart/state/initial-state.d.ts +0 -14
- package/dist/line-chart/state/line-chart-reducer.d.ts +0 -2
- package/dist/line-chart/state/manage-state-in-local-storage.d.ts +0 -15
- package/dist/line-chart/state/state.interfaces.d.ts +0 -34
- package/dist/line-chart/utils/__tests__/get-annotations-data.test.d.ts +0 -1
- package/dist/line-chart/utils/__tests__/get-axes-data-from-metasets.test.d.ts +0 -1
- package/dist/line-chart/utils/__tests__/get-axes-type-from-key.test.d.ts +0 -1
- package/dist/line-chart/utils/__tests__/get-axis-range-by-type.test.d.ts +0 -1
- package/dist/line-chart/utils/__tests__/get-line-chart-tooltips.test.d.ts +0 -1
- package/dist/line-chart/utils/axis-formatting/axis-formatting.d.ts +0 -2
- package/dist/line-chart/utils/axis-formatting/axis-formatting.test.d.ts +0 -1
- package/dist/line-chart/utils/axis-scales/axis-scales.d.ts +0 -11
- package/dist/line-chart/utils/axis-scales/axis-scales.test.d.ts +0 -1
- package/dist/line-chart/utils/check-custom-option/check-custom-option.d.ts +0 -12
- package/dist/line-chart/utils/check-custom-option/check-custom-option.test.d.ts +0 -1
- package/dist/line-chart/utils/datalabels-alignment/__tests__/get-alignment-condition.test.d.ts +0 -1
- package/dist/line-chart/utils/datalabels-alignment/__tests__/get-alignment-data.test.d.ts +0 -1
- package/dist/line-chart/utils/datalabels-alignment/__tests__/get-datalabels-position.test.d.ts +0 -1
- package/dist/line-chart/utils/datalabels-alignment/datalabels-alignment.interface.d.ts +0 -20
- package/dist/line-chart/utils/datalabels-alignment/get-alignment-condition.d.ts +0 -8
- package/dist/line-chart/utils/datalabels-alignment/get-alignment-data.d.ts +0 -11
- package/dist/line-chart/utils/datalabels-alignment/get-datalabels-position.d.ts +0 -6
- package/dist/line-chart/utils/enums.d.ts +0 -4
- package/dist/line-chart/utils/generate-line-chart-datasets.d.ts +0 -8
- package/dist/line-chart/utils/get-annotations-data.d.ts +0 -1
- package/dist/line-chart/utils/get-axes-data-from-metasets.d.ts +0 -1
- package/dist/line-chart/utils/get-axes-ranges-from-chart.d.ts +0 -9
- package/dist/line-chart/utils/get-axis-range-by-type.d.ts +0 -10
- package/dist/line-chart/utils/get-generated-labels.d.ts +0 -2
- package/dist/line-chart/utils/get-line-chart-data-labels.d.ts +0 -19
- package/dist/line-chart/utils/get-line-chart-scales.d.ts +0 -4
- package/dist/line-chart/utils/get-line-chart-tooltips.d.ts +0 -20
- package/dist/line-chart/utils/line-chart-utils.d.ts +0 -32
- package/dist/line-chart/utils/translations/get-translations.d.ts +0 -8
- package/dist/line-chart/utils/translations/get-translations.test.d.ts +0 -1
- package/dist/pie-chart/pie-chart-defalut-props.interface.d.ts +0 -50
- package/dist/pie-chart/pie-chart-get-default-props.d.ts +0 -3
- package/dist/pie-chart/pie-chart.d.ts +0 -3
- package/dist/pie-chart/pie-chart.interface.d.ts +0 -70
- package/dist/pie-chart/pie-chart.stories.d.ts +0 -263
- package/dist/pie-chart/use-pie-chart-config.d.ts +0 -41
- package/dist/scatter-chart/hooks/use-scatter-chart-config.d.ts +0 -113
- package/dist/scatter-chart/scatter-chart-default-props.interface.d.ts +0 -71
- package/dist/scatter-chart/scatter-chart-get-default-props.d.ts +0 -3
- package/dist/scatter-chart/scatter-chart.d.ts +0 -3
- package/dist/scatter-chart/scatter-chart.interface.d.ts +0 -81
- package/dist/scatter-chart/scatter-chart.stories.d.ts +0 -279
- package/dist/scatter-chart/utils/get-scales-config.d.ts +0 -49
- package/dist/scatter-chart/utils/get-tooltip-config.d.ts +0 -21
- package/dist/src/components/bar-chart/bar-chart-const.d.ts +0 -2
- package/dist/src/components/bar-chart/bar-chart-default-props.d.ts +0 -2
- package/dist/src/components/bar-chart/bar-chart.d.ts +0 -3
- package/dist/src/components/bar-chart/bar-chart.interface.d.ts +0 -96
- package/dist/src/components/bar-chart/bar-chart.stories.d.ts +0 -807
- package/dist/src/components/bar-chart/utils/get-bar-chart-data-labels.d.ts +0 -10
- package/dist/src/components/bar-chart/utils/get-bar-chart-scales.d.ts +0 -3
- package/dist/src/components/bar-chart/utils/get-bar-chart-tooltips.d.ts +0 -6
- package/dist/src/components/bar-chart/utils/use-bar-chart-config.d.ts +0 -13
- package/dist/src/components/bar-chart/utils/use-bar-chart-options.d.ts +0 -55
- package/dist/src/components/common/common.interface.d.ts +0 -206
- package/dist/src/components/common/controls-portal.d.ts +0 -7
- package/dist/src/components/common/enums.d.ts +0 -10
- package/dist/src/components/common/helpers/chart-border-plugin.d.ts +0 -16
- package/dist/src/components/common/helpers/chart-consts.d.ts +0 -39
- package/dist/src/components/common/helpers/chart-utils.d.ts +0 -84
- package/dist/src/components/common/helpers/container.d.ts +0 -18
- package/dist/src/components/common/helpers/custom-format-number.d.ts +0 -1
- package/dist/src/components/common/helpers/download-pgn.d.ts +0 -4
- package/dist/src/components/common/helpers/enums.d.ts +0 -80
- package/dist/src/components/common/helpers/get-chart-annotation.d.ts +0 -90
- package/dist/src/components/common/helpers/get-custom-legend-plugin-example.d.ts +0 -8
- package/dist/src/components/common/helpers/get-draggableData.d.ts +0 -18
- package/dist/src/components/common/helpers/range/estimate-close-values.test.d.ts +0 -1
- package/dist/src/components/common/helpers/range/estimate-data-series-have-close-values.d.ts +0 -8
- package/dist/src/components/common/helpers/range/range.d.ts +0 -33
- package/dist/src/components/common/helpers/range/range.test.d.ts +0 -1
- package/dist/src/components/common/helpers/text.d.ts +0 -1
- package/dist/src/components/common/helpers/to-annotation.d.ts +0 -4
- package/dist/src/components/common/hooks/use-generated-labels.d.ts +0 -4
- package/dist/src/components/common/hooks/use-legend-state.d.ts +0 -28
- package/dist/src/components/common/hooks/use-legend.d.ts +0 -4
- package/dist/src/components/common/hooks/use-reset.d.ts +0 -3
- package/dist/src/components/common/legend-component/legend-dropzone.d.ts +0 -3
- package/dist/src/components/common/legend-component/legend-interface.d.ts +0 -48
- package/dist/src/components/common/legend-component/legend-item/LegendItemLine.d.ts +0 -5
- package/dist/src/components/common/legend-component/legend-item/legend-item.d.ts +0 -3
- package/dist/src/components/common/legend-component/legend-panel.d.ts +0 -3
- package/dist/src/components/common/legend-component/legend.d.ts +0 -3
- package/dist/src/components/common/legend-component/state/legend-action-types.d.ts +0 -2
- package/dist/src/components/common/legend-component/state/legend-context.d.ts +0 -12
- package/dist/src/components/common/legend-component/state/legend-state-reducer.d.ts +0 -26
- package/dist/src/components/common/legend-component/utils/create-style-object.d.ts +0 -27
- package/dist/src/components/common/legend-component/utils/get-generated-labels.d.ts +0 -2
- package/dist/src/components/common/plugins/annotation-dragger-plugin/annotation-dragger-plugin.d.ts +0 -15
- package/dist/src/components/common/plugins/annotation-dragger-plugin/enums.d.ts +0 -20
- package/dist/src/components/common/plugins/annotation-dragger-plugin/event-helpers.d.ts +0 -6
- package/dist/src/components/common/plugins/annotation-dragger-plugin/helpers.d.ts +0 -53
- package/dist/src/components/common/plugins/annotation-dragger-plugin/helpers.test.d.ts +0 -1
- package/dist/src/components/common/plugins/annotation-dragger-plugin/point-annotation-label.d.ts +0 -5
- package/dist/src/components/common/plugins/gradient-background-plugin/enums.d.ts +0 -10
- package/dist/src/components/common/plugins/gradient-background-plugin/gradient-background-plugin.d.ts +0 -2
- package/dist/src/components/line-chart/constants/default-translations.d.ts +0 -25
- package/dist/src/components/line-chart/constants/line-chart-consts.d.ts +0 -13
- package/dist/src/components/line-chart/controls/axes-options/action-types.d.ts +0 -5
- package/dist/src/components/line-chart/controls/axes-options/axes-options-form-state.d.ts +0 -23
- package/dist/src/components/line-chart/controls/axes-options/axes-options-form-state.test.d.ts +0 -1
- package/dist/src/components/line-chart/controls/axes-options/axes-options-interfaces.d.ts +0 -54
- package/dist/src/components/line-chart/controls/axes-options/axes-options.d.ts +0 -6
- package/dist/src/components/line-chart/controls/controls-interfaces.d.ts +0 -20
- package/dist/src/components/line-chart/controls/controls.d.ts +0 -6
- package/dist/src/components/line-chart/controls/drag-options-interfaces.d.ts +0 -14
- package/dist/src/components/line-chart/controls/drag-options.d.ts +0 -23
- package/dist/src/components/line-chart/controls/line-options.d.ts +0 -19
- package/dist/src/components/line-chart/hooks/use-chart-functions.d.ts +0 -32
- package/dist/src/components/line-chart/hooks/use-chart-options.d.ts +0 -16
- package/dist/src/components/line-chart/hooks/use-chart-plugins.d.ts +0 -7
- package/dist/src/components/line-chart/hooks/use-chart-state.d.ts +0 -17
- package/dist/src/components/line-chart/hooks/use-toggle-handler.d.ts +0 -12
- package/dist/src/components/line-chart/initialize/config.d.ts +0 -12
- package/dist/src/components/line-chart/initialize/initialize-line-chart.d.ts +0 -12
- package/dist/src/components/line-chart/initialize/initialize-line-chart.test.d.ts +0 -1
- package/dist/src/components/line-chart/line-chart-get-default-props.d.ts +0 -2
- package/dist/src/components/line-chart/line-chart.d.ts +0 -3
- package/dist/src/components/line-chart/line-chart.interface.d.ts +0 -146
- package/dist/src/components/line-chart/line-chart.stories.d.ts +0 -1729
- package/dist/src/components/line-chart/line-chart.test-case.stories.d.ts +0 -29
- package/dist/src/components/line-chart/plugins/chart-area-text-plugin.d.ts +0 -17
- package/dist/src/components/line-chart/plugins/line-chart.minor-gridlines-plugin.d.ts +0 -8
- package/dist/src/components/line-chart/plugins/line-chart.minor-gridlines-plugin.test.d.ts +0 -1
- package/dist/src/components/line-chart/plugins/plugin-constants.d.ts +0 -11
- package/dist/src/components/line-chart/plugins/plugins.interface.d.ts +0 -9
- package/dist/src/components/line-chart/state/action-types.d.ts +0 -12
- package/dist/src/components/line-chart/state/initial-state.d.ts +0 -14
- package/dist/src/components/line-chart/state/line-chart-reducer.d.ts +0 -2
- package/dist/src/components/line-chart/state/manage-state-in-local-storage.d.ts +0 -15
- package/dist/src/components/line-chart/state/state.interfaces.d.ts +0 -34
- package/dist/src/components/line-chart/utils/__tests__/get-annotations-data.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/__tests__/get-axes-data-from-metasets.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/__tests__/get-axes-type-from-key.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/__tests__/get-axis-range-by-type.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/__tests__/get-line-chart-tooltips.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/axis-formatting/axis-formatting.d.ts +0 -2
- package/dist/src/components/line-chart/utils/axis-formatting/axis-formatting.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/axis-scales/axis-scales.d.ts +0 -11
- package/dist/src/components/line-chart/utils/axis-scales/axis-scales.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/check-custom-option/check-custom-option.d.ts +0 -12
- package/dist/src/components/line-chart/utils/check-custom-option/check-custom-option.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/datalabels-alignment/__tests__/get-alignment-condition.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/datalabels-alignment/__tests__/get-alignment-data.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/datalabels-alignment/__tests__/get-datalabels-position.test.d.ts +0 -1
- package/dist/src/components/line-chart/utils/datalabels-alignment/datalabels-alignment.interface.d.ts +0 -20
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-alignment-condition.d.ts +0 -8
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-alignment-data.d.ts +0 -11
- package/dist/src/components/line-chart/utils/datalabels-alignment/get-datalabels-position.d.ts +0 -6
- package/dist/src/components/line-chart/utils/enums.d.ts +0 -4
- package/dist/src/components/line-chart/utils/generate-line-chart-datasets.d.ts +0 -8
- package/dist/src/components/line-chart/utils/get-annotations-data.d.ts +0 -1
- package/dist/src/components/line-chart/utils/get-axes-data-from-metasets.d.ts +0 -1
- package/dist/src/components/line-chart/utils/get-axes-ranges-from-chart.d.ts +0 -9
- package/dist/src/components/line-chart/utils/get-axis-range-by-type.d.ts +0 -10
- package/dist/src/components/line-chart/utils/get-generated-labels.d.ts +0 -2
- package/dist/src/components/line-chart/utils/get-line-chart-data-labels.d.ts +0 -19
- package/dist/src/components/line-chart/utils/get-line-chart-scales.d.ts +0 -4
- package/dist/src/components/line-chart/utils/get-line-chart-tooltips.d.ts +0 -20
- package/dist/src/components/line-chart/utils/line-chart-utils.d.ts +0 -32
- package/dist/src/components/line-chart/utils/translations/get-translations.d.ts +0 -8
- package/dist/src/components/line-chart/utils/translations/get-translations.test.d.ts +0 -1
- package/dist/src/components/pie-chart/pie-chart-defalut-props.interface.d.ts +0 -50
- package/dist/src/components/pie-chart/pie-chart-get-default-props.d.ts +0 -3
- package/dist/src/components/pie-chart/pie-chart.d.ts +0 -3
- package/dist/src/components/pie-chart/pie-chart.interface.d.ts +0 -70
- package/dist/src/components/pie-chart/pie-chart.stories.d.ts +0 -263
- package/dist/src/components/pie-chart/use-pie-chart-config.d.ts +0 -41
- package/dist/src/components/scatter-chart/hooks/use-scatter-chart-config.d.ts +0 -113
- package/dist/src/components/scatter-chart/scatter-chart-default-props.interface.d.ts +0 -71
- package/dist/src/components/scatter-chart/scatter-chart-get-default-props.d.ts +0 -3
- package/dist/src/components/scatter-chart/scatter-chart.d.ts +0 -3
- package/dist/src/components/scatter-chart/scatter-chart.interface.d.ts +0 -81
- package/dist/src/components/scatter-chart/scatter-chart.stories.d.ts +0 -279
- package/dist/src/components/scatter-chart/utils/get-scales-config.d.ts +0 -49
- package/dist/src/components/scatter-chart/utils/get-tooltip-config.d.ts +0 -21
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IState } from '../../state/state.interfaces';
|
|
2
|
-
import { IAction, IFormState, IInitializeAxisFormState } from './axes-options-interfaces.ts';
|
|
3
|
-
/**
|
|
4
|
-
* Initialize local component form state for a custom loads density table
|
|
5
|
-
*
|
|
6
|
-
* @param {Object} args
|
|
7
|
-
* @param {Object} args.initialAxesRanges
|
|
8
|
-
* @param {Array} [args.axes]
|
|
9
|
-
* @returns {Object} formState
|
|
10
|
-
*/
|
|
11
|
-
export declare const initializeFormState: ({ initialAxesRanges, axes, }: Partial<IState>) => IInitializeAxisFormState;
|
|
12
|
-
export declare const validateAxes: (formState: IFormState) => {
|
|
13
|
-
errors: never[];
|
|
14
|
-
valid: boolean;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Local component form state reducer for a axes options form
|
|
18
|
-
*
|
|
19
|
-
* @param {Object} state Local component form state
|
|
20
|
-
* @param {Action} action Action with type and payload
|
|
21
|
-
* @returns {Object} FormState
|
|
22
|
-
*/
|
|
23
|
-
export declare const reducer: (state: IFormState, action: IAction) => IInitializeAxisFormState;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { IUnitOptions } from '../../line-chart.interface.ts';
|
|
2
|
-
import { IAxisState, IInitAxisRange } from '../../state/state.interfaces.ts';
|
|
3
|
-
export interface IDepthType {
|
|
4
|
-
selectedDepthType?: string;
|
|
5
|
-
setSelectedDepthType?: (type: string) => void;
|
|
6
|
-
options?: Array<string>;
|
|
7
|
-
}
|
|
8
|
-
export interface IAxisControlLabel {
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IAxesOptions {
|
|
13
|
-
initialAxesRanges: IInitAxisRange[];
|
|
14
|
-
axes: IAxisState[];
|
|
15
|
-
controlsAxesLabels: IAxisControlLabel[];
|
|
16
|
-
onUpdateAxes: ({ axes }: {
|
|
17
|
-
axes: IAxisState;
|
|
18
|
-
}) => void;
|
|
19
|
-
onResetAxes: () => void;
|
|
20
|
-
depthType?: IDepthType | object;
|
|
21
|
-
close?: () => void;
|
|
22
|
-
}
|
|
23
|
-
export interface IOnEdit {
|
|
24
|
-
name?: string;
|
|
25
|
-
value?: string;
|
|
26
|
-
id?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface IAxisFormState {
|
|
29
|
-
id: string;
|
|
30
|
-
min: number | string;
|
|
31
|
-
max: number | string;
|
|
32
|
-
unit?: string | IUnitOptions;
|
|
33
|
-
}
|
|
34
|
-
export type IInitializeAxisFormState = IAxisFormState[];
|
|
35
|
-
export interface IError {
|
|
36
|
-
id: string;
|
|
37
|
-
min: string[];
|
|
38
|
-
max: string[];
|
|
39
|
-
}
|
|
40
|
-
export interface IFormState extends IInitializeAxisFormState {
|
|
41
|
-
errors?: IError[];
|
|
42
|
-
valid?: boolean;
|
|
43
|
-
}
|
|
44
|
-
type ActionType = 'reset' | 'valueUpdated' | 'unitUpdated';
|
|
45
|
-
export type AxisKey = 'min' | 'max' | 'unit';
|
|
46
|
-
interface ActionPayload extends IOnEdit {
|
|
47
|
-
initialAxesRanges?: IInitAxisRange[];
|
|
48
|
-
axes?: IAxisState[];
|
|
49
|
-
}
|
|
50
|
-
export interface IAction {
|
|
51
|
-
type: ActionType;
|
|
52
|
-
payload: ActionPayload;
|
|
53
|
-
}
|
|
54
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,20 +0,0 @@
|
|
|
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?: Element;
|
|
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
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IControls } from './controls-interfaces';
|
|
2
|
-
/**
|
|
3
|
-
* @param {import('./controls-interfaces').IControls} obj
|
|
4
|
-
*/
|
|
5
|
-
declare const Controls: ({ headerComponent, subheaderComponent, table, chartRef, state, options, dispatch, generatedDatasets, translations, controlsPortalId, }: IControls) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default Controls;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,32 +0,0 @@
|
|
|
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>>) => (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
|
-
};
|
|
32
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Dispatch, RefObject } from '../../../../node_modules/react';
|
|
2
|
-
import { Chart } 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) => any;
|
|
16
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Dispatch, RefObject } from '../../../../node_modules/react';
|
|
2
|
-
import { Chart } from 'chart.js';
|
|
3
|
-
import { IState } from '../state/state.interfaces';
|
|
4
|
-
import { ILineChartDataset, ILineChartOptions } from '../line-chart.interface';
|
|
5
|
-
interface IUseChartState {
|
|
6
|
-
chartRef: RefObject<Chart>;
|
|
7
|
-
options: ILineChartOptions;
|
|
8
|
-
state: IState;
|
|
9
|
-
dispatch: Dispatch<any>;
|
|
10
|
-
persistenceId?: string;
|
|
11
|
-
generatedDatasets: ILineChartDataset[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Hook for managing the state of the chart.
|
|
15
|
-
*/
|
|
16
|
-
export declare const useChartState: ({ chartRef, options, state, dispatch, persistenceId, generatedDatasets, }: IUseChartState) => void;
|
|
17
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,146 +0,0 @@
|
|
|
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
|
-
}
|
|
50
|
-
export interface ILineChartAxes {
|
|
51
|
-
x: ILineChartAxis<'top' | 'bottom'>[];
|
|
52
|
-
y: ILineChartAxis<'left' | 'right'>[];
|
|
53
|
-
[key: string]: ILineChartAxis[];
|
|
54
|
-
}
|
|
55
|
-
export interface IDepthType {
|
|
56
|
-
options: string[];
|
|
57
|
-
selectedUnit: string;
|
|
58
|
-
setSelectedUnit: () => void;
|
|
59
|
-
}
|
|
60
|
-
export interface ILineChartStyling extends ICommonStyling {
|
|
61
|
-
squareAspectRatio?: number | boolean;
|
|
62
|
-
layoutPadding?: number | {
|
|
63
|
-
top: number;
|
|
64
|
-
bottom: number;
|
|
65
|
-
left: number;
|
|
66
|
-
right: number;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
export interface ILineInteractions extends ICommonInteractions {
|
|
70
|
-
onAnimationComplete?: () => void;
|
|
71
|
-
}
|
|
72
|
-
export interface ILineLegend extends ICommonLegend {
|
|
73
|
-
customLegend?: ICommonCustomLegend<any>;
|
|
74
|
-
usePointStyle?: boolean;
|
|
75
|
-
}
|
|
76
|
-
export interface ILineChartOptions extends ICommonOptions {
|
|
77
|
-
title?: string | string[];
|
|
78
|
-
axes: ILineChartAxes;
|
|
79
|
-
scales: ICommonScales;
|
|
80
|
-
additionalAxesOptions: ILineChartAdditionalAxesOptions;
|
|
81
|
-
chartStyling: ILineChartStyling;
|
|
82
|
-
tooltip: ILineChartTooltip;
|
|
83
|
-
graph: ILineChartGraph;
|
|
84
|
-
annotations: ICommonAnnotations;
|
|
85
|
-
legend: ILineLegend;
|
|
86
|
-
chartOptions: ILChartOptions;
|
|
87
|
-
interactions: ILineInteractions;
|
|
88
|
-
dragData?: ICommonDragData;
|
|
89
|
-
depthType?: IDepthType | object;
|
|
90
|
-
}
|
|
91
|
-
export interface ILineChartDataset extends ICommonDataset {
|
|
92
|
-
lineTension?: number;
|
|
93
|
-
pointBackgroundColor?: string;
|
|
94
|
-
pointRadius?: number;
|
|
95
|
-
pointHoverRadius?: number;
|
|
96
|
-
pointHitRadius?: number;
|
|
97
|
-
fill?: boolean;
|
|
98
|
-
xAxisID?: string;
|
|
99
|
-
yAxisID?: string;
|
|
100
|
-
formation?: boolean;
|
|
101
|
-
displayGroup?: string | number;
|
|
102
|
-
pointStyle?: string;
|
|
103
|
-
}
|
|
104
|
-
export interface ILineChartData extends ICommonData {
|
|
105
|
-
data?: {
|
|
106
|
-
datasets: ILineChartDataset[];
|
|
107
|
-
};
|
|
108
|
-
options: ILineChartOptions;
|
|
109
|
-
persistenceId?: string;
|
|
110
|
-
controlsPortalId?: string;
|
|
111
|
-
}
|
|
112
|
-
export interface ILineChartProps {
|
|
113
|
-
chart: ILineChartData;
|
|
114
|
-
table?: ReactNode;
|
|
115
|
-
}
|
|
116
|
-
export interface IGeneratedLineChartDataset {
|
|
117
|
-
label?: string;
|
|
118
|
-
data: ICommonDataValue[];
|
|
119
|
-
showLine?: boolean;
|
|
120
|
-
lineTension: number;
|
|
121
|
-
spanGaps: boolean;
|
|
122
|
-
borderWidth: number;
|
|
123
|
-
borderDash: number[];
|
|
124
|
-
borderJoinStyle: 'round' | 'bevel' | 'miter';
|
|
125
|
-
borderColor: string;
|
|
126
|
-
backgroundColor: string | string[];
|
|
127
|
-
pointBackgroundColor: string;
|
|
128
|
-
pointRadius: number;
|
|
129
|
-
pointHoverRadius: number;
|
|
130
|
-
pointHitRadius: number;
|
|
131
|
-
isAnnotation?: boolean;
|
|
132
|
-
annotationType?: string;
|
|
133
|
-
annotationIndex?: number;
|
|
134
|
-
annotationLabel?: string;
|
|
135
|
-
annotationBackgroundColor?: string;
|
|
136
|
-
annotationPointBackgroundColor?: string;
|
|
137
|
-
annotationBorderColor?: string;
|
|
138
|
-
annotationBorderDash?: number[];
|
|
139
|
-
annotationBorderWidth?: number;
|
|
140
|
-
displayGroup?: string | number;
|
|
141
|
-
hideLegend?: boolean;
|
|
142
|
-
pointStyle?: string;
|
|
143
|
-
xAxisID?: string;
|
|
144
|
-
yAxisID?: string;
|
|
145
|
-
}
|
|
146
|
-
export type TGeneratedLineChartDatasets = IGeneratedLineChartDataset[];
|