@aquera/nile-visualization 0.1.0 → 0.3.0
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/src/index.d.ts +57 -2
- package/dist/src/index.js +31 -0
- package/dist/src/internal/highcharts-provider.js +90 -0
- package/dist/src/internal/separated-chart-config.d.ts +5 -0
- package/dist/src/internal/separated-chart-config.js +16 -0
- package/dist/src/internal/types/ai-config.type.d.ts +9 -0
- package/dist/src/internal/types/ai-config.type.js +2 -0
- package/dist/src/internal/types/all-chart-config.type.d.ts +8 -0
- package/dist/src/internal/types/all-chart-config.type.js +2 -0
- package/dist/src/internal/types/aq-config.type.d.ts +13 -0
- package/dist/src/internal/types/aq-config.type.js +2 -0
- package/dist/src/internal/types/chart-anomaly-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-anomaly-config.type.js +2 -0
- package/dist/src/internal/types/chart-area-config.type.d.ts +17 -0
- package/dist/src/internal/types/chart-area-config.type.js +2 -0
- package/dist/src/internal/types/chart-area-negative-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-area-negative-config.type.js +2 -0
- package/dist/src/internal/types/chart-area-range-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-area-range-config.type.js +2 -0
- package/dist/src/internal/types/chart-area-spline-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-area-spline-config.type.js +2 -0
- package/dist/src/internal/types/chart-bar-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-bar-config.type.js +2 -0
- package/dist/src/internal/types/chart-bellcurve-config.type.d.ts +19 -0
- package/dist/src/internal/types/chart-bellcurve-config.type.js +2 -0
- package/dist/src/internal/types/chart-boxplot-config.type.d.ts +15 -0
- package/dist/src/internal/types/chart-boxplot-config.type.js +2 -0
- package/dist/src/internal/types/chart-bubble-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-bubble-config.type.js +2 -0
- package/dist/src/internal/types/chart-cluster-config.type.d.ts +15 -0
- package/dist/src/internal/types/chart-cluster-config.type.js +2 -0
- package/dist/src/internal/types/chart-column-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-column-config.type.js +2 -0
- package/dist/src/internal/types/chart-column-drilldown-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-column-drilldown-config.type.js +2 -0
- package/dist/src/internal/types/chart-column-pyramid-config.type.d.ts +11 -0
- package/dist/src/internal/types/chart-column-pyramid-config.type.js +2 -0
- package/dist/src/internal/types/chart-column-range-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-column-range-config.type.js +2 -0
- package/dist/src/internal/types/chart-config.type.d.ts +16 -0
- package/dist/src/internal/types/chart-config.type.js +2 -0
- package/dist/src/internal/types/chart-donut-config.type.d.ts +14 -0
- package/dist/src/internal/types/chart-donut-config.type.js +2 -0
- package/dist/src/internal/types/chart-dumbbell-config.type.d.ts +16 -0
- package/dist/src/internal/types/chart-dumbbell-config.type.js +2 -0
- package/dist/src/internal/types/chart-dumbbell-lower-config.type.d.ts +5 -0
- package/dist/src/internal/types/chart-dumbbell-lower-config.type.js +2 -0
- package/dist/src/internal/types/chart-dumbbell-upper-config.type.d.ts +5 -0
- package/dist/src/internal/types/chart-dumbbell-upper-config.type.js +2 -0
- package/dist/src/internal/types/chart-euler-config.type.d.ts +10 -0
- package/dist/src/internal/types/chart-euler-config.type.js +2 -0
- package/dist/src/internal/types/chart-fan-config.type.d.ts +17 -0
- package/dist/src/internal/types/chart-fan-config.type.js +2 -0
- package/dist/src/internal/types/chart-flame-config.type.d.ts +14 -0
- package/dist/src/internal/types/chart-flame-config.type.js +2 -0
- package/dist/src/internal/types/chart-funnel-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-funnel-config.type.js +2 -0
- package/dist/src/internal/types/chart-gauge-config.type.d.ts +14 -0
- package/dist/src/internal/types/chart-gauge-config.type.js +2 -0
- package/dist/src/internal/types/chart-histogram-config.type.d.ts +19 -0
- package/dist/src/internal/types/chart-histogram-config.type.js +2 -0
- package/dist/src/internal/types/chart-kpi-config.type.d.ts +21 -0
- package/dist/src/internal/types/chart-kpi-config.type.js +2 -0
- package/dist/src/internal/types/chart-line-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-line-config.type.js +2 -0
- package/dist/src/internal/types/chart-lollipop-config.type.d.ts +11 -0
- package/dist/src/internal/types/chart-lollipop-config.type.js +2 -0
- package/dist/src/internal/types/chart-pie-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-pie-config.type.js +2 -0
- package/dist/src/internal/types/chart-polygon-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-polygon-config.type.js +2 -0
- package/dist/src/internal/types/chart-radar-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-radar-config.type.js +2 -0
- package/dist/src/internal/types/chart-radial-bar-config.type.d.ts +16 -0
- package/dist/src/internal/types/chart-radial-bar-config.type.js +2 -0
- package/dist/src/internal/types/chart-scatter-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-scatter-config.type.js +2 -0
- package/dist/src/internal/types/chart-spiderweb-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-spiderweb-config.type.js +2 -0
- package/dist/src/internal/types/chart-spline-config.type.d.ts +12 -0
- package/dist/src/internal/types/chart-spline-config.type.js +2 -0
- package/dist/src/internal/types/chart-stacked-config.type.d.ts +15 -0
- package/dist/src/internal/types/chart-stacked-config.type.js +2 -0
- package/dist/src/internal/types/chart-timeline-config.type.d.ts +15 -0
- package/dist/src/internal/types/chart-timeline-config.type.js +2 -0
- package/dist/src/internal/types/chart-trendline-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-trendline-config.type.js +2 -0
- package/dist/src/internal/types/chart-variable-pie-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-variable-pie-config.type.js +2 -0
- package/dist/src/internal/types/chart-vector-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-vector-config.type.js +2 -0
- package/dist/src/internal/types/chart-waterfall-config.type.d.ts +11 -0
- package/dist/src/internal/types/chart-waterfall-config.type.js +2 -0
- package/dist/src/internal/types/chart-xrange-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-xrange-config.type.js +2 -0
- package/dist/src/internal/types/index.d.ts +50 -0
- package/dist/src/internal/types/index.js +2 -0
- package/dist/src/internal/types/nile-ai-widgets-config-input.type.d.ts +23 -0
- package/dist/src/internal/types/nile-ai-widgets-config-input.type.js +2 -0
- package/dist/src/internal/types/nile-chart-config-input.type.d.ts +7 -0
- package/dist/src/internal/types/nile-chart-config-input.type.js +2 -0
- package/dist/src/internal/types/primitive-chart-config.type.d.ts +32 -0
- package/dist/src/internal/types/primitive-chart-config.type.js +2 -0
- package/dist/src/internal/types/separated-chart-config-input.type.d.ts +7 -0
- package/dist/src/internal/types/separated-chart-config-input.type.js +2 -0
- package/dist/src/internal/types/switchable-config.type.d.ts +8 -0
- package/dist/src/internal/types/switchable-config.type.js +2 -0
- package/dist/src/nile-ai-panel/index.d.ts +1 -0
- package/dist/src/nile-ai-panel/nile-ai-panel.d.ts +8 -1
- package/dist/src/nile-ai-panel/nile-ai-panel.js +34 -0
- package/dist/src/nile-ai-sender/index.d.ts +1 -0
- package/dist/src/nile-ai-sender/nile-ai-sender.d.ts +8 -1
- package/dist/src/nile-ai-sender/nile-ai-sender.js +30 -0
- package/dist/src/nile-anomaly-chart/nile-anomaly-chart.d.ts +6 -0
- package/dist/src/nile-anomaly-chart/nile-anomaly-chart.js +41 -0
- package/dist/src/nile-area-chart/nile-area-chart.d.ts +6 -0
- package/dist/src/nile-area-chart/nile-area-chart.js +41 -0
- package/dist/src/nile-area-negative-chart/index.d.ts +2 -0
- package/dist/src/nile-area-negative-chart/index.js +2 -0
- package/dist/src/nile-area-negative-chart/nile-area-negative-chart.css.d.ts +1 -0
- package/dist/src/nile-area-negative-chart/nile-area-negative-chart.css.js +28 -0
- package/dist/src/nile-area-negative-chart/nile-area-negative-chart.d.ts +42 -0
- package/dist/src/nile-area-negative-chart/nile-area-negative-chart.js +178 -0
- package/dist/src/nile-area-range-chart/index.d.ts +2 -0
- package/dist/src/nile-area-range-chart/index.js +2 -0
- package/dist/src/nile-area-range-chart/nile-area-range-chart.css.d.ts +1 -0
- package/dist/src/nile-area-range-chart/nile-area-range-chart.css.js +28 -0
- package/dist/src/nile-area-range-chart/nile-area-range-chart.d.ts +41 -0
- package/dist/src/nile-area-range-chart/nile-area-range-chart.js +173 -0
- package/dist/src/nile-area-spline-chart/index.d.ts +2 -0
- package/dist/src/nile-area-spline-chart/index.js +2 -0
- package/dist/src/nile-area-spline-chart/nile-area-spline-chart.css.d.ts +1 -0
- package/dist/src/nile-area-spline-chart/nile-area-spline-chart.css.js +28 -0
- package/dist/src/nile-area-spline-chart/nile-area-spline-chart.d.ts +41 -0
- package/dist/src/nile-area-spline-chart/nile-area-spline-chart.js +174 -0
- package/dist/src/nile-bar-chart/nile-bar-chart.d.ts +6 -0
- package/dist/src/nile-bar-chart/nile-bar-chart.js +40 -1
- package/dist/src/nile-bellcurve-chart/index.d.ts +2 -0
- package/dist/src/nile-bellcurve-chart/index.js +2 -0
- package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.css.d.ts +1 -0
- package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.css.js +28 -0
- package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.d.ts +49 -0
- package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.js +258 -0
- package/dist/src/nile-boxplot-chart/index.d.ts +2 -0
- package/dist/src/nile-boxplot-chart/index.js +2 -0
- package/dist/src/nile-boxplot-chart/nile-boxplot-chart.css.d.ts +1 -0
- package/dist/src/nile-boxplot-chart/nile-boxplot-chart.css.js +28 -0
- package/dist/src/nile-boxplot-chart/nile-boxplot-chart.d.ts +58 -0
- package/dist/src/nile-boxplot-chart/nile-boxplot-chart.js +235 -0
- package/dist/src/nile-bubble-chart/nile-bubble-chart.d.ts +6 -0
- package/dist/src/nile-bubble-chart/nile-bubble-chart.js +39 -0
- package/dist/src/nile-chart/index.d.ts +3 -1
- package/dist/src/nile-chart/index.js +1 -0
- package/dist/src/nile-chart/nile-chart-config-builder.d.ts +4 -0
- package/dist/src/nile-chart/nile-chart-config-builder.js +13 -0
- package/dist/src/nile-chart/nile-chart-config.d.ts +76 -2
- package/dist/src/nile-chart/nile-chart.d.ts +16 -2
- package/dist/src/nile-chart/nile-chart.js +144 -14
- package/dist/src/nile-cluster-chart/index.d.ts +2 -0
- package/dist/src/nile-cluster-chart/index.js +2 -0
- package/dist/src/nile-cluster-chart/nile-cluster-chart.css.d.ts +1 -0
- package/dist/src/nile-cluster-chart/nile-cluster-chart.css.js +28 -0
- package/dist/src/nile-cluster-chart/nile-cluster-chart.d.ts +46 -0
- package/dist/src/nile-cluster-chart/nile-cluster-chart.js +196 -0
- package/dist/src/nile-column-chart/nile-column-chart.d.ts +6 -0
- package/dist/src/nile-column-chart/nile-column-chart.js +39 -0
- package/dist/src/nile-column-drilldown-chart/index.d.ts +2 -0
- package/dist/src/nile-column-drilldown-chart/index.js +2 -0
- package/dist/src/nile-column-drilldown-chart/nile-column-drilldown-chart.css.d.ts +1 -0
- package/dist/src/nile-column-drilldown-chart/nile-column-drilldown-chart.css.js +28 -0
- package/dist/src/nile-column-drilldown-chart/nile-column-drilldown-chart.d.ts +49 -0
- package/dist/src/nile-column-drilldown-chart/nile-column-drilldown-chart.js +186 -0
- package/dist/src/nile-column-pyramid-chart/index.d.ts +2 -0
- package/dist/src/nile-column-pyramid-chart/index.js +2 -0
- package/dist/src/nile-column-pyramid-chart/nile-column-pyramid-chart.css.d.ts +1 -0
- package/dist/src/nile-column-pyramid-chart/nile-column-pyramid-chart.css.js +28 -0
- package/dist/src/nile-column-pyramid-chart/nile-column-pyramid-chart.d.ts +39 -0
- package/dist/src/nile-column-pyramid-chart/nile-column-pyramid-chart.js +155 -0
- package/dist/src/nile-column-range-chart/index.d.ts +2 -0
- package/dist/src/nile-column-range-chart/index.js +2 -0
- package/dist/src/nile-column-range-chart/nile-column-range-chart.css.d.ts +1 -0
- package/dist/src/nile-column-range-chart/nile-column-range-chart.css.js +28 -0
- package/dist/src/nile-column-range-chart/nile-column-range-chart.d.ts +40 -0
- package/dist/src/nile-column-range-chart/nile-column-range-chart.js +169 -0
- package/dist/src/nile-donut-chart/nile-donut-chart.d.ts +6 -0
- package/dist/src/nile-donut-chart/nile-donut-chart.js +43 -0
- package/dist/src/nile-dumbbell-chart/index.d.ts +2 -0
- package/dist/src/nile-dumbbell-chart/index.js +2 -0
- package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.css.d.ts +1 -0
- package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.css.js +28 -0
- package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.d.ts +50 -0
- package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.js +217 -0
- package/dist/src/nile-dumbbell-lower-chart/index.d.ts +1 -0
- package/dist/src/nile-dumbbell-lower-chart/index.js +2 -0
- package/dist/src/nile-dumbbell-lower-chart/nile-dumbbell-lower-chart.css.d.ts +1 -0
- package/dist/src/nile-dumbbell-lower-chart/nile-dumbbell-lower-chart.css.js +28 -0
- package/dist/src/nile-dumbbell-lower-chart/nile-dumbbell-lower-chart.d.ts +40 -0
- package/dist/src/nile-dumbbell-lower-chart/nile-dumbbell-lower-chart.js +214 -0
- package/dist/src/nile-dumbbell-upper-chart/index.d.ts +1 -0
- package/dist/src/nile-dumbbell-upper-chart/index.js +2 -0
- package/dist/src/nile-dumbbell-upper-chart/nile-dumbbell-upper-chart.css.d.ts +1 -0
- package/dist/src/nile-dumbbell-upper-chart/nile-dumbbell-upper-chart.css.js +28 -0
- package/dist/src/nile-dumbbell-upper-chart/nile-dumbbell-upper-chart.d.ts +40 -0
- package/dist/src/nile-dumbbell-upper-chart/nile-dumbbell-upper-chart.js +214 -0
- package/dist/src/nile-euler-chart/index.d.ts +2 -0
- package/dist/src/nile-euler-chart/index.js +2 -0
- package/dist/src/nile-euler-chart/nile-euler-chart.css.d.ts +1 -0
- package/dist/src/nile-euler-chart/nile-euler-chart.css.js +28 -0
- package/dist/src/nile-euler-chart/nile-euler-chart.d.ts +38 -0
- package/dist/src/nile-euler-chart/nile-euler-chart.js +149 -0
- package/dist/src/nile-fan-chart/index.d.ts +2 -0
- package/dist/src/nile-fan-chart/index.js +2 -0
- package/dist/src/nile-fan-chart/nile-fan-chart.css.d.ts +1 -0
- package/dist/src/nile-fan-chart/nile-fan-chart.css.js +28 -0
- package/dist/src/nile-fan-chart/nile-fan-chart.d.ts +65 -0
- package/dist/src/nile-fan-chart/nile-fan-chart.js +257 -0
- package/dist/src/nile-flame-chart/index.d.ts +2 -0
- package/dist/src/nile-flame-chart/index.js +2 -0
- package/dist/src/nile-flame-chart/nile-flame-chart.css.d.ts +1 -0
- package/dist/src/nile-flame-chart/nile-flame-chart.css.js +28 -0
- package/dist/src/nile-flame-chart/nile-flame-chart.d.ts +60 -0
- package/dist/src/nile-flame-chart/nile-flame-chart.js +311 -0
- package/dist/src/nile-funnel-chart/index.d.ts +2 -0
- package/dist/src/nile-funnel-chart/index.js +2 -0
- package/dist/src/nile-funnel-chart/nile-funnel-chart.css.d.ts +1 -0
- package/dist/src/nile-funnel-chart/nile-funnel-chart.css.js +28 -0
- package/dist/src/nile-funnel-chart/nile-funnel-chart.d.ts +42 -0
- package/dist/src/nile-funnel-chart/nile-funnel-chart.js +189 -0
- package/dist/src/nile-gauge-chart/nile-gauge-chart.d.ts +6 -0
- package/dist/src/nile-gauge-chart/nile-gauge-chart.js +43 -0
- package/dist/src/nile-histogram-chart/index.d.ts +2 -0
- package/dist/src/nile-histogram-chart/index.js +2 -0
- package/dist/src/nile-histogram-chart/nile-histogram-chart.css.d.ts +1 -0
- package/dist/src/nile-histogram-chart/nile-histogram-chart.css.js +28 -0
- package/dist/src/nile-histogram-chart/nile-histogram-chart.d.ts +53 -0
- package/dist/src/nile-histogram-chart/nile-histogram-chart.js +263 -0
- package/dist/src/nile-inverted-area-chart/index.d.ts +2 -0
- package/dist/src/nile-inverted-area-chart/index.js +2 -0
- package/dist/src/nile-inverted-area-chart/nile-inverted-area-chart.css.d.ts +1 -0
- package/dist/src/nile-inverted-area-chart/nile-inverted-area-chart.css.js +28 -0
- package/dist/src/nile-inverted-area-chart/nile-inverted-area-chart.d.ts +40 -0
- package/dist/src/nile-inverted-area-chart/nile-inverted-area-chart.js +173 -0
- package/dist/src/nile-kpi-chart/index.d.ts +1 -1
- package/dist/src/nile-kpi-chart/nile-kpi-chart.d.ts +32 -0
- package/dist/src/nile-kpi-chart/nile-kpi-chart.js +60 -0
- package/dist/src/nile-line-chart/nile-line-chart.d.ts +6 -0
- package/dist/src/nile-line-chart/nile-line-chart.js +39 -0
- package/dist/src/nile-lollipop-chart/index.d.ts +2 -0
- package/dist/src/nile-lollipop-chart/index.js +2 -0
- package/dist/src/nile-lollipop-chart/nile-lollipop-chart.css.d.ts +1 -0
- package/dist/src/nile-lollipop-chart/nile-lollipop-chart.css.js +28 -0
- package/dist/src/nile-lollipop-chart/nile-lollipop-chart.d.ts +39 -0
- package/dist/src/nile-lollipop-chart/nile-lollipop-chart.js +174 -0
- package/dist/src/nile-pie-chart/nile-pie-chart.d.ts +6 -0
- package/dist/src/nile-pie-chart/nile-pie-chart.js +41 -0
- package/dist/src/nile-polygon-chart/index.d.ts +2 -0
- package/dist/src/nile-polygon-chart/index.js +2 -0
- package/dist/src/nile-polygon-chart/nile-polygon-chart.css.d.ts +1 -0
- package/dist/src/nile-polygon-chart/nile-polygon-chart.css.js +28 -0
- package/dist/src/nile-polygon-chart/nile-polygon-chart.d.ts +41 -0
- package/dist/src/nile-polygon-chart/nile-polygon-chart.js +167 -0
- package/dist/src/nile-radar-chart/nile-radar-chart.d.ts +6 -0
- package/dist/src/nile-radar-chart/nile-radar-chart.js +39 -0
- package/dist/src/nile-radial-bar-chart/index.d.ts +2 -0
- package/dist/src/nile-radial-bar-chart/index.js +2 -0
- package/dist/src/nile-radial-bar-chart/nile-radial-bar-chart.css.d.ts +1 -0
- package/dist/src/nile-radial-bar-chart/nile-radial-bar-chart.css.js +28 -0
- package/dist/src/nile-radial-bar-chart/nile-radial-bar-chart.d.ts +42 -0
- package/dist/src/nile-radial-bar-chart/nile-radial-bar-chart.js +191 -0
- package/dist/src/nile-scatter-chart/nile-scatter-chart.d.ts +6 -0
- package/dist/src/nile-scatter-chart/nile-scatter-chart.js +39 -0
- package/dist/src/nile-spiderweb-chart/index.d.ts +2 -0
- package/dist/src/nile-spiderweb-chart/index.js +2 -0
- package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.css.d.ts +1 -0
- package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.css.js +28 -0
- package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.d.ts +46 -0
- package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.js +191 -0
- package/dist/src/nile-spline-chart/nile-spline-chart.d.ts +6 -0
- package/dist/src/nile-spline-chart/nile-spline-chart.js +39 -0
- package/dist/src/nile-stacked-chart/index.d.ts +2 -0
- package/dist/src/nile-stacked-chart/index.js +2 -0
- package/dist/src/nile-stacked-chart/nile-stacked-chart.css.d.ts +1 -0
- package/dist/src/nile-stacked-chart/nile-stacked-chart.css.js +28 -0
- package/dist/src/nile-stacked-chart/nile-stacked-chart.d.ts +47 -0
- package/dist/src/nile-stacked-chart/nile-stacked-chart.js +216 -0
- package/dist/src/nile-timeline-chart/index.d.ts +2 -0
- package/dist/src/nile-timeline-chart/index.js +2 -0
- package/dist/src/nile-timeline-chart/nile-timeline-chart.css.d.ts +1 -0
- package/dist/src/nile-timeline-chart/nile-timeline-chart.css.js +28 -0
- package/dist/src/nile-timeline-chart/nile-timeline-chart.d.ts +58 -0
- package/dist/src/nile-timeline-chart/nile-timeline-chart.js +239 -0
- package/dist/src/nile-trendline-chart/nile-trendline-chart.d.ts +6 -0
- package/dist/src/nile-trendline-chart/nile-trendline-chart.js +41 -0
- package/dist/src/nile-variable-pie-chart/index.d.ts +2 -0
- package/dist/src/nile-variable-pie-chart/index.js +2 -0
- package/dist/src/nile-variable-pie-chart/nile-variable-pie-chart.css.d.ts +1 -0
- package/dist/src/nile-variable-pie-chart/nile-variable-pie-chart.css.js +28 -0
- package/dist/src/nile-variable-pie-chart/nile-variable-pie-chart.d.ts +42 -0
- package/dist/src/nile-variable-pie-chart/nile-variable-pie-chart.js +180 -0
- package/dist/src/nile-vector-chart/index.d.ts +2 -0
- package/dist/src/nile-vector-chart/index.js +2 -0
- package/dist/src/nile-vector-chart/nile-vector-chart.css.d.ts +1 -0
- package/dist/src/nile-vector-chart/nile-vector-chart.css.js +28 -0
- package/dist/src/nile-vector-chart/nile-vector-chart.d.ts +44 -0
- package/dist/src/nile-vector-chart/nile-vector-chart.js +181 -0
- package/dist/src/nile-waterfall-chart/nile-waterfall-chart.d.ts +6 -0
- package/dist/src/nile-waterfall-chart/nile-waterfall-chart.js +37 -0
- package/dist/src/nile-xrange-chart/index.d.ts +2 -0
- package/dist/src/nile-xrange-chart/index.js +2 -0
- package/dist/src/nile-xrange-chart/nile-xrange-chart.css.d.ts +1 -0
- package/dist/src/nile-xrange-chart/nile-xrange-chart.css.js +28 -0
- package/dist/src/nile-xrange-chart/nile-xrange-chart.d.ts +44 -0
- package/dist/src/nile-xrange-chart/nile-xrange-chart.js +193 -0
- package/package.json +12 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -7,14 +7,63 @@ export type { TrendlineSeriesData, ForecastConfig } from './nile-trendline-chart
|
|
|
7
7
|
export { NileAnomalyChart } from './nile-anomaly-chart/index.js';
|
|
8
8
|
export type { AnomalySeriesData, AnomalyConfig } from './nile-anomaly-chart/index.js';
|
|
9
9
|
export { NileChart } from './nile-chart/index.js';
|
|
10
|
-
export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, ChartType, SwitchAggregation, NileAiConfig, } from './nile-chart/index.js';
|
|
10
|
+
export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, ChartType, SwitchAggregation, NileAiConfig, } from './nile-chart/index.js';
|
|
11
11
|
export { convertConfig, registerAdapter } from './nile-chart/index.js';
|
|
12
|
+
export { nileChartConfig } from './nile-chart/index.js';
|
|
13
|
+
export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiPropsType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from './nile-chart/index.js';
|
|
14
|
+
export type { SeparatedChartDemoConfig } from './internal/separated-chart-config.js';
|
|
12
15
|
export { NileLineChart } from './nile-line-chart/index.js';
|
|
13
16
|
export type { LineChartSeriesData } from './nile-line-chart/index.js';
|
|
14
17
|
export { NileAreaChart } from './nile-area-chart/index.js';
|
|
15
18
|
export type { AreaChartSeriesData } from './nile-area-chart/index.js';
|
|
19
|
+
export { NileInvertedAreaChart } from './nile-inverted-area-chart/index.js';
|
|
20
|
+
export type { InvertedAreaChartSeriesData } from './nile-inverted-area-chart/index.js';
|
|
16
21
|
export { NileColumnChart } from './nile-column-chart/index.js';
|
|
17
22
|
export type { ColumnChartSeriesData } from './nile-column-chart/index.js';
|
|
23
|
+
export { NileClusterChart } from './nile-cluster-chart/index.js';
|
|
24
|
+
export type { ClusterChartSeriesData } from './nile-cluster-chart/index.js';
|
|
25
|
+
export { NileStackedChart } from './nile-stacked-chart/index.js';
|
|
26
|
+
export type { StackedChartSeriesData } from './nile-stacked-chart/index.js';
|
|
27
|
+
export { NileHistogramChart } from './nile-histogram-chart/index.js';
|
|
28
|
+
export type { HistogramSamples } from './nile-histogram-chart/index.js';
|
|
29
|
+
export { NileBellcurveChart } from './nile-bellcurve-chart/index.js';
|
|
30
|
+
export type { BellcurveSamples } from './nile-bellcurve-chart/index.js';
|
|
31
|
+
export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
|
|
32
|
+
export type { BoxplotBox, BoxplotSeriesData } from './nile-boxplot-chart/index.js';
|
|
33
|
+
export { NileTimelineChart } from './nile-timeline-chart/index.js';
|
|
34
|
+
export type { TimelineEvent } from './nile-timeline-chart/index.js';
|
|
35
|
+
export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
|
|
36
|
+
export type { DumbbellPoint } from './nile-dumbbell-chart/index.js';
|
|
37
|
+
export { NileDumbbellLowerChart } from './nile-dumbbell-lower-chart/index.js';
|
|
38
|
+
export { NileDumbbellUpperChart } from './nile-dumbbell-upper-chart/index.js';
|
|
39
|
+
export { NileColumnPyramidChart } from './nile-column-pyramid-chart/index.js';
|
|
40
|
+
export type { ColumnPyramidSeriesData } from './nile-column-pyramid-chart/index.js';
|
|
41
|
+
export { NileLollipopChart } from './nile-lollipop-chart/index.js';
|
|
42
|
+
export type { LollipopSeriesData } from './nile-lollipop-chart/index.js';
|
|
43
|
+
export { NileAreaSplineChart } from './nile-area-spline-chart/index.js';
|
|
44
|
+
export type { AreaSplineSeriesData } from './nile-area-spline-chart/index.js';
|
|
45
|
+
export { NileAreaNegativeChart } from './nile-area-negative-chart/index.js';
|
|
46
|
+
export type { AreaNegativeSeriesData } from './nile-area-negative-chart/index.js';
|
|
47
|
+
export { NileAreaRangeChart } from './nile-area-range-chart/index.js';
|
|
48
|
+
export type { AreaRangeSeriesData } from './nile-area-range-chart/index.js';
|
|
49
|
+
export { NileColumnRangeChart } from './nile-column-range-chart/index.js';
|
|
50
|
+
export type { ColumnRangeSeriesData } from './nile-column-range-chart/index.js';
|
|
51
|
+
export { NileColumnDrilldownChart } from './nile-column-drilldown-chart/index.js';
|
|
52
|
+
export type { ColumnDrilldownParentPoint, ColumnDrilldownSeriesConfig, } from './nile-column-drilldown-chart/index.js';
|
|
53
|
+
export { NileRadialBarChart } from './nile-radial-bar-chart/index.js';
|
|
54
|
+
export type { RadialBarSeriesData } from './nile-radial-bar-chart/index.js';
|
|
55
|
+
export { NileVariablePieChart } from './nile-variable-pie-chart/index.js';
|
|
56
|
+
export type { VariablePieDataPoint } from './nile-variable-pie-chart/index.js';
|
|
57
|
+
export { NileEulerChart } from './nile-euler-chart/index.js';
|
|
58
|
+
export type { EulerVennDataPoint } from './nile-euler-chart/index.js';
|
|
59
|
+
export { NilePolygonChart } from './nile-polygon-chart/index.js';
|
|
60
|
+
export type { PolygonSeriesConfig } from './nile-polygon-chart/index.js';
|
|
61
|
+
export { NileVectorChart } from './nile-vector-chart/index.js';
|
|
62
|
+
export type { VectorDataPoint } from './nile-vector-chart/index.js';
|
|
63
|
+
export { NileXrangeChart } from './nile-xrange-chart/index.js';
|
|
64
|
+
export type { XrangeDataPoint } from './nile-xrange-chart/index.js';
|
|
65
|
+
export { NileFanChart } from './nile-fan-chart/index.js';
|
|
66
|
+
export type { FanLinePoint, FanUncertaintyBand } from './nile-fan-chart/index.js';
|
|
18
67
|
export { NileDonutChart } from './nile-donut-chart/index.js';
|
|
19
68
|
export type { DonutChartSeriesData } from './nile-donut-chart/index.js';
|
|
20
69
|
export { NileScatterChart } from './nile-scatter-chart/index.js';
|
|
@@ -29,7 +78,13 @@ export { NileGaugeChart } from './nile-gauge-chart/index.js';
|
|
|
29
78
|
export type { GaugeBand } from './nile-gauge-chart/index.js';
|
|
30
79
|
export { NileWaterfallChart } from './nile-waterfall-chart/index.js';
|
|
31
80
|
export type { WaterfallDataPoint } from './nile-waterfall-chart/index.js';
|
|
81
|
+
export { NileFunnelChart } from './nile-funnel-chart/index.js';
|
|
82
|
+
export type { FunnelDataPoint } from './nile-funnel-chart/index.js';
|
|
83
|
+
export { NileFlameChart } from './nile-flame-chart/index.js';
|
|
84
|
+
export type { FlameChartPoint, FlameSunburstPoint, FlameChartLayout, } from './nile-flame-chart/index.js';
|
|
85
|
+
export { NileSpiderwebChart } from './nile-spiderweb-chart/index.js';
|
|
86
|
+
export type { SpiderwebChartSeriesData } from './nile-spiderweb-chart/index.js';
|
|
32
87
|
export { NileKpiChart } from './nile-kpi-chart/index.js';
|
|
33
|
-
export type { KpiConfig, TrendDirection, KpiVariant } from './nile-kpi-chart/index.js';
|
|
88
|
+
export type { ChartKpiSeparatedPayload, KpiConfig, NileKpiConfigInputType, TrendDirection, KpiVariant, } from './nile-kpi-chart/index.js';
|
|
34
89
|
export { NileAiSender } from './nile-ai-sender/index.js';
|
|
35
90
|
export { NileAiPanel } from './nile-ai-panel/index.js';
|
package/dist/src/index.js
CHANGED
|
@@ -1,12 +1,40 @@
|
|
|
1
|
+
// /* eslint-disable no-console */
|
|
2
|
+
// console.log(`[nile-visualization] Build: ${__NILE_BUILD_DATE__}`);
|
|
3
|
+
// /* eslint-enable no-console */
|
|
1
4
|
export { NileBarChart } from './nile-bar-chart/index.js';
|
|
2
5
|
export { NilePieChart } from './nile-pie-chart/index.js';
|
|
3
6
|
export { NileTrendlineChart } from './nile-trendline-chart/index.js';
|
|
4
7
|
export { NileAnomalyChart } from './nile-anomaly-chart/index.js';
|
|
5
8
|
export { NileChart } from './nile-chart/index.js';
|
|
6
9
|
export { convertConfig, registerAdapter } from './nile-chart/index.js';
|
|
10
|
+
export { nileChartConfig } from './nile-chart/index.js';
|
|
7
11
|
export { NileLineChart } from './nile-line-chart/index.js';
|
|
8
12
|
export { NileAreaChart } from './nile-area-chart/index.js';
|
|
13
|
+
export { NileInvertedAreaChart } from './nile-inverted-area-chart/index.js';
|
|
9
14
|
export { NileColumnChart } from './nile-column-chart/index.js';
|
|
15
|
+
export { NileClusterChart } from './nile-cluster-chart/index.js';
|
|
16
|
+
export { NileStackedChart } from './nile-stacked-chart/index.js';
|
|
17
|
+
export { NileHistogramChart } from './nile-histogram-chart/index.js';
|
|
18
|
+
export { NileBellcurveChart } from './nile-bellcurve-chart/index.js';
|
|
19
|
+
export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
|
|
20
|
+
export { NileTimelineChart } from './nile-timeline-chart/index.js';
|
|
21
|
+
export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
|
|
22
|
+
export { NileDumbbellLowerChart } from './nile-dumbbell-lower-chart/index.js';
|
|
23
|
+
export { NileDumbbellUpperChart } from './nile-dumbbell-upper-chart/index.js';
|
|
24
|
+
export { NileColumnPyramidChart } from './nile-column-pyramid-chart/index.js';
|
|
25
|
+
export { NileLollipopChart } from './nile-lollipop-chart/index.js';
|
|
26
|
+
export { NileAreaSplineChart } from './nile-area-spline-chart/index.js';
|
|
27
|
+
export { NileAreaNegativeChart } from './nile-area-negative-chart/index.js';
|
|
28
|
+
export { NileAreaRangeChart } from './nile-area-range-chart/index.js';
|
|
29
|
+
export { NileColumnRangeChart } from './nile-column-range-chart/index.js';
|
|
30
|
+
export { NileColumnDrilldownChart } from './nile-column-drilldown-chart/index.js';
|
|
31
|
+
export { NileRadialBarChart } from './nile-radial-bar-chart/index.js';
|
|
32
|
+
export { NileVariablePieChart } from './nile-variable-pie-chart/index.js';
|
|
33
|
+
export { NileEulerChart } from './nile-euler-chart/index.js';
|
|
34
|
+
export { NilePolygonChart } from './nile-polygon-chart/index.js';
|
|
35
|
+
export { NileVectorChart } from './nile-vector-chart/index.js';
|
|
36
|
+
export { NileXrangeChart } from './nile-xrange-chart/index.js';
|
|
37
|
+
export { NileFanChart } from './nile-fan-chart/index.js';
|
|
10
38
|
export { NileDonutChart } from './nile-donut-chart/index.js';
|
|
11
39
|
export { NileScatterChart } from './nile-scatter-chart/index.js';
|
|
12
40
|
export { NileBubbleChart } from './nile-bubble-chart/index.js';
|
|
@@ -14,6 +42,9 @@ export { NileSplineChart } from './nile-spline-chart/index.js';
|
|
|
14
42
|
export { NileRadarChart } from './nile-radar-chart/index.js';
|
|
15
43
|
export { NileGaugeChart } from './nile-gauge-chart/index.js';
|
|
16
44
|
export { NileWaterfallChart } from './nile-waterfall-chart/index.js';
|
|
45
|
+
export { NileFunnelChart } from './nile-funnel-chart/index.js';
|
|
46
|
+
export { NileFlameChart } from './nile-flame-chart/index.js';
|
|
47
|
+
export { NileSpiderwebChart } from './nile-spiderweb-chart/index.js';
|
|
17
48
|
export { NileKpiChart } from './nile-kpi-chart/index.js';
|
|
18
49
|
export { NileAiSender } from './nile-ai-sender/index.js';
|
|
19
50
|
export { NileAiPanel } from './nile-ai-panel/index.js';
|
|
@@ -32,6 +32,96 @@ async function init() {
|
|
|
32
32
|
catch {
|
|
33
33
|
// solid-gauge not available — consumer may have loaded it globally
|
|
34
34
|
}
|
|
35
|
+
try {
|
|
36
|
+
const funnel = await import('highcharts/modules/funnel.js');
|
|
37
|
+
if (typeof funnel.default === 'function') {
|
|
38
|
+
funnel.default(_Highcharts);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
catch {
|
|
42
|
+
// funnel not available — consumer may have loaded it globally
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
const variablePie = await import('highcharts/modules/variable-pie.js');
|
|
46
|
+
if (typeof variablePie.default === 'function') {
|
|
47
|
+
variablePie.default(_Highcharts);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
catch {
|
|
51
|
+
// variable-pie not available — consumer may have loaded it globally
|
|
52
|
+
}
|
|
53
|
+
try {
|
|
54
|
+
const histogramBellcurve = await import('highcharts/modules/histogram-bellcurve.js');
|
|
55
|
+
if (typeof histogramBellcurve.default === 'function') {
|
|
56
|
+
histogramBellcurve.default(_Highcharts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
catch {
|
|
60
|
+
// histogram-bellcurve not available — consumer may have loaded it globally
|
|
61
|
+
}
|
|
62
|
+
try {
|
|
63
|
+
const timeline = await import('highcharts/modules/timeline.js');
|
|
64
|
+
if (typeof timeline.default === 'function') {
|
|
65
|
+
timeline.default(_Highcharts);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
catch {
|
|
69
|
+
// timeline not available — consumer may have loaded it globally
|
|
70
|
+
}
|
|
71
|
+
try {
|
|
72
|
+
const dumbbell = await import('highcharts/modules/dumbbell.js');
|
|
73
|
+
if (typeof dumbbell.default === 'function') {
|
|
74
|
+
dumbbell.default(_Highcharts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
// dumbbell not available — consumer may have loaded it globally
|
|
79
|
+
}
|
|
80
|
+
try {
|
|
81
|
+
const sunburst = await import('highcharts/modules/sunburst.js');
|
|
82
|
+
if (typeof sunburst.default === 'function') {
|
|
83
|
+
sunburst.default(_Highcharts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
catch {
|
|
87
|
+
// sunburst not available — consumer may have loaded it globally
|
|
88
|
+
}
|
|
89
|
+
try {
|
|
90
|
+
const drilldown = await import('highcharts/modules/drilldown.js');
|
|
91
|
+
if (typeof drilldown.default === 'function') {
|
|
92
|
+
drilldown.default(_Highcharts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
catch {
|
|
96
|
+
// drilldown not available — consumer may have loaded it globally
|
|
97
|
+
}
|
|
98
|
+
try {
|
|
99
|
+
const venn = await import('highcharts/modules/venn.js');
|
|
100
|
+
if (typeof venn.default === 'function') {
|
|
101
|
+
venn.default(_Highcharts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
catch {
|
|
105
|
+
// venn not available — consumer may have loaded it globally
|
|
106
|
+
}
|
|
107
|
+
try {
|
|
108
|
+
const vector = await import('highcharts/modules/vector.js');
|
|
109
|
+
if (typeof vector.default === 'function') {
|
|
110
|
+
vector.default(_Highcharts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
catch {
|
|
114
|
+
// vector not available — consumer may have loaded it globally
|
|
115
|
+
}
|
|
116
|
+
try {
|
|
117
|
+
const xrange = await import('highcharts/modules/xrange.js');
|
|
118
|
+
if (typeof xrange.default === 'function') {
|
|
119
|
+
xrange.default(_Highcharts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
catch {
|
|
123
|
+
// xrange not available — consumer may have loaded it globally
|
|
124
|
+
}
|
|
35
125
|
}
|
|
36
126
|
catch {
|
|
37
127
|
// Fallback to global (works in CDN/browser context)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SeparatedChartConfigInputType } from './types/separated-chart-config-input.type.js';
|
|
2
|
+
/** Same shape as `<nile-chart>` input: chart props + Aquera metadata (for primitive `nile-*-chart` tags). */
|
|
3
|
+
export type SeparatedChartDemoConfig = SeparatedChartConfigInputType;
|
|
4
|
+
/** Applies `chart` fields (minus `type`) and `aq` titles onto a chart element. */
|
|
5
|
+
export declare function applySeparatedChartConfig(target: object, input: SeparatedChartDemoConfig): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Applies `chart` fields (minus `type`) and `aq` titles onto a chart element. */
|
|
2
|
+
export function applySeparatedChartConfig(target, input) {
|
|
3
|
+
const { chart, aq } = input;
|
|
4
|
+
if (!chart)
|
|
5
|
+
return;
|
|
6
|
+
const { type: _type, ...rest } = chart;
|
|
7
|
+
Object.assign(target, rest);
|
|
8
|
+
if (aq) {
|
|
9
|
+
const t = target;
|
|
10
|
+
if (aq.chartTitle != null)
|
|
11
|
+
t.chartTitle = aq.chartTitle;
|
|
12
|
+
if (aq.chartSubtitle != null)
|
|
13
|
+
t.chartSubtitle = aq.chartSubtitle;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=separated-chart-config.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** AI chat panel config. */
|
|
2
|
+
export interface AiConfigType {
|
|
3
|
+
/** Show the AI chat icon on the chart. Default: false. */
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
/** Placeholder text for the chat input. */
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/** Initial assistant message shown when the chat panel opens. */
|
|
8
|
+
welcomeMessage?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartConfigType } from './chart-config.type.js';
|
|
2
|
+
import type { PrimitiveChartConfigType } from './primitive-chart-config.type.js';
|
|
3
|
+
/**
|
|
4
|
+
* Union of chart payload shapes (by `type`) across the package.
|
|
5
|
+
* - {@link ChartConfigType}: `<nile-chart>` / `NileChartConfigInputType.chart`
|
|
6
|
+
* - {@link PrimitiveChartConfigType}: `<nile-*-chart>` tags with `el.config = { chart, aq }`
|
|
7
|
+
*/
|
|
8
|
+
export type AllChartConfigType = ChartConfigType | PrimitiveChartConfigType;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AiConfigType } from './ai-config.type.js';
|
|
2
|
+
import type { SwitchableConfigType } from './switchable-config.type.js';
|
|
3
|
+
/** General-purpose config (summary, AI, titles, switching). */
|
|
4
|
+
export interface AqConfigType {
|
|
5
|
+
chartTitle?: string;
|
|
6
|
+
chartSubtitle?: string;
|
|
7
|
+
summary?: string;
|
|
8
|
+
toggleLabel?: string;
|
|
9
|
+
/** AI chat panel configuration. */
|
|
10
|
+
ai?: AiConfigType;
|
|
11
|
+
/** Chart type switching configuration. */
|
|
12
|
+
switchable?: SwitchableConfigType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { AnomalySeriesData, AnomalyConfig } from '../../nile-anomaly-chart/nile-anomaly-chart.js';
|
|
3
|
+
/** HighCharts anomaly chart config. */
|
|
4
|
+
export interface ChartAnomalyConfigType {
|
|
5
|
+
type: 'anomaly';
|
|
6
|
+
data: AnomalySeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
anomaly?: AnomalyConfig;
|
|
10
|
+
height?: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { AreaChartSeriesData } from '../../nile-area-chart/nile-area-chart.js';
|
|
3
|
+
/** HighCharts area chart config. */
|
|
4
|
+
export interface ChartAreaConfigType {
|
|
5
|
+
type: 'area';
|
|
6
|
+
data: AreaChartSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
stacked?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
14
|
+
/** Same fields as area; `type` tags the inverted-area primitive. */
|
|
15
|
+
export type ChartInvertedAreaConfigType = Omit<ChartAreaConfigType, 'type'> & {
|
|
16
|
+
type: 'invertedArea';
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { AreaNegativeSeriesData } from '../../nile-area-negative-chart/nile-area-negative-chart.ts';
|
|
3
|
+
/** Area with distinct fill above/below a threshold (`<nile-area-negative-chart>`). */
|
|
4
|
+
export interface ChartAreaNegativeConfigType {
|
|
5
|
+
type: 'areaNegative';
|
|
6
|
+
data: AreaNegativeSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
threshold?: number;
|
|
10
|
+
height?: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { AreaRangeSeriesData } from '../../nile-area-range-chart/nile-area-range-chart.ts';
|
|
3
|
+
/** Area range / band (`<nile-area-range-chart>`). */
|
|
4
|
+
export interface ChartAreaRangeConfigType {
|
|
5
|
+
type: 'areaRange';
|
|
6
|
+
data: AreaRangeSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { AreaSplineSeriesData } from '../../nile-area-spline-chart/nile-area-spline-chart.js';
|
|
3
|
+
/** Area spline (`<nile-area-spline-chart>`). */
|
|
4
|
+
export interface ChartAreaSplineConfigType {
|
|
5
|
+
type: 'areaSpline';
|
|
6
|
+
data: AreaSplineSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
stacked?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { BarChartSeriesData } from '../../nile-bar-chart/nile-bar-chart.js';
|
|
3
|
+
/** HighCharts bar chart config. */
|
|
4
|
+
export interface ChartBarConfigType {
|
|
5
|
+
type: 'bar';
|
|
6
|
+
data: BarChartSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { BellcurveSamples } from '../../nile-bellcurve-chart/nile-bellcurve-chart.js';
|
|
3
|
+
/** Bell curve (fitted normal PDF) chart config (`<nile-bellcurve-chart>` / `config.chart`). */
|
|
4
|
+
export interface ChartBellcurveConfigType {
|
|
5
|
+
type: 'bellcurve';
|
|
6
|
+
data: BellcurveSamples;
|
|
7
|
+
xAxisTitle?: string;
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
bellcurveSeriesName?: string;
|
|
10
|
+
sourceSeriesName?: string;
|
|
11
|
+
bellcurveColor?: string;
|
|
12
|
+
bellcurveFill?: string;
|
|
13
|
+
intervals?: number;
|
|
14
|
+
pointsInInterval?: number;
|
|
15
|
+
height?: string;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
options?: Options;
|
|
18
|
+
showLegend?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { BoxplotSeriesData } from '../../nile-boxplot-chart/nile-boxplot-chart.js';
|
|
3
|
+
/** Box plot chart config (`<nile-boxplot-chart>` / `config.chart`). */
|
|
4
|
+
export interface ChartBoxplotConfigType {
|
|
5
|
+
type: 'boxplot';
|
|
6
|
+
data: BoxplotSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
xAxisTitle?: string;
|
|
9
|
+
yAxisTitle?: string;
|
|
10
|
+
horizontal?: boolean;
|
|
11
|
+
height?: string;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
options?: Options;
|
|
14
|
+
showLegend?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { BubbleChartSeriesData } from '../../nile-bubble-chart/nile-bubble-chart.js';
|
|
3
|
+
/** HighCharts bubble chart config. */
|
|
4
|
+
export interface ChartBubbleConfigType {
|
|
5
|
+
type: 'bubble';
|
|
6
|
+
data: BubbleChartSeriesData[];
|
|
7
|
+
xAxisTitle?: string;
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { ClusterChartSeriesData } from '../../nile-cluster-chart/nile-cluster-chart.js';
|
|
3
|
+
/** Grouped (clustered) column chart config (`<nile-cluster-chart>` / `config.chart`). */
|
|
4
|
+
export interface ChartClusterConfigType {
|
|
5
|
+
type: 'cluster';
|
|
6
|
+
data: ClusterChartSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
groupPadding?: number;
|
|
14
|
+
pointPadding?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { ColumnChartSeriesData } from '../../nile-column-chart/nile-column-chart.js';
|
|
3
|
+
/** HighCharts column chart config. */
|
|
4
|
+
export interface ChartColumnConfigType {
|
|
5
|
+
type: 'column';
|
|
6
|
+
data: ColumnChartSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { ColumnDrilldownParentPoint, ColumnDrilldownSeriesConfig } from '../../nile-column-drilldown-chart/nile-column-drilldown-chart.js';
|
|
3
|
+
/** Column with drilldown (`<nile-column-drilldown-chart>`). */
|
|
4
|
+
export interface ChartColumnDrilldownConfigType {
|
|
5
|
+
type: 'columnDrilldown';
|
|
6
|
+
data: ColumnDrilldownParentPoint[];
|
|
7
|
+
drilldownSeries: ColumnDrilldownSeriesConfig[];
|
|
8
|
+
seriesName?: string;
|
|
9
|
+
yAxisTitle?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { ColumnPyramidSeriesData } from '../../nile-column-pyramid-chart/nile-column-pyramid-chart.js';
|
|
3
|
+
/** Column pyramid (`<nile-column-pyramid-chart>`). */
|
|
4
|
+
export interface ChartColumnPyramidConfigType {
|
|
5
|
+
type: 'columnPyramid';
|
|
6
|
+
data: ColumnPyramidSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
height?: string;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
options?: Options;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { ColumnRangeSeriesData } from '../../nile-column-range-chart/nile-column-range-chart.js';
|
|
3
|
+
/** Column range (`<nile-column-range-chart>`). */
|
|
4
|
+
export interface ChartColumnRangeConfigType {
|
|
5
|
+
type: 'columnRange';
|
|
6
|
+
data: ColumnRangeSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ChartBarConfigType } from './chart-bar-config.type.js';
|
|
2
|
+
import type { ChartPieConfigType } from './chart-pie-config.type.js';
|
|
3
|
+
import type { ChartTrendlineConfigType } from './chart-trendline-config.type.js';
|
|
4
|
+
import type { ChartAnomalyConfigType } from './chart-anomaly-config.type.js';
|
|
5
|
+
import type { ChartLineConfigType } from './chart-line-config.type.js';
|
|
6
|
+
import type { ChartAreaConfigType } from './chart-area-config.type.js';
|
|
7
|
+
import type { ChartColumnConfigType } from './chart-column-config.type.js';
|
|
8
|
+
import type { ChartDonutConfigType } from './chart-donut-config.type.js';
|
|
9
|
+
import type { ChartScatterConfigType } from './chart-scatter-config.type.js';
|
|
10
|
+
import type { ChartBubbleConfigType } from './chart-bubble-config.type.js';
|
|
11
|
+
import type { ChartSplineConfigType } from './chart-spline-config.type.js';
|
|
12
|
+
import type { ChartRadarConfigType } from './chart-radar-config.type.js';
|
|
13
|
+
import type { ChartGaugeConfigType } from './chart-gauge-config.type.js';
|
|
14
|
+
import type { ChartWaterfallConfigType } from './chart-waterfall-config.type.js';
|
|
15
|
+
/** Union of all HighCharts chart configs. */
|
|
16
|
+
export type ChartConfigType = ChartBarConfigType | ChartPieConfigType | ChartTrendlineConfigType | ChartAnomalyConfigType | ChartLineConfigType | ChartAreaConfigType | ChartColumnConfigType | ChartDonutConfigType | ChartScatterConfigType | ChartBubbleConfigType | ChartSplineConfigType | ChartRadarConfigType | ChartGaugeConfigType | ChartWaterfallConfigType;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { DonutChartSeriesData } from '../../nile-donut-chart/nile-donut-chart.js';
|
|
3
|
+
/** HighCharts donut chart config. */
|
|
4
|
+
export interface ChartDonutConfigType {
|
|
5
|
+
type: 'donut';
|
|
6
|
+
data: DonutChartSeriesData[];
|
|
7
|
+
seriesName?: string;
|
|
8
|
+
innerSize?: string;
|
|
9
|
+
showDataLabels?: boolean;
|
|
10
|
+
showLegend?: boolean;
|
|
11
|
+
height?: string;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
options?: Options;
|
|
14
|
+
}
|