@react-fabric/chart 1.0.0-beta.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/LICENSE +21 -0
- package/README.md +10 -0
- package/dist/cjs/charts/ActivityMap.js +183 -0
- package/dist/cjs/charts/CountSeries.js +156 -0
- package/dist/cjs/charts/DataSeries.js +185 -0
- package/dist/cjs/charts/Generic.js +90 -0
- package/dist/cjs/charts/MapSeries.js +215 -0
- package/dist/cjs/charts/TimeSeries.js +213 -0
- package/dist/cjs/charts/TimeSlider.js +194 -0
- package/dist/cjs/charts/WordBubble.js +80 -0
- package/dist/cjs/index.js +23 -0
- package/dist/cjs/theme/darkBase.js +418 -0
- package/dist/cjs/theme/index.js +98 -0
- package/dist/cjs/theme/lightBase.js +415 -0
- package/dist/cjs/theme/palettes.js +113 -0
- package/dist/cjs/types/charts.js +56 -0
- package/dist/cjs/types/utils.js +104 -0
- package/dist/cjs/types/world.svg.js +5 -0
- package/dist/cjs/wrapper/Chart.module.css +1 -0
- package/dist/cjs/wrapper/ChartContainer.js +171 -0
- package/dist/cjs/wrapper/ChartToolbar.js +38 -0
- package/dist/cjs/wrapper/ChartWrapper.js +57 -0
- package/dist/cjs/wrapper/PaletteSelect.js +146 -0
- package/dist/esm/charts/ActivityMap.js +183 -0
- package/dist/esm/charts/CountSeries.js +156 -0
- package/dist/esm/charts/DataSeries.js +185 -0
- package/dist/esm/charts/Generic.js +90 -0
- package/dist/esm/charts/MapSeries.js +196 -0
- package/dist/esm/charts/TimeSeries.js +213 -0
- package/dist/esm/charts/TimeSlider.js +194 -0
- package/dist/esm/charts/WordBubble.js +80 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/theme/darkBase.js +418 -0
- package/dist/esm/theme/index.js +97 -0
- package/dist/esm/theme/lightBase.js +415 -0
- package/dist/esm/theme/palettes.js +113 -0
- package/dist/esm/types/charts.js +35 -0
- package/dist/esm/types/utils.js +101 -0
- package/dist/esm/types/world.svg.js +5 -0
- package/dist/esm/wrapper/Chart.module.css +1 -0
- package/dist/esm/wrapper/ChartContainer.js +152 -0
- package/dist/esm/wrapper/ChartToolbar.js +38 -0
- package/dist/esm/wrapper/ChartWrapper.js +57 -0
- package/dist/esm/wrapper/PaletteSelect.js +146 -0
- package/dist/types/charts/ActivityMap.d.ts +21 -0
- package/dist/types/charts/CountSeries.d.ts +10 -0
- package/dist/types/charts/DataSeries.d.ts +13 -0
- package/dist/types/charts/Generic.d.ts +56 -0
- package/dist/types/charts/MapSeries.d.ts +9 -0
- package/dist/types/charts/TimeSeries.d.ts +17 -0
- package/dist/types/charts/TimeSlider.d.ts +16 -0
- package/dist/types/charts/WordBubble.d.ts +9 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/theme/darkBase.d.ts +391 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/lightBase.d.ts +388 -0
- package/dist/types/theme/palettes.d.ts +45 -0
- package/dist/types/types/charts.d.ts +3 -0
- package/dist/types/types/index.d.ts +36 -0
- package/dist/types/types/utils.d.ts +4 -0
- package/dist/types/types/world.svg.d.ts +2 -0
- package/dist/types/wrapper/ChartContainer.d.ts +20 -0
- package/dist/types/wrapper/ChartToolbar.d.ts +3 -0
- package/dist/types/wrapper/ChartWrapper.d.ts +5 -0
- package/dist/types/wrapper/PaletteSelect.d.ts +1 -0
- package/package.json +58 -0
- package/src/charts/ActivityMap.tsx +295 -0
- package/src/charts/CountSeries.tsx +186 -0
- package/src/charts/DataSeries.tsx +228 -0
- package/src/charts/Generic.tsx +190 -0
- package/src/charts/MapSeries.tsx +217 -0
- package/src/charts/TimeSeries.tsx +236 -0
- package/src/charts/TimeSlider.tsx +235 -0
- package/src/charts/WordBubble.tsx +105 -0
- package/src/index.ts +32 -0
- package/src/theme/darkBase.ts +400 -0
- package/src/theme/index.ts +122 -0
- package/src/theme/lightBase.ts +397 -0
- package/src/theme/palettes.ts +589 -0
- package/src/types/charts.ts +32 -0
- package/src/types/index.ts +61 -0
- package/src/types/utils.ts +151 -0
- package/src/types/world.svg.ts +467 -0
- package/src/wrapper/Chart.module.css +90 -0
- package/src/wrapper/ChartContainer.tsx +217 -0
- package/src/wrapper/ChartToolbar.tsx +40 -0
- package/src/wrapper/ChartWrapper.tsx +46 -0
- package/src/wrapper/PaletteSelect.tsx +139 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* React Fabric
|
|
3
|
+
* @version: 1.0.0
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* The MIT License (MIT)
|
|
7
|
+
* Copyright (c) 2024 Adarsh Pastakia
|
|
8
|
+
*
|
|
9
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
|
10
|
+
* and associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
11
|
+
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
12
|
+
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
13
|
+
* subject to the following conditions:
|
|
14
|
+
*
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
16
|
+
* portions of the Software.
|
|
17
|
+
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
* TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
20
|
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
import {
|
|
25
|
+
useDebounce,
|
|
26
|
+
useEffectDebugger,
|
|
27
|
+
useMemoDebugger,
|
|
28
|
+
} from "@react-fabric/core";
|
|
29
|
+
import { isEmpty } from "@react-fabric/utilities";
|
|
30
|
+
import { endOfDay, startOfDay } from "date-fns";
|
|
31
|
+
import { type EChartOption, type EChartsType } from "echarts";
|
|
32
|
+
import { memo, useCallback, useEffect, useRef, useState, type FC } from "react";
|
|
33
|
+
import { type BaseChart } from "../types";
|
|
34
|
+
import { ChartContainer } from "../wrapper/ChartContainer";
|
|
35
|
+
import { ChartWrapper } from "../wrapper/ChartWrapper";
|
|
36
|
+
|
|
37
|
+
export interface TimeSliderProps extends BaseChart {
|
|
38
|
+
data: Array<[Date, number]>;
|
|
39
|
+
range?: { start: Date; end: Date };
|
|
40
|
+
onBrush?: (range: { start: Date; end: Date }) => void;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const TimeSliderChart: FC<TimeSliderProps> = memo(
|
|
44
|
+
({ data, range: sliderRange, onBrush }: TimeSliderProps) => {
|
|
45
|
+
const chartRef = useRef<EChartsType>(null);
|
|
46
|
+
|
|
47
|
+
const [range, setRange] = useState({ startValue: 0, endValue: 0 });
|
|
48
|
+
|
|
49
|
+
const handleBrush = useDebounce(
|
|
50
|
+
(range: AnyObject) => onBrush?.(range),
|
|
51
|
+
[onBrush],
|
|
52
|
+
100,
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
const defaultStart = data.length > 0 ? data?.[0]?.[0]?.getTime() : 0;
|
|
57
|
+
const defaultEnd =
|
|
58
|
+
data.length > 0 ? data?.[data.length - 1]?.[0]?.getTime() : 32;
|
|
59
|
+
|
|
60
|
+
const getRangeValue = (v: number = 0, def = 0) =>
|
|
61
|
+
v >= defaultStart && v <= defaultEnd ? v : def;
|
|
62
|
+
setRange({
|
|
63
|
+
startValue: getRangeValue(sliderRange?.start.getTime(), defaultStart),
|
|
64
|
+
endValue: getRangeValue(sliderRange?.end.getTime(), defaultEnd),
|
|
65
|
+
});
|
|
66
|
+
}, [sliderRange, data]);
|
|
67
|
+
|
|
68
|
+
const enableBrush = useCallback(() => {
|
|
69
|
+
chartRef.current?.dispatchAction({
|
|
70
|
+
type: "restore",
|
|
71
|
+
});
|
|
72
|
+
chartRef.current?.dispatchAction({
|
|
73
|
+
type: "takeGlobalCursor",
|
|
74
|
+
key: "dataZoomSelect",
|
|
75
|
+
// Activate or inactivate.
|
|
76
|
+
dataZoomSelectActive: true,
|
|
77
|
+
});
|
|
78
|
+
}, []);
|
|
79
|
+
|
|
80
|
+
useEffectDebugger(
|
|
81
|
+
() => {
|
|
82
|
+
const chart = chartRef.current;
|
|
83
|
+
if (chart && !chart?.isDisposed()) {
|
|
84
|
+
enableBrush();
|
|
85
|
+
chart.on("datazoom", () => {
|
|
86
|
+
const zoom = chart.getOption().dataZoom?.[0];
|
|
87
|
+
if (zoom) {
|
|
88
|
+
const startValue = Math.floor(zoom.startValue as number);
|
|
89
|
+
const endValue = Math.ceil(
|
|
90
|
+
(zoom.endValue as number) + (24 * 60 * 60 * 1000 - 1),
|
|
91
|
+
);
|
|
92
|
+
handleBrush({
|
|
93
|
+
start: startOfDay(new Date(startValue)),
|
|
94
|
+
end: endOfDay(new Date(endValue)),
|
|
95
|
+
});
|
|
96
|
+
setRange({ startValue, endValue });
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
return () => {
|
|
100
|
+
!chart.isDisposed() && chart.off("datazoom");
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
[chartRef.current, handleBrush],
|
|
105
|
+
"TimeSldier onBrush",
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
const options = useMemoDebugger<EChartOption>(
|
|
109
|
+
() => {
|
|
110
|
+
if (isEmpty(data)) {
|
|
111
|
+
chartRef.current?.clear();
|
|
112
|
+
return {};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
const categoryAxis: AnyObject = {
|
|
116
|
+
type: "time",
|
|
117
|
+
nameGap: 0,
|
|
118
|
+
nameLocation: "center",
|
|
119
|
+
axisTick: {
|
|
120
|
+
show: false,
|
|
121
|
+
},
|
|
122
|
+
axisLabel: {
|
|
123
|
+
inside: true,
|
|
124
|
+
},
|
|
125
|
+
axisLine: {
|
|
126
|
+
show: false,
|
|
127
|
+
},
|
|
128
|
+
position: "bottom",
|
|
129
|
+
} as EChartOption.XAxis;
|
|
130
|
+
const valueAxis: AnyObject = {
|
|
131
|
+
type: "value",
|
|
132
|
+
nameGap: 24,
|
|
133
|
+
axisLabel: {
|
|
134
|
+
show: false,
|
|
135
|
+
},
|
|
136
|
+
axisLine: {
|
|
137
|
+
show: false,
|
|
138
|
+
},
|
|
139
|
+
axisTick: {
|
|
140
|
+
show: false,
|
|
141
|
+
},
|
|
142
|
+
splitLine: {
|
|
143
|
+
show: false,
|
|
144
|
+
},
|
|
145
|
+
nameLocation: "center",
|
|
146
|
+
} as EChartOption.YAxis;
|
|
147
|
+
|
|
148
|
+
const series = [
|
|
149
|
+
{
|
|
150
|
+
areaStyle: {},
|
|
151
|
+
symbol: "none",
|
|
152
|
+
type: "line",
|
|
153
|
+
smooth: true,
|
|
154
|
+
lineStyle: { width: 2 },
|
|
155
|
+
data,
|
|
156
|
+
} as AnyObject,
|
|
157
|
+
];
|
|
158
|
+
|
|
159
|
+
return {
|
|
160
|
+
grid: {
|
|
161
|
+
top: 4,
|
|
162
|
+
left: 0,
|
|
163
|
+
right: 0,
|
|
164
|
+
bottom: "50%",
|
|
165
|
+
},
|
|
166
|
+
xAxis: categoryAxis,
|
|
167
|
+
yAxis: valueAxis,
|
|
168
|
+
series,
|
|
169
|
+
toolbox: {
|
|
170
|
+
itemSize: 0,
|
|
171
|
+
feature: {
|
|
172
|
+
dataZoom: {
|
|
173
|
+
yAxisIndex: "none",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
legend: {
|
|
178
|
+
show: false,
|
|
179
|
+
},
|
|
180
|
+
dataZoom: [
|
|
181
|
+
{
|
|
182
|
+
type: "slider",
|
|
183
|
+
height: "45%",
|
|
184
|
+
bottom: 4,
|
|
185
|
+
left: 2,
|
|
186
|
+
right: 8,
|
|
187
|
+
...range,
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
tooltip: {
|
|
191
|
+
trigger: "axis",
|
|
192
|
+
confine: true,
|
|
193
|
+
position: "top",
|
|
194
|
+
} as AnyObject,
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
[data],
|
|
198
|
+
"TimeSlider options",
|
|
199
|
+
);
|
|
200
|
+
|
|
201
|
+
useEffect(() => {
|
|
202
|
+
setTimeout(() => {
|
|
203
|
+
chartRef.current?.setOption({
|
|
204
|
+
dataZoom: [
|
|
205
|
+
{
|
|
206
|
+
type: "slider",
|
|
207
|
+
height: "45%",
|
|
208
|
+
bottom: 4,
|
|
209
|
+
left: 2,
|
|
210
|
+
right: 8,
|
|
211
|
+
...range,
|
|
212
|
+
} as AnyObject,
|
|
213
|
+
],
|
|
214
|
+
});
|
|
215
|
+
}, 50);
|
|
216
|
+
}, [chartRef.current, range]);
|
|
217
|
+
|
|
218
|
+
return (
|
|
219
|
+
<ChartContainer
|
|
220
|
+
options={options}
|
|
221
|
+
chartRef={chartRef}
|
|
222
|
+
isEmpty={isEmpty(data)}
|
|
223
|
+
/>
|
|
224
|
+
);
|
|
225
|
+
},
|
|
226
|
+
);
|
|
227
|
+
TimeSliderChart.displayName = "TimeSliderChart";
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Chart to display time scale data with zoom and brush */
|
|
231
|
+
export const TimeSlider: FC<TimeSliderProps> = (props) => (
|
|
232
|
+
<ChartWrapper>
|
|
233
|
+
<TimeSliderChart {...props} />
|
|
234
|
+
</ChartWrapper>
|
|
235
|
+
);
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* React Fabric
|
|
3
|
+
* @version: 1.0.0
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* The MIT License (MIT)
|
|
7
|
+
* Copyright (c) 2024 Adarsh Pastakia
|
|
8
|
+
*
|
|
9
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
|
10
|
+
* and associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
11
|
+
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
12
|
+
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
13
|
+
* subject to the following conditions:
|
|
14
|
+
*
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
16
|
+
* portions of the Software.
|
|
17
|
+
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
* TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
20
|
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
import { CoreIcons, useIsDark, useMemoDebugger } from "@react-fabric/core";
|
|
25
|
+
import { compareValues, isEmpty } from "@react-fabric/utilities";
|
|
26
|
+
import { type EChartOption } from "echarts";
|
|
27
|
+
import { memo, type FC } from "react";
|
|
28
|
+
import { ChartPalette } from "../theme/palettes";
|
|
29
|
+
import { type BaseChart, type CountType } from "../types";
|
|
30
|
+
import { countRenderer } from "../types/utils";
|
|
31
|
+
import { ChartContainer } from "../wrapper/ChartContainer";
|
|
32
|
+
import { ChartWrapper } from "../wrapper/ChartWrapper";
|
|
33
|
+
|
|
34
|
+
export interface WordBubbleProps extends Omit<BaseChart, "theme">, CountType {
|
|
35
|
+
onClick?: (key: string) => void;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const WordBubbleChart: FC<WordBubbleProps> = memo(
|
|
39
|
+
({ data, title, onExport, onClick }: WordBubbleProps) => {
|
|
40
|
+
const isDark = useIsDark();
|
|
41
|
+
|
|
42
|
+
const options = useMemoDebugger<EChartOption>(
|
|
43
|
+
() => {
|
|
44
|
+
if (isEmpty(data)) return {};
|
|
45
|
+
|
|
46
|
+
const palette = isDark
|
|
47
|
+
? ChartPalette.CloudDark
|
|
48
|
+
: ChartPalette.CloudLight;
|
|
49
|
+
|
|
50
|
+
return {
|
|
51
|
+
legend: undefined,
|
|
52
|
+
series: [
|
|
53
|
+
{
|
|
54
|
+
name: title,
|
|
55
|
+
type: "wordCloud",
|
|
56
|
+
shape: "circle",
|
|
57
|
+
sizeRange: [12, 60],
|
|
58
|
+
gridSize: 32,
|
|
59
|
+
rotationRange: [-10, 10],
|
|
60
|
+
rotationStep: 1,
|
|
61
|
+
drawOutOfBound: false,
|
|
62
|
+
layoutAnimation: true,
|
|
63
|
+
textStyle: {
|
|
64
|
+
fontFamily: "sans-serif",
|
|
65
|
+
fontWeight: "bold",
|
|
66
|
+
color: ({ dataIndex }: KeyValue) =>
|
|
67
|
+
palette[dataIndex % palette.length],
|
|
68
|
+
},
|
|
69
|
+
data: data
|
|
70
|
+
.sort(compareValues("desc", "count"))
|
|
71
|
+
.map(({ id: key, label, count }, index) => ({
|
|
72
|
+
name: label ?? key,
|
|
73
|
+
value: count,
|
|
74
|
+
})),
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
};
|
|
78
|
+
},
|
|
79
|
+
[data, title, isDark],
|
|
80
|
+
"WordChart options",
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
return (
|
|
84
|
+
<ChartContainer
|
|
85
|
+
title={title}
|
|
86
|
+
onExport={onExport}
|
|
87
|
+
options={options}
|
|
88
|
+
isEmpty={isEmpty(data)}
|
|
89
|
+
emptyIcon={CoreIcons.chartActivityScatter}
|
|
90
|
+
dataTableRenderer={countRenderer}
|
|
91
|
+
onClick={(e) => onClick?.(e?.name ?? "")}
|
|
92
|
+
/>
|
|
93
|
+
);
|
|
94
|
+
},
|
|
95
|
+
);
|
|
96
|
+
WordBubbleChart.displayName = "WordBubbleChart";
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Chart to display simple word cloud
|
|
100
|
+
*/
|
|
101
|
+
export const WordBubble: FC<WordBubbleProps> = (props) => (
|
|
102
|
+
<ChartWrapper>
|
|
103
|
+
<WordBubbleChart {...props} />
|
|
104
|
+
</ChartWrapper>
|
|
105
|
+
);
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* React Fabric
|
|
3
|
+
* @version: 1.0.0
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* The MIT License (MIT)
|
|
7
|
+
* Copyright (c) 2024 Adarsh Pastakia
|
|
8
|
+
*
|
|
9
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
|
10
|
+
* and associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
11
|
+
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
12
|
+
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
13
|
+
* subject to the following conditions:
|
|
14
|
+
*
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
16
|
+
* portions of the Software.
|
|
17
|
+
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
* TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
20
|
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
export { ActivityMap } from "./charts/ActivityMap";
|
|
25
|
+
export { CountSeries } from "./charts/CountSeries";
|
|
26
|
+
export { DataSeries } from "./charts/DataSeries";
|
|
27
|
+
export { GenericChart } from "./charts/Generic";
|
|
28
|
+
export { MapSeries } from "./charts/MapSeries";
|
|
29
|
+
export { TimeSeries } from "./charts/TimeSeries";
|
|
30
|
+
export { TimeSlider } from "./charts/TimeSlider";
|
|
31
|
+
export { WordBubble } from "./charts/WordBubble";
|
|
32
|
+
export { registerTheme } from "./types/charts";
|