@chartts/svelte 0.1.3
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/LICENSE +21 -0
- package/dist/exports.cjs +188 -0
- package/dist/exports.cjs.map +1 -0
- package/dist/exports.d.cts +1 -0
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +3 -0
- package/dist/exports.js.map +1 -0
- package/package.json +37 -0
- package/src/BarChart.svelte +39 -0
- package/src/Chart.svelte +40 -0
- package/src/LineChart.svelte +39 -0
- package/src/exports.ts +15 -0
- package/src/index.ts +19 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 chartts
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/exports.cjs
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@chartts/core');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "areaChartType", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return core.areaChartType; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "barChartType", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return core.barChartType; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "baselineChartType", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return core.baselineChartType; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "boxplotChartType", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return core.boxplotChartType; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "bubbleChartType", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return core.bubbleChartType; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "bulletChartType", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return core.bulletChartType; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "calendarChartType", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return core.calendarChartType; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "candlestickChartType", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return core.candlestickChartType; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "chordChartType", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return core.chordChartType; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "comboChartType", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return core.comboChartType; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "customChartType", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return core.customChartType; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "donutChartType", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return core.donutChartType; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "dumbbellChartType", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return core.dumbbellChartType; }
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "funnelChartType", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return core.funnelChartType; }
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "gaugeChartType", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return core.gaugeChartType; }
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "geoChartType", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return core.geoChartType; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "graphChartType", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return core.graphChartType; }
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "heatmapChartType", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return core.heatmapChartType; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "histogramChartType", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return core.histogramChartType; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "horizontalBarChartType", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return core.horizontalBarChartType; }
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(exports, "kagiChartType", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () { return core.kagiChartType; }
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(exports, "lineChartType", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () { return core.lineChartType; }
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "linesChartType", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return core.linesChartType; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "lollipopChartType", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return core.lollipopChartType; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "matrixChartType", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return core.matrixChartType; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "ohlcChartType", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return core.ohlcChartType; }
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "parallelChartType", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () { return core.parallelChartType; }
|
|
114
|
+
});
|
|
115
|
+
Object.defineProperty(exports, "pictorialBarChartType", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function () { return core.pictorialBarChartType; }
|
|
118
|
+
});
|
|
119
|
+
Object.defineProperty(exports, "pieChartType", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () { return core.pieChartType; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "polarChartType", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return core.polarChartType; }
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "radarChartType", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function () { return core.radarChartType; }
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, "radialBarChartType", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return core.radialBarChartType; }
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "rangeChartType", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return core.rangeChartType; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "renkoChartType", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return core.renkoChartType; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "sankeyChartType", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return core.sankeyChartType; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "scatterChartType", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return core.scatterChartType; }
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(exports, "sparklineChartType", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function () { return core.sparklineChartType; }
|
|
154
|
+
});
|
|
155
|
+
Object.defineProperty(exports, "stackedBarChartType", {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () { return core.stackedBarChartType; }
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "stepChartType", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return core.stepChartType; }
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "sunburstChartType", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function () { return core.sunburstChartType; }
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, "themeRiverChartType", {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () { return core.themeRiverChartType; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "treeChartType", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return core.treeChartType; }
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "treemapChartType", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () { return core.treemapChartType; }
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, "volumeChartType", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () { return core.volumeChartType; }
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "waterfallChartType", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () { return core.waterfallChartType; }
|
|
186
|
+
});
|
|
187
|
+
//# sourceMappingURL=exports.cjs.map
|
|
188
|
+
//# sourceMappingURL=exports.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"exports.cjs","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartData, ChartInstance, ChartOptions, ChartTypePlugin, areaChartType, barChartType, baselineChartType, boxplotChartType, bubbleChartType, bulletChartType, calendarChartType, candlestickChartType, chordChartType, comboChartType, customChartType, donutChartType, dumbbellChartType, funnelChartType, gaugeChartType, geoChartType, graphChartType, heatmapChartType, histogramChartType, horizontalBarChartType, kagiChartType, lineChartType, linesChartType, lollipopChartType, matrixChartType, ohlcChartType, parallelChartType, pictorialBarChartType, pieChartType, polarChartType, radarChartType, radialBarChartType, rangeChartType, renkoChartType, sankeyChartType, scatterChartType, sparklineChartType, stackedBarChartType, stepChartType, sunburstChartType, themeRiverChartType, treeChartType, treemapChartType, volumeChartType, waterfallChartType } from '@chartts/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartData, ChartInstance, ChartOptions, ChartTypePlugin, areaChartType, barChartType, baselineChartType, boxplotChartType, bubbleChartType, bulletChartType, calendarChartType, candlestickChartType, chordChartType, comboChartType, customChartType, donutChartType, dumbbellChartType, funnelChartType, gaugeChartType, geoChartType, graphChartType, heatmapChartType, histogramChartType, horizontalBarChartType, kagiChartType, lineChartType, linesChartType, lollipopChartType, matrixChartType, ohlcChartType, parallelChartType, pictorialBarChartType, pieChartType, polarChartType, radarChartType, radialBarChartType, rangeChartType, renkoChartType, sankeyChartType, scatterChartType, sparklineChartType, stackedBarChartType, stepChartType, sunburstChartType, themeRiverChartType, treeChartType, treemapChartType, volumeChartType, waterfallChartType } from '@chartts/core';
|
package/dist/exports.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { areaChartType, barChartType, baselineChartType, boxplotChartType, bubbleChartType, bulletChartType, calendarChartType, candlestickChartType, chordChartType, comboChartType, customChartType, donutChartType, dumbbellChartType, funnelChartType, gaugeChartType, geoChartType, graphChartType, heatmapChartType, histogramChartType, horizontalBarChartType, kagiChartType, lineChartType, linesChartType, lollipopChartType, matrixChartType, ohlcChartType, parallelChartType, pictorialBarChartType, pieChartType, polarChartType, radarChartType, radialBarChartType, rangeChartType, renkoChartType, sankeyChartType, scatterChartType, sparklineChartType, stackedBarChartType, stepChartType, sunburstChartType, themeRiverChartType, treeChartType, treemapChartType, volumeChartType, waterfallChartType } from '@chartts/core';
|
|
2
|
+
//# sourceMappingURL=exports.js.map
|
|
3
|
+
//# sourceMappingURL=exports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"exports.js","sourcesContent":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chartts/svelte",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Chartts Svelte components — native, not a wrapper.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"svelte": "./src/index.ts",
|
|
7
|
+
"types": "./dist/exports.d.ts",
|
|
8
|
+
"main": "./dist/exports.cjs",
|
|
9
|
+
"module": "./dist/exports.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"svelte": "./src/index.ts",
|
|
13
|
+
"types": "./dist/exports.d.ts",
|
|
14
|
+
"import": "./dist/exports.js",
|
|
15
|
+
"require": "./dist/exports.cjs"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"src"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"svelte": ">=4.0.0",
|
|
25
|
+
"@chartts/core": "0.1.3"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/chartts/chartts"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://chartts.com",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsup",
|
|
35
|
+
"dev": "tsup --watch"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { onMount, onDestroy } from 'svelte'
|
|
3
|
+
import {
|
|
4
|
+
createChart, barChartType,
|
|
5
|
+
type ChartData, type ChartOptions, type ChartInstance,
|
|
6
|
+
} from '@chartts/core'
|
|
7
|
+
|
|
8
|
+
let {
|
|
9
|
+
data,
|
|
10
|
+
class: className = '',
|
|
11
|
+
...options
|
|
12
|
+
}: { data: ChartData; class?: string } & ChartOptions = $props()
|
|
13
|
+
|
|
14
|
+
let container: HTMLDivElement
|
|
15
|
+
let instance: ChartInstance | null = null
|
|
16
|
+
|
|
17
|
+
onMount(() => {
|
|
18
|
+
instance = createChart(container, barChartType, data, options)
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
$effect(() => {
|
|
22
|
+
instance?.setData(data)
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
$effect(() => {
|
|
26
|
+
instance?.setOptions(options)
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
onDestroy(() => {
|
|
30
|
+
instance?.destroy()
|
|
31
|
+
instance = null
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
export function getInstance(): ChartInstance | null {
|
|
35
|
+
return instance
|
|
36
|
+
}
|
|
37
|
+
</script>
|
|
38
|
+
|
|
39
|
+
<div bind:this={container} class={className}></div>
|
package/src/Chart.svelte
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { onMount, onDestroy } from 'svelte'
|
|
3
|
+
import {
|
|
4
|
+
createChart,
|
|
5
|
+
type ChartData, type ChartOptions, type ChartInstance, type ChartTypePlugin,
|
|
6
|
+
} from '@chartts/core'
|
|
7
|
+
|
|
8
|
+
let {
|
|
9
|
+
type: chartType,
|
|
10
|
+
data,
|
|
11
|
+
class: className = '',
|
|
12
|
+
...options
|
|
13
|
+
}: { type: ChartTypePlugin; data: ChartData; class?: string } & ChartOptions = $props()
|
|
14
|
+
|
|
15
|
+
let container: HTMLDivElement
|
|
16
|
+
let instance: ChartInstance | null = null
|
|
17
|
+
|
|
18
|
+
onMount(() => {
|
|
19
|
+
instance = createChart(container, chartType, data, options)
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
$effect(() => {
|
|
23
|
+
instance?.setData(data)
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
$effect(() => {
|
|
27
|
+
instance?.setOptions(options)
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
onDestroy(() => {
|
|
31
|
+
instance?.destroy()
|
|
32
|
+
instance = null
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
export function getInstance(): ChartInstance | null {
|
|
36
|
+
return instance
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<div bind:this={container} class={className}></div>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { onMount, onDestroy } from 'svelte'
|
|
3
|
+
import {
|
|
4
|
+
createChart, lineChartType,
|
|
5
|
+
type ChartData, type ChartOptions, type ChartInstance,
|
|
6
|
+
} from '@chartts/core'
|
|
7
|
+
|
|
8
|
+
let {
|
|
9
|
+
data,
|
|
10
|
+
class: className = '',
|
|
11
|
+
...options
|
|
12
|
+
}: { data: ChartData; class?: string } & ChartOptions = $props()
|
|
13
|
+
|
|
14
|
+
let container: HTMLDivElement
|
|
15
|
+
let instance: ChartInstance | null = null
|
|
16
|
+
|
|
17
|
+
onMount(() => {
|
|
18
|
+
instance = createChart(container, lineChartType, data, options)
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
$effect(() => {
|
|
22
|
+
instance?.setData(data)
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
$effect(() => {
|
|
26
|
+
instance?.setOptions(options)
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
onDestroy(() => {
|
|
30
|
+
instance?.destroy()
|
|
31
|
+
instance = null
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
export function getInstance(): ChartInstance | null {
|
|
35
|
+
return instance
|
|
36
|
+
}
|
|
37
|
+
</script>
|
|
38
|
+
|
|
39
|
+
<div bind:this={container} class={className}></div>
|
package/src/exports.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export {
|
|
2
|
+
lineChartType, barChartType, stackedBarChartType, horizontalBarChartType,
|
|
3
|
+
pieChartType, donutChartType, scatterChartType, sparklineChartType,
|
|
4
|
+
areaChartType, radarChartType, bubbleChartType, candlestickChartType,
|
|
5
|
+
gaugeChartType, waterfallChartType, funnelChartType, heatmapChartType,
|
|
6
|
+
boxplotChartType, histogramChartType, treemapChartType, polarChartType,
|
|
7
|
+
radialBarChartType, lollipopChartType, bulletChartType, dumbbellChartType,
|
|
8
|
+
calendarChartType, comboChartType, sankeyChartType,
|
|
9
|
+
sunburstChartType, treeChartType, graphChartType, parallelChartType,
|
|
10
|
+
themeRiverChartType, pictorialBarChartType, chordChartType,
|
|
11
|
+
geoChartType, linesChartType, matrixChartType, customChartType,
|
|
12
|
+
ohlcChartType, stepChartType, volumeChartType, rangeChartType,
|
|
13
|
+
baselineChartType, kagiChartType, renkoChartType,
|
|
14
|
+
} from '@chartts/core'
|
|
15
|
+
export type { ChartData, ChartOptions, ChartInstance, ChartTypePlugin } from '@chartts/core'
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as Chart } from './Chart.svelte'
|
|
2
|
+
export { default as LineChart } from './LineChart.svelte'
|
|
3
|
+
export { default as BarChart } from './BarChart.svelte'
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
lineChartType, barChartType, stackedBarChartType, horizontalBarChartType,
|
|
7
|
+
pieChartType, donutChartType, scatterChartType, sparklineChartType,
|
|
8
|
+
areaChartType, radarChartType, bubbleChartType, candlestickChartType,
|
|
9
|
+
gaugeChartType, waterfallChartType, funnelChartType, heatmapChartType,
|
|
10
|
+
boxplotChartType, histogramChartType, treemapChartType, polarChartType,
|
|
11
|
+
radialBarChartType, lollipopChartType, bulletChartType, dumbbellChartType,
|
|
12
|
+
calendarChartType, comboChartType, sankeyChartType,
|
|
13
|
+
sunburstChartType, treeChartType, graphChartType, parallelChartType,
|
|
14
|
+
themeRiverChartType, pictorialBarChartType, chordChartType,
|
|
15
|
+
geoChartType, linesChartType, matrixChartType, customChartType,
|
|
16
|
+
ohlcChartType, stepChartType, volumeChartType, rangeChartType,
|
|
17
|
+
baselineChartType, kagiChartType, renkoChartType,
|
|
18
|
+
} from '@chartts/core'
|
|
19
|
+
export type { ChartData, ChartOptions, ChartInstance, ChartTypePlugin } from '@chartts/core'
|