@aquera/nile-visualization 0.2.0 → 0.4.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 +37 -1
- package/dist/src/index.js +19 -0
- package/dist/src/internal/chart-adapters.js +86 -0
- package/dist/src/internal/highcharts-provider.js +72 -0
- package/dist/src/internal/types/all-chart-config.type.d.ts +2 -4
- package/dist/src/internal/types/chart-area-config.type.d.ts +4 -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-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 +3 -2
- package/dist/src/internal/types/chart-donut-config.type.d.ts +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-heatmap-config.type.d.ts +19 -0
- package/dist/src/internal/types/chart-heatmap-config.type.js +2 -0
- package/dist/src/internal/types/chart-line-column-config.type.d.ts +14 -0
- package/dist/src/internal/types/chart-line-column-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-organization-config.type.d.ts +13 -0
- package/dist/src/internal/types/chart-organization-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-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-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-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 +19 -1
- package/dist/src/internal/types/primitive-chart-config.type.d.ts +20 -1
- 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-bellcurve-chart/nile-bellcurve-chart.js +3 -1
- package/dist/src/nile-chart/index.d.ts +1 -1
- package/dist/src/nile-chart/nile-chart-config.d.ts +36 -96
- package/dist/src/nile-chart/nile-chart.css.js +1 -1
- package/dist/src/nile-chart/nile-chart.d.ts +36 -0
- package/dist/src/nile-chart/nile-chart.js +412 -5
- 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 +2 -0
- package/dist/src/nile-donut-chart/nile-donut-chart.js +16 -1
- 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-heatmap-chart/index.d.ts +2 -0
- package/dist/src/nile-heatmap-chart/index.js +2 -0
- package/dist/src/nile-heatmap-chart/nile-heatmap-chart.css.d.ts +1 -0
- package/dist/src/nile-heatmap-chart/nile-heatmap-chart.css.js +28 -0
- package/dist/src/nile-heatmap-chart/nile-heatmap-chart.d.ts +49 -0
- package/dist/src/nile-heatmap-chart/nile-heatmap-chart.js +259 -0
- package/dist/src/nile-histogram-chart/nile-histogram-chart.js +3 -1
- 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-line-column-chart/index.d.ts +2 -0
- package/dist/src/nile-line-column-chart/index.js +2 -0
- package/dist/src/nile-line-column-chart/nile-line-column-chart.css.d.ts +1 -0
- package/dist/src/nile-line-column-chart/nile-line-column-chart.css.js +28 -0
- package/dist/src/nile-line-column-chart/nile-line-column-chart.d.ts +42 -0
- package/dist/src/nile-line-column-chart/nile-line-column-chart.js +205 -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-organization-chart/index.d.ts +2 -0
- package/dist/src/nile-organization-chart/index.js +2 -0
- package/dist/src/nile-organization-chart/nile-organization-chart.css.d.ts +1 -0
- package/dist/src/nile-organization-chart/nile-organization-chart.css.js +28 -0
- package/dist/src/nile-organization-chart/nile-organization-chart.d.ts +57 -0
- package/dist/src/nile-organization-chart/nile-organization-chart.js +206 -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-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-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-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 +4 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -10,12 +10,14 @@ export { NileChart } from './nile-chart/index.js';
|
|
|
10
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
12
|
export { nileChartConfig } from './nile-chart/index.js';
|
|
13
|
-
export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartDumbbellConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiPropsType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } 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, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiPropsType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from './nile-chart/index.js';
|
|
14
14
|
export type { SeparatedChartDemoConfig } from './internal/separated-chart-config.js';
|
|
15
15
|
export { NileLineChart } from './nile-line-chart/index.js';
|
|
16
16
|
export type { LineChartSeriesData } from './nile-line-chart/index.js';
|
|
17
17
|
export { NileAreaChart } from './nile-area-chart/index.js';
|
|
18
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';
|
|
19
21
|
export { NileColumnChart } from './nile-column-chart/index.js';
|
|
20
22
|
export type { ColumnChartSeriesData } from './nile-column-chart/index.js';
|
|
21
23
|
export { NileClusterChart } from './nile-cluster-chart/index.js';
|
|
@@ -32,6 +34,34 @@ export { NileTimelineChart } from './nile-timeline-chart/index.js';
|
|
|
32
34
|
export type { TimelineEvent } from './nile-timeline-chart/index.js';
|
|
33
35
|
export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
|
|
34
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';
|
|
35
65
|
export { NileFanChart } from './nile-fan-chart/index.js';
|
|
36
66
|
export type { FanLinePoint, FanUncertaintyBand } from './nile-fan-chart/index.js';
|
|
37
67
|
export { NileDonutChart } from './nile-donut-chart/index.js';
|
|
@@ -50,6 +80,12 @@ export { NileWaterfallChart } from './nile-waterfall-chart/index.js';
|
|
|
50
80
|
export type { WaterfallDataPoint } from './nile-waterfall-chart/index.js';
|
|
51
81
|
export { NileFunnelChart } from './nile-funnel-chart/index.js';
|
|
52
82
|
export type { FunnelDataPoint } from './nile-funnel-chart/index.js';
|
|
83
|
+
export { NileOrganizationChart } from './nile-organization-chart/index.js';
|
|
84
|
+
export type { OrgChartLink, OrgChartNode } from './nile-organization-chart/index.js';
|
|
85
|
+
export { NileLineColumnChart } from './nile-line-column-chart/index.js';
|
|
86
|
+
export type { LineColumnSeriesPart } from './nile-line-column-chart/index.js';
|
|
87
|
+
export { NileHeatmapChart } from './nile-heatmap-chart/index.js';
|
|
88
|
+
export type { HeatmapCell } from './nile-heatmap-chart/index.js';
|
|
53
89
|
export { NileFlameChart } from './nile-flame-chart/index.js';
|
|
54
90
|
export type { FlameChartPoint, FlameSunburstPoint, FlameChartLayout, } from './nile-flame-chart/index.js';
|
|
55
91
|
export { NileSpiderwebChart } from './nile-spiderweb-chart/index.js';
|
package/dist/src/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export { convertConfig, registerAdapter } from './nile-chart/index.js';
|
|
|
10
10
|
export { nileChartConfig } from './nile-chart/index.js';
|
|
11
11
|
export { NileLineChart } from './nile-line-chart/index.js';
|
|
12
12
|
export { NileAreaChart } from './nile-area-chart/index.js';
|
|
13
|
+
export { NileInvertedAreaChart } from './nile-inverted-area-chart/index.js';
|
|
13
14
|
export { NileColumnChart } from './nile-column-chart/index.js';
|
|
14
15
|
export { NileClusterChart } from './nile-cluster-chart/index.js';
|
|
15
16
|
export { NileStackedChart } from './nile-stacked-chart/index.js';
|
|
@@ -18,6 +19,21 @@ export { NileBellcurveChart } from './nile-bellcurve-chart/index.js';
|
|
|
18
19
|
export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
|
|
19
20
|
export { NileTimelineChart } from './nile-timeline-chart/index.js';
|
|
20
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';
|
|
21
37
|
export { NileFanChart } from './nile-fan-chart/index.js';
|
|
22
38
|
export { NileDonutChart } from './nile-donut-chart/index.js';
|
|
23
39
|
export { NileScatterChart } from './nile-scatter-chart/index.js';
|
|
@@ -27,6 +43,9 @@ export { NileRadarChart } from './nile-radar-chart/index.js';
|
|
|
27
43
|
export { NileGaugeChart } from './nile-gauge-chart/index.js';
|
|
28
44
|
export { NileWaterfallChart } from './nile-waterfall-chart/index.js';
|
|
29
45
|
export { NileFunnelChart } from './nile-funnel-chart/index.js';
|
|
46
|
+
export { NileOrganizationChart } from './nile-organization-chart/index.js';
|
|
47
|
+
export { NileLineColumnChart } from './nile-line-column-chart/index.js';
|
|
48
|
+
export { NileHeatmapChart } from './nile-heatmap-chart/index.js';
|
|
30
49
|
export { NileFlameChart } from './nile-flame-chart/index.js';
|
|
31
50
|
export { NileSpiderwebChart } from './nile-spiderweb-chart/index.js';
|
|
32
51
|
export { NileKpiChart } from './nile-kpi-chart/index.js';
|
|
@@ -136,6 +136,92 @@ const adapters = {
|
|
|
136
136
|
throw new Error('Expected anomaly config');
|
|
137
137
|
return { ...config, type: 'trendline', data: config.data, categories: config.categories };
|
|
138
138
|
},
|
|
139
|
+
// ── Bar-like (bar, column, stacked) ↔ each other ──
|
|
140
|
+
'bar->stacked': (config) => {
|
|
141
|
+
if (config.type !== 'bar')
|
|
142
|
+
throw new Error('Expected bar config');
|
|
143
|
+
return { ...config, type: 'stacked', stackMode: 'normal' };
|
|
144
|
+
},
|
|
145
|
+
'stacked->bar': (config) => {
|
|
146
|
+
if (config.type !== 'stacked')
|
|
147
|
+
throw new Error('Expected stacked config');
|
|
148
|
+
return { ...config, type: 'bar' };
|
|
149
|
+
},
|
|
150
|
+
'column->stacked': (config) => {
|
|
151
|
+
if (config.type !== 'column')
|
|
152
|
+
throw new Error('Expected column config');
|
|
153
|
+
return { ...config, type: 'stacked', stackMode: 'normal' };
|
|
154
|
+
},
|
|
155
|
+
'stacked->column': (config) => {
|
|
156
|
+
if (config.type !== 'stacked')
|
|
157
|
+
throw new Error('Expected stacked config');
|
|
158
|
+
return { ...config, type: 'column' };
|
|
159
|
+
},
|
|
160
|
+
'bar->column': (config) => {
|
|
161
|
+
if (config.type !== 'bar')
|
|
162
|
+
throw new Error('Expected bar config');
|
|
163
|
+
return { ...config, type: 'column' };
|
|
164
|
+
},
|
|
165
|
+
'column->bar': (config) => {
|
|
166
|
+
if (config.type !== 'column')
|
|
167
|
+
throw new Error('Expected column config');
|
|
168
|
+
return { ...config, type: 'bar' };
|
|
169
|
+
},
|
|
170
|
+
// ── Stacked ↔ pie / trendline / anomaly (same as bar) ──
|
|
171
|
+
'stacked->pie': (config) => {
|
|
172
|
+
if (config.type !== 'stacked')
|
|
173
|
+
throw new Error('Expected stacked config');
|
|
174
|
+
const agg = config.switchAggregation ?? 'by-category';
|
|
175
|
+
return {
|
|
176
|
+
...config,
|
|
177
|
+
type: 'pie',
|
|
178
|
+
data: barLikeToPie(config.data, config.categories ?? [], agg),
|
|
179
|
+
seriesName: config.chartTitle || 'Series',
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
'pie->stacked': (config) => {
|
|
183
|
+
if (config.type !== 'pie')
|
|
184
|
+
throw new Error('Expected pie config');
|
|
185
|
+
const { data, categories } = pieToBarLike(config.data, config.seriesName);
|
|
186
|
+
return { ...config, type: 'stacked', data, categories, stackMode: 'normal' };
|
|
187
|
+
},
|
|
188
|
+
'stacked->trendline': (config) => {
|
|
189
|
+
if (config.type !== 'stacked')
|
|
190
|
+
throw new Error('Expected stacked config');
|
|
191
|
+
return { ...config, type: 'trendline', data: config.data, categories: config.categories };
|
|
192
|
+
},
|
|
193
|
+
'trendline->stacked': (config) => {
|
|
194
|
+
if (config.type !== 'trendline')
|
|
195
|
+
throw new Error('Expected trendline config');
|
|
196
|
+
return { ...config, type: 'stacked', stackMode: 'normal', data: config.data, categories: config.categories };
|
|
197
|
+
},
|
|
198
|
+
'stacked->anomaly': (config) => {
|
|
199
|
+
if (config.type !== 'stacked')
|
|
200
|
+
throw new Error('Expected stacked config');
|
|
201
|
+
return { ...config, type: 'anomaly', data: config.data, categories: config.categories };
|
|
202
|
+
},
|
|
203
|
+
'anomaly->stacked': (config) => {
|
|
204
|
+
if (config.type !== 'anomaly')
|
|
205
|
+
throw new Error('Expected anomaly config');
|
|
206
|
+
return { ...config, type: 'stacked', stackMode: 'normal', data: config.data, categories: config.categories };
|
|
207
|
+
},
|
|
208
|
+
'column->pie': (config) => {
|
|
209
|
+
if (config.type !== 'column')
|
|
210
|
+
throw new Error('Expected column config');
|
|
211
|
+
const agg = config.switchAggregation ?? 'by-category';
|
|
212
|
+
return {
|
|
213
|
+
...config,
|
|
214
|
+
type: 'pie',
|
|
215
|
+
data: barLikeToPie(config.data, config.categories ?? [], agg),
|
|
216
|
+
seriesName: config.chartTitle || 'Series',
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
'pie->column': (config) => {
|
|
220
|
+
if (config.type !== 'pie')
|
|
221
|
+
throw new Error('Expected pie config');
|
|
222
|
+
const { data, categories } = pieToBarLike(config.data, config.seriesName);
|
|
223
|
+
return { ...config, type: 'column', data, categories };
|
|
224
|
+
},
|
|
139
225
|
};
|
|
140
226
|
/**
|
|
141
227
|
* Register a custom adapter for converting between chart types.
|
|
@@ -41,6 +41,15 @@ async function init() {
|
|
|
41
41
|
catch {
|
|
42
42
|
// funnel not available — consumer may have loaded it globally
|
|
43
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
|
+
}
|
|
44
53
|
try {
|
|
45
54
|
const histogramBellcurve = await import('highcharts/modules/histogram-bellcurve.js');
|
|
46
55
|
if (typeof histogramBellcurve.default === 'function') {
|
|
@@ -77,6 +86,69 @@ async function init() {
|
|
|
77
86
|
catch {
|
|
78
87
|
// sunburst not available — consumer may have loaded it globally
|
|
79
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
|
+
}
|
|
125
|
+
try {
|
|
126
|
+
const sankey = await import('highcharts/modules/sankey.js');
|
|
127
|
+
if (typeof sankey.default === 'function') {
|
|
128
|
+
sankey.default(_Highcharts);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
catch {
|
|
132
|
+
// sankey not available — required base for organization; consumer may have loaded globally
|
|
133
|
+
}
|
|
134
|
+
try {
|
|
135
|
+
const organization = await import('highcharts/modules/organization.js');
|
|
136
|
+
if (typeof organization.default === 'function') {
|
|
137
|
+
organization.default(_Highcharts);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
catch {
|
|
141
|
+
// organization not available — consumer may have loaded it globally
|
|
142
|
+
}
|
|
143
|
+
try {
|
|
144
|
+
const heatmap = await import('highcharts/modules/heatmap.js');
|
|
145
|
+
if (typeof heatmap.default === 'function') {
|
|
146
|
+
heatmap.default(_Highcharts);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
catch {
|
|
150
|
+
// heatmap not available — consumer may have loaded it globally
|
|
151
|
+
}
|
|
80
152
|
}
|
|
81
153
|
catch {
|
|
82
154
|
// Fallback to global (works in CDN/browser context)
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ChartConfigType } from './chart-config.type.js';
|
|
2
|
-
import type { PrimitiveChartConfigType } from './primitive-chart-config.type.js';
|
|
3
2
|
/**
|
|
4
3
|
* Union of chart payload shapes (by `type`) across the package.
|
|
5
|
-
*
|
|
6
|
-
* - {@link PrimitiveChartConfigType}: `<nile-*-chart>` tags with `el.config = { chart, aq }`
|
|
4
|
+
* Same as {@link ChartConfigType}: primitives are included for `<nile-chart>` and `<nile-*-chart>`.
|
|
7
5
|
*/
|
|
8
|
-
export type AllChartConfigType = ChartConfigType
|
|
6
|
+
export type AllChartConfigType = ChartConfigType;
|
|
@@ -11,3 +11,7 @@ export interface ChartAreaConfigType {
|
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
options?: Options;
|
|
13
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,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
|
+
}
|
|
@@ -12,5 +12,6 @@ import type { ChartSplineConfigType } from './chart-spline-config.type.js';
|
|
|
12
12
|
import type { ChartRadarConfigType } from './chart-radar-config.type.js';
|
|
13
13
|
import type { ChartGaugeConfigType } from './chart-gauge-config.type.js';
|
|
14
14
|
import type { ChartWaterfallConfigType } from './chart-waterfall-config.type.js';
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
import type { PrimitiveChartConfigType } from './primitive-chart-config.type.js';
|
|
16
|
+
/** Core chart configs (bar, pie, …) plus all primitive series types — use with `<nile-chart>` via `chart.type`. */
|
|
17
|
+
export type ChartConfigType = ChartBarConfigType | ChartPieConfigType | ChartTrendlineConfigType | ChartAnomalyConfigType | ChartLineConfigType | ChartAreaConfigType | ChartColumnConfigType | ChartDonutConfigType | ChartScatterConfigType | ChartBubbleConfigType | ChartSplineConfigType | ChartRadarConfigType | ChartGaugeConfigType | ChartWaterfallConfigType | PrimitiveChartConfigType;
|
|
@@ -6,6 +6,8 @@ export interface ChartDonutConfigType {
|
|
|
6
6
|
data: DonutChartSeriesData[];
|
|
7
7
|
seriesName?: string;
|
|
8
8
|
innerSize?: string;
|
|
9
|
+
/** Half-donut (180°) with arc on top; adjusts center and angles. */
|
|
10
|
+
semiCircle?: boolean;
|
|
9
11
|
showDataLabels?: boolean;
|
|
10
12
|
showLegend?: boolean;
|
|
11
13
|
height?: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ChartDumbbellConfigType } from './chart-dumbbell-config.type.js';
|
|
2
|
+
/** Dumbbell with emphasis on the low marker (`<nile-dumbbell-lower-chart>`). */
|
|
3
|
+
export type ChartDumbbellLowerConfigType = Omit<ChartDumbbellConfigType, 'type'> & {
|
|
4
|
+
type: 'dumbbellLower';
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ChartDumbbellConfigType } from './chart-dumbbell-config.type.js';
|
|
2
|
+
/** Dumbbell with emphasis on the high marker (`<nile-dumbbell-upper-chart>`). */
|
|
3
|
+
export type ChartDumbbellUpperConfigType = Omit<ChartDumbbellConfigType, 'type'> & {
|
|
4
|
+
type: 'dumbbellUpper';
|
|
5
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { EulerVennDataPoint } from '../../nile-euler-chart/nile-euler-chart.js';
|
|
3
|
+
/** Euler / Venn (`<nile-euler-chart>`). */
|
|
4
|
+
export interface ChartEulerConfigType {
|
|
5
|
+
type: 'euler';
|
|
6
|
+
data: EulerVennDataPoint[];
|
|
7
|
+
height?: string;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
options?: Options;
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { HeatmapCell } from '../../nile-heatmap-chart/nile-heatmap-chart.js';
|
|
3
|
+
/** Heatmap (`<nile-heatmap-chart>`): cells use category indices on x and y. */
|
|
4
|
+
export interface ChartHeatmapConfigType {
|
|
5
|
+
type: 'heatmap';
|
|
6
|
+
xCategories: string[];
|
|
7
|
+
yCategories: string[];
|
|
8
|
+
data: HeatmapCell[];
|
|
9
|
+
seriesName?: string;
|
|
10
|
+
colorMin?: number;
|
|
11
|
+
colorMax?: number;
|
|
12
|
+
minColor?: string;
|
|
13
|
+
maxColor?: string;
|
|
14
|
+
colorAxisTitle?: string;
|
|
15
|
+
showDataLabels?: boolean;
|
|
16
|
+
height?: string;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
options?: Options;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { LineColumnSeriesPart } from '../../nile-line-column-chart/nile-line-column-chart.js';
|
|
3
|
+
/** Dual-axis combo: columns on the left axis, line on the right (`<nile-line-column-chart>`). */
|
|
4
|
+
export interface ChartLineColumnConfigType {
|
|
5
|
+
type: 'line-column';
|
|
6
|
+
categories: string[];
|
|
7
|
+
columnSeries: LineColumnSeriesPart;
|
|
8
|
+
lineSeries: LineColumnSeriesPart;
|
|
9
|
+
columnAxisTitle?: string;
|
|
10
|
+
lineAxisTitle?: string;
|
|
11
|
+
height?: string;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
options?: Options;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { LollipopSeriesData } from '../../nile-lollipop-chart/nile-lollipop-chart.js';
|
|
3
|
+
/** Lollipop (stem + marker) chart (`<nile-lollipop-chart>`). */
|
|
4
|
+
export interface ChartLollipopConfigType {
|
|
5
|
+
type: 'lollipop';
|
|
6
|
+
data: LollipopSeriesData[];
|
|
7
|
+
categories?: string[];
|
|
8
|
+
height?: string;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
options?: Options;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { OrgChartLink, OrgChartNode } from '../../nile-organization-chart/nile-organization-chart.js';
|
|
3
|
+
/** Organization chart config (`<nile-organization-chart>` / `config.chart`). */
|
|
4
|
+
export interface ChartOrganizationConfigType {
|
|
5
|
+
type: 'organization';
|
|
6
|
+
nodes: OrgChartNode[];
|
|
7
|
+
links: OrgChartLink[];
|
|
8
|
+
seriesName?: string;
|
|
9
|
+
inverted?: boolean;
|
|
10
|
+
height?: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { PolygonSeriesConfig } from '../../nile-polygon-chart/nile-polygon-chart.js';
|
|
3
|
+
/** Filled polygon regions in XY space (`<nile-polygon-chart>`). */
|
|
4
|
+
export interface ChartPolygonConfigType {
|
|
5
|
+
type: 'polygon';
|
|
6
|
+
series: PolygonSeriesConfig[];
|
|
7
|
+
xAxisTitle?: string;
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
options?: Options;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { RadialBarSeriesData } from '../../nile-radial-bar-chart/nile-radial-bar-chart.js';
|
|
3
|
+
/** Polar column / radial bars (`<nile-radial-bar-chart>`). */
|
|
4
|
+
export interface ChartRadialBarConfigType {
|
|
5
|
+
type: 'radialBar';
|
|
6
|
+
data: RadialBarSeriesData[];
|
|
7
|
+
categories: string[];
|
|
8
|
+
yAxisTitle?: string;
|
|
9
|
+
/** Polar pane hole (e.g. `'28%'`). */
|
|
10
|
+
innerSize?: string;
|
|
11
|
+
/** Outer pane diameter (e.g. `'82%'`). */
|
|
12
|
+
paneSize?: string;
|
|
13
|
+
height?: string;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
options?: Options;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { VariablePieDataPoint } from '../../nile-variable-pie-chart/nile-variable-pie-chart.js';
|
|
3
|
+
/** Variable-radius pie (`<nile-variable-pie-chart>`). */
|
|
4
|
+
export interface ChartVariablePieConfigType {
|
|
5
|
+
type: 'variablePie';
|
|
6
|
+
data: VariablePieDataPoint[];
|
|
7
|
+
seriesName?: string;
|
|
8
|
+
showDataLabels?: boolean;
|
|
9
|
+
showLegend?: boolean;
|
|
10
|
+
height?: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Options } from 'highcharts';
|
|
2
|
+
import type { VectorDataPoint } from '../../nile-vector-chart/nile-vector-chart.js';
|
|
3
|
+
/** Vector field (`<nile-vector-chart>`). */
|
|
4
|
+
export interface ChartVectorConfigType {
|
|
5
|
+
type: 'vector';
|
|
6
|
+
data: VectorDataPoint[];
|
|
7
|
+
seriesName?: string;
|
|
8
|
+
xAxisTitle?: string;
|
|
9
|
+
yAxisTitle?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
options?: Options;
|
|
13
|
+
}
|