@wavemaker/react-native-echarts 1.0.0-dev.4 → 1.0.0-dev.8
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/README.md +211 -39
- package/area/area-chart.d.ts +1 -1
- package/area/area-chart.d.ts.map +1 -1
- package/area/area-chart.js +48 -23
- package/area/area-chart.props.d.ts +4 -0
- package/area/area-chart.props.d.ts.map +1 -1
- package/area/index.d.ts +1 -1
- package/area/index.d.ts.map +1 -1
- package/bubble/bubble-chart.d.ts.map +1 -1
- package/bubble/bubble-chart.js +50 -31
- package/cartesian/tooltip/axis-tooltip-presets.d.ts +5 -0
- package/cartesian/tooltip/axis-tooltip-presets.d.ts.map +1 -0
- package/cartesian/tooltip/axis-tooltip-presets.js +46 -0
- package/cartesian/tooltip/axis-tooltip.types.d.ts +38 -0
- package/cartesian/tooltip/axis-tooltip.types.d.ts.map +1 -0
- package/cartesian/tooltip/axis-tooltip.types.js +4 -0
- package/cartesian/tooltip/axis-tooltip.utils.d.ts +10 -0
- package/cartesian/tooltip/axis-tooltip.utils.d.ts.map +1 -0
- package/cartesian/tooltip/axis-tooltip.utils.js +121 -0
- package/cartesian/tooltip/default-axis-tooltip.d.ts +9 -0
- package/cartesian/tooltip/default-axis-tooltip.d.ts.map +1 -0
- package/cartesian/tooltip/default-axis-tooltip.js +53 -0
- package/cartesian/tooltip/index.d.ts +7 -0
- package/cartesian/tooltip/index.d.ts.map +1 -0
- package/cartesian/tooltip/index.js +4 -0
- package/cartesian/tooltip/use-axis-tooltip.d.ts +38 -0
- package/cartesian/tooltip/use-axis-tooltip.d.ts.map +1 -0
- package/cartesian/tooltip/use-axis-tooltip.js +54 -0
- package/column/column-chart.d.ts.map +1 -1
- package/column/column-chart.js +73 -20
- package/geo/geo-chart.d.ts.map +1 -1
- package/geo/geo-chart.js +56 -24
- package/geo/geo-chart.props.d.ts +11 -5
- package/geo/geo-chart.props.d.ts.map +1 -1
- package/geo/index.d.ts +1 -0
- package/geo/index.d.ts.map +1 -1
- package/geo/index.js +1 -0
- package/geo/tooltip/default-geo-tooltip.d.ts +6 -0
- package/geo/tooltip/default-geo-tooltip.d.ts.map +1 -0
- package/geo/tooltip/default-geo-tooltip.js +47 -0
- package/geo/tooltip/geo-item-tooltip-presets.d.ts +5 -0
- package/geo/tooltip/geo-item-tooltip-presets.d.ts.map +1 -0
- package/geo/tooltip/geo-item-tooltip-presets.js +35 -0
- package/geo/tooltip/geo-item-tooltip.types.d.ts +19 -0
- package/geo/tooltip/geo-item-tooltip.types.d.ts.map +1 -0
- package/geo/tooltip/geo-item-tooltip.types.js +3 -0
- package/geo/tooltip/geo-item-tooltip.utils.d.ts +14 -0
- package/geo/tooltip/geo-item-tooltip.utils.d.ts.map +1 -0
- package/geo/tooltip/geo-item-tooltip.utils.js +220 -0
- package/geo/tooltip/index.d.ts +7 -0
- package/geo/tooltip/index.d.ts.map +1 -0
- package/geo/tooltip/index.js +4 -0
- package/geo/tooltip/use-geo-item-tooltip.d.ts +26 -0
- package/geo/tooltip/use-geo-item-tooltip.d.ts.map +1 -0
- package/geo/tooltip/use-geo-item-tooltip.js +59 -0
- package/geo/us-chart.js +1 -1
- package/geo/us-states.json +54 -0
- package/geo/world.json +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +2 -0
- package/line/index.d.ts +1 -1
- package/line/index.d.ts.map +1 -1
- package/line/line-chart.d.ts +1 -1
- package/line/line-chart.d.ts.map +1 -1
- package/line/line-chart.props.d.ts +5 -0
- package/line/line-chart.props.d.ts.map +1 -1
- package/package.json +7 -4
- package/pie/index.d.ts +1 -0
- package/pie/index.d.ts.map +1 -1
- package/pie/index.js +1 -0
- package/pie/pie-chart.d.ts.map +1 -1
- package/pie/pie-chart.js +59 -36
- package/pie/pie-chart.props.d.ts +12 -6
- package/pie/pie-chart.props.d.ts.map +1 -1
- package/pie/tooltip/default-pie-tooltip.d.ts +5 -0
- package/pie/tooltip/default-pie-tooltip.d.ts.map +1 -0
- package/pie/tooltip/default-pie-tooltip.js +57 -0
- package/pie/tooltip/index.d.ts +7 -0
- package/pie/tooltip/index.d.ts.map +1 -0
- package/pie/tooltip/index.js +4 -0
- package/pie/tooltip/pie-item-tooltip-presets.d.ts +5 -0
- package/pie/tooltip/pie-item-tooltip-presets.d.ts.map +1 -0
- package/pie/tooltip/pie-item-tooltip-presets.js +39 -0
- package/pie/tooltip/pie-item-tooltip.types.d.ts +28 -0
- package/pie/tooltip/pie-item-tooltip.types.d.ts.map +1 -0
- package/pie/tooltip/pie-item-tooltip.types.js +3 -0
- package/pie/tooltip/pie-item-tooltip.utils.d.ts +9 -0
- package/pie/tooltip/pie-item-tooltip.utils.d.ts.map +1 -0
- package/pie/tooltip/pie-item-tooltip.utils.js +139 -0
- package/pie/tooltip/use-pie-item-tooltip.d.ts +24 -0
- package/pie/tooltip/use-pie-item-tooltip.d.ts.map +1 -0
- package/pie/tooltip/use-pie-item-tooltip.js +45 -0
- package/props/cartesian.d.ts +18 -2
- package/props/cartesian.d.ts.map +1 -1
- package/radar/index.d.ts +1 -0
- package/radar/index.d.ts.map +1 -1
- package/radar/index.js +1 -0
- package/radar/radar-chart.d.ts.map +1 -1
- package/radar/radar-chart.js +52 -10
- package/radar/radar-chart.props.d.ts +13 -0
- package/radar/radar-chart.props.d.ts.map +1 -1
- package/radar/tooltip/default-radar-tooltip.d.ts +6 -0
- package/radar/tooltip/default-radar-tooltip.d.ts.map +1 -0
- package/radar/tooltip/default-radar-tooltip.js +47 -0
- package/radar/tooltip/index.d.ts +7 -0
- package/radar/tooltip/index.d.ts.map +1 -0
- package/radar/tooltip/index.js +4 -0
- package/radar/tooltip/radar-item-tooltip-presets.d.ts +5 -0
- package/radar/tooltip/radar-item-tooltip-presets.d.ts.map +1 -0
- package/radar/tooltip/radar-item-tooltip-presets.js +50 -0
- package/radar/tooltip/radar-item-tooltip.types.d.ts +28 -0
- package/radar/tooltip/radar-item-tooltip.types.d.ts.map +1 -0
- package/radar/tooltip/radar-item-tooltip.types.js +3 -0
- package/radar/tooltip/radar-item-tooltip.utils.d.ts +9 -0
- package/radar/tooltip/radar-item-tooltip.utils.d.ts.map +1 -0
- package/radar/tooltip/radar-item-tooltip.utils.js +77 -0
- package/radar/tooltip/use-radar-item-tooltip.d.ts +22 -0
- package/radar/tooltip/use-radar-item-tooltip.d.ts.map +1 -0
- package/radar/tooltip/use-radar-item-tooltip.js +43 -0
- package/radial/index.d.ts +1 -0
- package/radial/index.d.ts.map +1 -1
- package/radial/index.js +1 -0
- package/radial/radial-chart.d.ts.map +1 -1
- package/radial/radial-chart.js +42 -10
- package/radial/radial-chart.props.d.ts +14 -1
- package/radial/radial-chart.props.d.ts.map +1 -1
- package/radial/tooltip/default-radial-tooltip.d.ts +6 -0
- package/radial/tooltip/default-radial-tooltip.d.ts.map +1 -0
- package/radial/tooltip/default-radial-tooltip.js +52 -0
- package/radial/tooltip/index.d.ts +7 -0
- package/radial/tooltip/index.d.ts.map +1 -0
- package/radial/tooltip/index.js +4 -0
- package/radial/tooltip/radial-item-tooltip-presets.d.ts +5 -0
- package/radial/tooltip/radial-item-tooltip-presets.d.ts.map +1 -0
- package/radial/tooltip/radial-item-tooltip-presets.js +43 -0
- package/radial/tooltip/radial-item-tooltip.types.d.ts +23 -0
- package/radial/tooltip/radial-item-tooltip.types.d.ts.map +1 -0
- package/radial/tooltip/radial-item-tooltip.types.js +3 -0
- package/radial/tooltip/radial-item-tooltip.utils.d.ts +9 -0
- package/radial/tooltip/radial-item-tooltip.utils.d.ts.map +1 -0
- package/radial/tooltip/radial-item-tooltip.utils.js +122 -0
- package/radial/tooltip/use-radial-item-tooltip.d.ts +22 -0
- package/radial/tooltip/use-radial-item-tooltip.d.ts.map +1 -0
- package/radial/tooltip/use-radial-item-tooltip.js +43 -0
- package/scatter/index.d.ts +1 -0
- package/scatter/index.d.ts.map +1 -1
- package/scatter/index.js +1 -0
- package/scatter/scatter-chart.d.ts.map +1 -1
- package/scatter/scatter-chart.js +46 -12
- package/scatter/scatter-chart.props.d.ts +7 -1
- package/scatter/scatter-chart.props.d.ts.map +1 -1
- package/scatter/tooltip/default-scatter-tooltip.d.ts +8 -0
- package/scatter/tooltip/default-scatter-tooltip.d.ts.map +1 -0
- package/scatter/tooltip/default-scatter-tooltip.js +57 -0
- package/scatter/tooltip/index.d.ts +7 -0
- package/scatter/tooltip/index.d.ts.map +1 -0
- package/scatter/tooltip/index.js +4 -0
- package/scatter/tooltip/scatter-item-tooltip-presets.d.ts +5 -0
- package/scatter/tooltip/scatter-item-tooltip-presets.d.ts.map +1 -0
- package/scatter/tooltip/scatter-item-tooltip-presets.js +49 -0
- package/scatter/tooltip/scatter-item-tooltip.types.d.ts +22 -0
- package/scatter/tooltip/scatter-item-tooltip.types.d.ts.map +1 -0
- package/scatter/tooltip/scatter-item-tooltip.types.js +3 -0
- package/scatter/tooltip/scatter-item-tooltip.utils.d.ts +9 -0
- package/scatter/tooltip/scatter-item-tooltip.utils.d.ts.map +1 -0
- package/scatter/tooltip/scatter-item-tooltip.utils.js +83 -0
- package/scatter/tooltip/use-scatter-item-tooltip.d.ts +25 -0
- package/scatter/tooltip/use-scatter-item-tooltip.d.ts.map +1 -0
- package/scatter/tooltip/use-scatter-item-tooltip.js +46 -0
- package/tooltip/chart-pointer-tooltip-overlay.d.ts +11 -0
- package/tooltip/chart-pointer-tooltip-overlay.d.ts.map +1 -0
- package/tooltip/chart-pointer-tooltip-overlay.js +88 -0
- package/tooltip/chart-tooltip-preset-shells.d.ts +66 -0
- package/tooltip/chart-tooltip-preset-shells.d.ts.map +1 -0
- package/tooltip/chart-tooltip-preset-shells.js +409 -0
- package/tooltip/index.d.ts +7 -0
- package/tooltip/index.d.ts.map +1 -0
- package/tooltip/index.js +1 -0
package/README.md
CHANGED
|
@@ -25,6 +25,13 @@ npm install @shopify/react-native-skia @wuba/react-native-echarts echarts zrende
|
|
|
25
25
|
|
|
26
26
|
`react` and `react-native` are also peers; they should already be present in your app.
|
|
27
27
|
|
|
28
|
+
**Note**:
|
|
29
|
+
There is an issue with echarts library. Due to which compilation fails with an error. Here is the link to the issue.
|
|
30
|
+
https://github.com/apache/echarts/pull/20485
|
|
31
|
+
|
|
32
|
+
Till the issue is fixed, follow the workaround mentioned in the below link.
|
|
33
|
+
https://github.com/wuba/react-native-echarts/issues/239#issuecomment-2899678660
|
|
34
|
+
|
|
28
35
|
## Chart gallery
|
|
29
36
|
|
|
30
37
|
Preview thumbnails for the chart examples in `assets/images/charts`. Each image uses the same width and height (200×200) so the layout stays even; `object-fit: contain` keeps aspect ratios readable.
|
|
@@ -34,9 +41,23 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
34
41
|
<table>
|
|
35
42
|
<tbody>
|
|
36
43
|
<tr>
|
|
37
|
-
<td align="center"
|
|
38
|
-
|
|
39
|
-
|
|
44
|
+
<td align="center">
|
|
45
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-area--axes-area" target="_blank">
|
|
46
|
+
<img src="assets/images/charts/area/default.png" width="200" height="200" alt="Default" style="object-fit: contain;" />
|
|
47
|
+
<br />
|
|
48
|
+
<sub>Default</sub>
|
|
49
|
+
</a>
|
|
50
|
+
</td>
|
|
51
|
+
<td align="center">
|
|
52
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-area--area-without-axes" target="_blank">
|
|
53
|
+
<img src="assets/images/charts/area/without-axes.png" width="200" height="200" alt="Witout axes" style="object-fit: contain;" /><br /><sub>Witout axes</sub>
|
|
54
|
+
</a>
|
|
55
|
+
</td>
|
|
56
|
+
<td align="center">
|
|
57
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-area--gradient-area" target="_blank">
|
|
58
|
+
<img src="assets/images/charts/area/with-gradient-bg.png" width="200" height="200" alt="With Gradient Bg" style="object-fit: contain;" /><br /><sub>With Gradient Bg</sub>
|
|
59
|
+
</a>
|
|
60
|
+
</td>
|
|
40
61
|
</tr>
|
|
41
62
|
</tbody>
|
|
42
63
|
</table>
|
|
@@ -46,9 +67,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
46
67
|
<table>
|
|
47
68
|
<tbody>
|
|
48
69
|
<tr>
|
|
49
|
-
<td align="center"
|
|
50
|
-
|
|
51
|
-
|
|
70
|
+
<td align="center">
|
|
71
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-bar--horizontal-bar" target="_blank">
|
|
72
|
+
<img src="assets/images/charts/bar/horizontal-bar.png" width="200" height="200" alt="Horizontal bar chart" style="object-fit: contain;" /><br /><sub>horizontal-bar</sub>
|
|
73
|
+
</a>
|
|
74
|
+
</td>
|
|
75
|
+
<td align="center">
|
|
76
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-bar--custom-label-bar">
|
|
77
|
+
<img src="assets/images/charts/bar/labeled-bar.png" width="200" height="200" alt="Labeled bar chart" style="object-fit: contain;" /><br /><sub>labeled-bar</sub>
|
|
78
|
+
</a>
|
|
79
|
+
</td>
|
|
80
|
+
<td align="center">
|
|
81
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-bar--mixed-bar" target="_blank">
|
|
82
|
+
<img src="assets/images/charts/bar/mixed-bar.png" width="200" height="200" alt="Mixed bar chart" style="object-fit: contain;" /><br /><sub>mixed-bar</sub>
|
|
83
|
+
</a>
|
|
84
|
+
</td>
|
|
52
85
|
</tr>
|
|
53
86
|
</tbody>
|
|
54
87
|
</table>
|
|
@@ -58,9 +91,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
58
91
|
<table>
|
|
59
92
|
<tbody>
|
|
60
93
|
<tr>
|
|
61
|
-
<td align="center"
|
|
62
|
-
|
|
63
|
-
|
|
94
|
+
<td align="center">
|
|
95
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-bubble--default" target="_blank">
|
|
96
|
+
<img src="assets/images/charts/bubble/default.png" width="200" height="200" alt="Bubble chart default" style="object-fit: contain;" /><br /><sub>default</sub>
|
|
97
|
+
</a>
|
|
98
|
+
</td>
|
|
99
|
+
<td align="center">
|
|
100
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-bubble--show-legend">
|
|
101
|
+
<img src="assets/images/charts/bubble/multi-bubble.png" width="200" height="200" alt="Multi bubble chart" style="object-fit: contain;" /><br /><sub>multi-bubble</sub>
|
|
102
|
+
</a>
|
|
103
|
+
</td>
|
|
104
|
+
<td align="center">
|
|
105
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-bubble-symbol--pin" target="_blank">
|
|
106
|
+
<img src="assets/images/charts/bubble/pin-bublbe.png" width="200" height="200" alt="Bubble chart with pin" style="object-fit: contain;" /><br /><sub>pin-bublbe</sub>
|
|
107
|
+
</a>
|
|
108
|
+
</td>
|
|
64
109
|
</tr>
|
|
65
110
|
</tbody>
|
|
66
111
|
</table>
|
|
@@ -70,9 +115,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
70
115
|
<table>
|
|
71
116
|
<tbody>
|
|
72
117
|
<tr>
|
|
73
|
-
<td align="center"
|
|
74
|
-
|
|
75
|
-
|
|
118
|
+
<td align="center">
|
|
119
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-candlestick--default" target="_blank">
|
|
120
|
+
<img src="assets/images/charts/candle-stick/default.png" width="200" height="200" alt="Candlestick default" style="object-fit: contain;" /><br /><sub>default</sub>
|
|
121
|
+
</a>
|
|
122
|
+
</td>
|
|
123
|
+
<td align="center">
|
|
124
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-candlestick--with-moving-average" target="_blank">
|
|
125
|
+
<img src="assets/images/charts/candle-stick/with-ma.png" width="200" height="200" alt="Candlestick with moving average" style="object-fit: contain;" /><br /><sub>with-ma</sub>
|
|
126
|
+
</a>
|
|
127
|
+
</td>
|
|
128
|
+
<td align="center">
|
|
129
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-candlestick--with-volume">
|
|
130
|
+
<img src="assets/images/charts/candle-stick/with-volume.png" width="200" height="200" alt="Candlestick with volume" style="object-fit: contain;" /><br /><sub>with-volume</sub>
|
|
131
|
+
</a>
|
|
132
|
+
</td>
|
|
76
133
|
</tr>
|
|
77
134
|
</tbody>
|
|
78
135
|
</table>
|
|
@@ -82,9 +139,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
82
139
|
<table>
|
|
83
140
|
<tbody>
|
|
84
141
|
<tr>
|
|
85
|
-
<td align="center"
|
|
86
|
-
|
|
87
|
-
|
|
142
|
+
<td align="center">
|
|
143
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-column--active-column">
|
|
144
|
+
<img src="assets/images/charts/column/active-column.png" width="200" height="200" alt="Active column chart" style="object-fit: contain;" /><br /><sub>active-column</sub>
|
|
145
|
+
</a>
|
|
146
|
+
</td>
|
|
147
|
+
<td align="center">
|
|
148
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-column--multiple-series">
|
|
149
|
+
<img src="assets/images/charts/column/multi-series.png" width="200" height="200" alt="Multi-series column chart" style="object-fit: contain;" /><br /><sub>multi-series</sub>
|
|
150
|
+
</a>
|
|
151
|
+
</td>
|
|
152
|
+
<td align="center">
|
|
153
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-column--standard-column">
|
|
154
|
+
<img src="assets/images/charts/column/standard.png" width="200" height="200" alt="Standard column chart" style="object-fit: contain;" /><br /><sub>standard</sub>
|
|
155
|
+
</a>
|
|
156
|
+
</td>
|
|
88
157
|
</tr>
|
|
89
158
|
</tbody>
|
|
90
159
|
</table>
|
|
@@ -94,9 +163,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
94
163
|
<table>
|
|
95
164
|
<tbody>
|
|
96
165
|
<tr>
|
|
97
|
-
<td align="center"
|
|
98
|
-
|
|
99
|
-
|
|
166
|
+
<td align="center">
|
|
167
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-geo-colors--custom-colors" target="_blank">
|
|
168
|
+
<img src="assets/images/charts/geo/colors.png" width="200" height="200" alt="Geo chart colors" style="object-fit: contain;" /><br /><sub>colors</sub>
|
|
169
|
+
</a>
|
|
170
|
+
</td>
|
|
171
|
+
<td align="center">
|
|
172
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-geo--default" target="_blank">
|
|
173
|
+
<img src="assets/images/charts/geo/default.png" width="200" height="200" alt="Geo chart default" style="object-fit: contain;" /><br /><sub>default</sub>
|
|
174
|
+
</a>
|
|
175
|
+
</td>
|
|
176
|
+
<td align="center">
|
|
177
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-geo-map--presidential-results" target="_blank">
|
|
178
|
+
<img src="assets/images/charts/geo/us-map.png" width="200" height="200" alt="US map geo chart" style="object-fit: contain;" /><br /><sub>us-map</sub>
|
|
179
|
+
</a>
|
|
180
|
+
</td>
|
|
100
181
|
</tr>
|
|
101
182
|
</tbody>
|
|
102
183
|
</table>
|
|
@@ -106,9 +187,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
106
187
|
<table>
|
|
107
188
|
<tbody>
|
|
108
189
|
<tr>
|
|
109
|
-
<td align="center"
|
|
110
|
-
|
|
111
|
-
|
|
190
|
+
<td align="center">
|
|
191
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-gauge-digital--default" target="_blank">
|
|
192
|
+
<img src="assets/images/charts/guage/digital.png" width="200" height="200" alt="Digital gauge" style="object-fit: contain;" /><br /><sub>digital</sub>
|
|
193
|
+
</a>
|
|
194
|
+
</td>
|
|
195
|
+
<td align="center">
|
|
196
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-gauge-radial--custom-scale" target="_blank">
|
|
197
|
+
<img src="assets/images/charts/guage/radial.png" width="200" height="200" alt="Radial gauge" style="object-fit: contain;" /><br /><sub>radial</sub>
|
|
198
|
+
</a>
|
|
199
|
+
</td>
|
|
200
|
+
<td align="center">
|
|
201
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-gauge-simple--default" target="_blank">
|
|
202
|
+
<img src="assets/images/charts/guage/simple.png" width="200" height="200" alt="Simple gauge" style="object-fit: contain;" /><br /><sub>simple</sub>
|
|
203
|
+
</a>
|
|
204
|
+
</td>
|
|
112
205
|
</tr>
|
|
113
206
|
</tbody>
|
|
114
207
|
</table>
|
|
@@ -118,9 +211,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
118
211
|
<table>
|
|
119
212
|
<tbody>
|
|
120
213
|
<tr>
|
|
121
|
-
<td align="center"
|
|
122
|
-
|
|
123
|
-
|
|
214
|
+
<td align="center">
|
|
215
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-line--multiple-series" target="_blank">
|
|
216
|
+
<img src="assets/images/charts/line/multi-line.png" width="200" height="200" alt="Multi-line chart" style="object-fit: contain;" /><br /><sub>multi-line</sub>
|
|
217
|
+
</a>
|
|
218
|
+
</td>
|
|
219
|
+
<td align="center">
|
|
220
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-line--axes-line" target="_blank">
|
|
221
|
+
<img src="assets/images/charts/line/standard-line.png" width="200" height="200" alt="Standard line chart" style="object-fit: contain;" /><br /><sub>standard-line</sub>
|
|
222
|
+
</a>
|
|
223
|
+
</td>
|
|
224
|
+
<td align="center">
|
|
225
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/examples-line--default-line" target="_blank">
|
|
226
|
+
<img src="assets/images/charts/line/trend-line.png" width="200" height="200" alt="Trend line chart" style="object-fit: contain;" /><br /><sub>trend-line</sub>
|
|
227
|
+
</a>
|
|
228
|
+
</td>
|
|
124
229
|
</tr>
|
|
125
230
|
</tbody>
|
|
126
231
|
</table>
|
|
@@ -130,9 +235,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
130
235
|
<table>
|
|
131
236
|
<tbody>
|
|
132
237
|
<tr>
|
|
133
|
-
<td align="center"
|
|
134
|
-
|
|
135
|
-
|
|
238
|
+
<td align="center">
|
|
239
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-pie-concentric--two-rings" target="_blank">
|
|
240
|
+
<img src="assets/images/charts/pie/concentric.png" width="200" height="200" alt="Concentric pie chart" style="object-fit: contain;" /><br /><sub>concentric</sub>
|
|
241
|
+
</a>
|
|
242
|
+
</td>
|
|
243
|
+
<td align="center">
|
|
244
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-pie-donut--donut" target="_blank">
|
|
245
|
+
<img src="assets/images/charts/pie/donut.png" width="200" height="200" alt="Donut chart" style="object-fit: contain;" /><br /><sub>donut</sub>
|
|
246
|
+
</a>
|
|
247
|
+
</td>
|
|
248
|
+
<td align="center">
|
|
249
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-pie--default" target="_blank">
|
|
250
|
+
<img src="assets/images/charts/pie/pie.png" width="200" height="200" alt="Pie chart" style="object-fit: contain;" /><br /><sub>pie</sub>
|
|
251
|
+
</a>
|
|
252
|
+
</td>
|
|
136
253
|
</tr>
|
|
137
254
|
</tbody>
|
|
138
255
|
</table>
|
|
@@ -142,9 +259,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
142
259
|
<table>
|
|
143
260
|
<tbody>
|
|
144
261
|
<tr>
|
|
145
|
-
<td align="center"
|
|
146
|
-
|
|
147
|
-
|
|
262
|
+
<td align="center">
|
|
263
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-radar--default" target="_blank">
|
|
264
|
+
<img src="assets/images/charts/radar/default.png" width="200" height="200" alt="Radar chart default" style="object-fit: contain;" /><br /><sub>default</sub>
|
|
265
|
+
</a>
|
|
266
|
+
</td>
|
|
267
|
+
<td align="center">
|
|
268
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-radar-multiple--default" target="_blank">
|
|
269
|
+
<img src="assets/images/charts/radar/multiple.png" width="200" height="200" alt="Multiple radar chart" style="object-fit: contain;" /><br /><sub>multiple</sub>
|
|
270
|
+
</a>
|
|
271
|
+
</td>
|
|
272
|
+
<td align="center">
|
|
273
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-radar-symbol--circle" target="_blank">
|
|
274
|
+
<img src="assets/images/charts/radar/with-symbol.png" width="200" height="200" alt="Radar chart with symbol" style="object-fit: contain;" /><br /><sub>with-symbol</sub>
|
|
275
|
+
</a>
|
|
276
|
+
</td>
|
|
148
277
|
</tr>
|
|
149
278
|
</tbody>
|
|
150
279
|
</table>
|
|
@@ -154,9 +283,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
154
283
|
<table>
|
|
155
284
|
<tbody>
|
|
156
285
|
<tr>
|
|
157
|
-
<td align="center"
|
|
158
|
-
|
|
159
|
-
|
|
286
|
+
<td align="center">
|
|
287
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-radial-colors--custom-colors" target="_blank">
|
|
288
|
+
<img src="assets/images/charts/radial/custom-colors.png" width="200" height="200" alt="Radial chart custom colors" style="object-fit: contain;" /><br /><sub>custom-colors</sub>
|
|
289
|
+
</a>
|
|
290
|
+
</td>
|
|
291
|
+
<td align="center">
|
|
292
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-radial--default" target="_blank">
|
|
293
|
+
<img src="assets/images/charts/radial/default.png" width="200" height="200" alt="Radial chart default" style="object-fit: contain;" /><br /><sub>default</sub>
|
|
294
|
+
</a>
|
|
295
|
+
</td>
|
|
296
|
+
<td align="center">
|
|
297
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-radial-colors--background" target="_blank">
|
|
298
|
+
<img src="assets/images/charts/radial/with-bg.png" width="200" height="200" alt="Radial chart with background" style="object-fit: contain;" /><br /><sub>with-bg</sub>
|
|
299
|
+
</a>
|
|
300
|
+
</td>
|
|
160
301
|
</tr>
|
|
161
302
|
</tbody>
|
|
162
303
|
</table>
|
|
@@ -166,9 +307,21 @@ Preview thumbnails for the chart examples in `assets/images/charts`. Each image
|
|
|
166
307
|
<table>
|
|
167
308
|
<tbody>
|
|
168
309
|
<tr>
|
|
169
|
-
<td align="center"
|
|
170
|
-
|
|
171
|
-
|
|
310
|
+
<td align="center">
|
|
311
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-scatter--default" target="_blank">
|
|
312
|
+
<img src="assets/images/charts/scatter/default.png" width="200" height="200" alt="Scatter chart default" style="object-fit: contain;" /><br /><sub>default</sub>
|
|
313
|
+
</a>
|
|
314
|
+
</td>
|
|
315
|
+
<td align="center">
|
|
316
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-scatter-colors--multiple-series-colors" target="_blank">
|
|
317
|
+
<img src="assets/images/charts/scatter/multi.png" width="200" height="200" alt="Multi scatter chart" style="object-fit: contain;" /><br /><sub>multi</sub>
|
|
318
|
+
</a>
|
|
319
|
+
</td>
|
|
320
|
+
<td align="center">
|
|
321
|
+
<a href="https://wavemaker.github.io/wm-react-native-echarts/?path=/story/charts-scatter-symbol--triangle" target="_blank">
|
|
322
|
+
<img src="assets/images/charts/scatter/with-symbol.png" width="200" height="200" alt="Scatter chart with symbol" style="object-fit: contain;" /><br /><sub>with-symbol</sub>
|
|
323
|
+
</a>
|
|
324
|
+
</td>
|
|
172
325
|
</tr>
|
|
173
326
|
</tbody>
|
|
174
327
|
</table>
|
|
@@ -189,14 +342,33 @@ cd dist/npm-packages/charts && npm publish
|
|
|
189
342
|
|
|
190
343
|
## Development
|
|
191
344
|
|
|
192
|
-
|
|
345
|
+
Work from the **repository root** (the directory that contains `package.json`, `components/`, and `stories/`).
|
|
346
|
+
|
|
347
|
+
### Browser (Storybook)
|
|
348
|
+
|
|
349
|
+
Storybook runs the chart stories in the browser with Vite. After install, it serves at **http://localhost:6006**.
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
npm install
|
|
353
|
+
npm run storybook
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
### Mobile (Expo sample app)
|
|
357
|
+
|
|
358
|
+
The **`expo-app/`** project is a small Expo Router app that consumes the library via **[yalc](https://github.com/wclr/yalc)**. Install **`yalc` globally** first so those commands are on your `PATH`.
|
|
193
359
|
|
|
194
360
|
```bash
|
|
361
|
+
npm install -g yalc
|
|
362
|
+
cd /path/to/repo # repository root directory
|
|
363
|
+
npm install
|
|
364
|
+
npm run generate:package
|
|
365
|
+
cd expo-app
|
|
195
366
|
npm install
|
|
196
|
-
npx expo start
|
|
197
|
-
npm run storybook # to checout the component stories
|
|
367
|
+
npx expo start
|
|
198
368
|
```
|
|
199
369
|
|
|
370
|
+
Whenever you change library source under `components/` or related entry points, run **`npm run generate:package`** again from the repo root so the yalc-linked package is rebuilt and republished. When changes are not reflecting in the app even after reload, use **`npx expo start -c`**.
|
|
371
|
+
|
|
200
372
|
---
|
|
201
373
|
|
|
202
374
|
## Maintainers
|
package/area/area-chart.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AreaChartProps } from './area-chart.props';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export type { AreaChartProps, AreaChartSelectEvent, SeriesData, } from './area-chart.props';
|
|
3
|
+
export type { AreaChartProps, AreaChartSelectEvent, AreaChartAxisTooltipParams, AreaChartTooltipSeriesItem, SeriesData, } from './area-chart.props';
|
|
4
4
|
export declare const AreaChart: ((props: AreaChartProps & {
|
|
5
5
|
theme?: Partial<import("..").ChartTheme>;
|
|
6
6
|
} & {
|
package/area/area-chart.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"area-chart.d.ts","sourceRoot":"","sources":["../../../../components/chart/area/area-chart.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"area-chart.d.ts","sourceRoot":"","sources":["../../../../components/chart/area/area-chart.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAWzD,OAAO,KAAqC,MAAM,OAAO,CAAC;AAK1D,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,UAAU,GACX,MAAM,oBAAoB,CAAC;AA+d5B,eAAO,MAAM,SAAS;;;;;;;CAEpB,CAAC"}
|
package/area/area-chart.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { withResponsiveContainer } from '../chart-container';
|
|
2
2
|
import { useChartTheme, withChartTheme } from '../chart-theme.context';
|
|
3
|
+
import { createAxisTooltipPreset, useAxisTooltip } from '../cartesian/tooltip';
|
|
3
4
|
import { SkiaChart, SkiaRenderer } from '@wuba/react-native-echarts';
|
|
4
5
|
import { LineChart } from 'echarts/charts';
|
|
5
6
|
import { GridComponent, LegendComponent, TooltipComponent } from 'echarts/components';
|
|
6
7
|
import * as echarts from 'echarts/core';
|
|
7
8
|
import React, { useEffect, useMemo, useRef } from 'react';
|
|
9
|
+
import { View } from 'react-native';
|
|
8
10
|
import { getAxis } from '../axis';
|
|
9
11
|
// Register necessary components for this chart
|
|
10
12
|
echarts.use([
|
|
@@ -14,14 +16,32 @@ echarts.use([
|
|
|
14
16
|
SkiaRenderer,
|
|
15
17
|
LineChart,
|
|
16
18
|
]);
|
|
17
|
-
const ChartComponent = ({ data, width = 220, height = 350, type = 'default', step, boundaryGap = false, stack, stackNormalize = false, symbol, symbolSize, areaOpacity = 0.6, areaFill = 'gradient', showXAxis = true, showXAxisTicks = true, showYAxis = true, showYAxisTicks = true, showXAxisSplitLines = true, showYAxisSplitLines = true, grid, showLegend = false, showHighlighter = true, xAxisTickLabelFormatter, yAxisTickLabelFormatter, xAxisTicks, xAxisLabel, yAxisLabel, onSelect, ...props }) => {
|
|
19
|
+
const ChartComponent = ({ data, width = 220, height = 350, type = 'default', step, boundaryGap = false, stack, stackNormalize = false, symbol, symbolSize, areaOpacity = 0.6, areaFill = 'gradient', showXAxis = true, showXAxisTicks = true, showYAxis = true, showYAxisTicks = true, showXAxisSplitLines = true, showYAxisSplitLines = true, grid, showLegend = false, showHighlighter = true, tooltip = 'card', xAxisTickLabelFormatter, yAxisTickLabelFormatter, xAxisTicks, xAxisLabel, yAxisLabel, onSelect, renderTooltip, ...props }) => {
|
|
18
20
|
const { theme } = useChartTheme(props.theme, props.colors);
|
|
19
21
|
const chartRef = useRef(null);
|
|
20
22
|
const onSelectRef = useRef(onSelect);
|
|
21
23
|
onSelectRef.current = onSelect;
|
|
22
|
-
const
|
|
24
|
+
const axisTooltipContextRef = useRef({
|
|
23
25
|
displaySeries: [],
|
|
24
|
-
|
|
26
|
+
categoryAxisData: [],
|
|
27
|
+
});
|
|
28
|
+
const themeSeriesRef = useRef(theme.series);
|
|
29
|
+
themeSeriesRef.current = theme.series;
|
|
30
|
+
const tooltipOverlayActive = renderTooltip != null || tooltip !== 'none';
|
|
31
|
+
const renderTooltipFn = useMemo(() => {
|
|
32
|
+
if (renderTooltip != null)
|
|
33
|
+
return renderTooltip;
|
|
34
|
+
if (tooltip === 'none')
|
|
35
|
+
return () => null;
|
|
36
|
+
return createAxisTooltipPreset(tooltip);
|
|
37
|
+
}, [renderTooltip, tooltip]);
|
|
38
|
+
const { attachAxisTooltipListeners, renderAxisTooltipOverlay } = useAxisTooltip({
|
|
39
|
+
active: tooltipOverlayActive,
|
|
40
|
+
renderTooltip: renderTooltipFn,
|
|
41
|
+
contextRef: axisTooltipContextRef,
|
|
42
|
+
themeSeriesRef,
|
|
43
|
+
width,
|
|
44
|
+
height,
|
|
25
45
|
});
|
|
26
46
|
// Derive smooth/step from type
|
|
27
47
|
const effectiveSmooth = type === 'smooth';
|
|
@@ -93,23 +113,8 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
93
113
|
? xAxisTicks
|
|
94
114
|
: getAxis(dataPoints).map(String);
|
|
95
115
|
}, [normalizedSeries, xAxisTicks]);
|
|
96
|
-
|
|
116
|
+
axisTooltipContextRef.current = { displaySeries, categoryAxisData: xAxisData };
|
|
97
117
|
const option = useMemo(() => {
|
|
98
|
-
// Build tooltip config
|
|
99
|
-
// axisPointer with snap: true so the pointer snaps to data points and triggers
|
|
100
|
-
// series emphasis (circle) at the hovered position. See https://echarts.apache.org/en/option.html#tooltip.axisPointer
|
|
101
|
-
const tooltipConfig = showHighlighter ? {
|
|
102
|
-
trigger: 'axis',
|
|
103
|
-
axisPointer: {
|
|
104
|
-
type: 'line',
|
|
105
|
-
snap: true,
|
|
106
|
-
lineStyle: {
|
|
107
|
-
type: 'solid',
|
|
108
|
-
width: 1,
|
|
109
|
-
color: theme.series[0].color ?? '#999',
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
} : null;
|
|
113
118
|
// Build xAxis config (category with data indices)
|
|
114
119
|
const xAxisConfig = {
|
|
115
120
|
type: 'category',
|
|
@@ -280,10 +285,23 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
280
285
|
return series;
|
|
281
286
|
});
|
|
282
287
|
const config = {
|
|
283
|
-
tooltip: tooltipConfig,
|
|
284
288
|
xAxis: xAxisConfig,
|
|
285
289
|
yAxis: yAxisConfig,
|
|
286
290
|
series: seriesConfig,
|
|
291
|
+
axisPointer: {
|
|
292
|
+
show: true,
|
|
293
|
+
type: 'line',
|
|
294
|
+
snap: true,
|
|
295
|
+
lineStyle: {
|
|
296
|
+
type: 'solid',
|
|
297
|
+
width: 1,
|
|
298
|
+
color: '#00000000',
|
|
299
|
+
show: false,
|
|
300
|
+
},
|
|
301
|
+
label: {
|
|
302
|
+
show: false,
|
|
303
|
+
}
|
|
304
|
+
}
|
|
287
305
|
};
|
|
288
306
|
// Add legend if configured
|
|
289
307
|
if (legendConfigFinal) {
|
|
@@ -319,6 +337,7 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
319
337
|
showLegend,
|
|
320
338
|
hasNamedSeries,
|
|
321
339
|
showHighlighter,
|
|
340
|
+
tooltipOverlayActive,
|
|
322
341
|
xAxisTickLabelFormatter,
|
|
323
342
|
yAxisTickLabelFormatter,
|
|
324
343
|
xAxisTicks,
|
|
@@ -327,6 +346,7 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
327
346
|
]);
|
|
328
347
|
useEffect(() => {
|
|
329
348
|
let chart;
|
|
349
|
+
let detachAxisTooltip = () => { };
|
|
330
350
|
if (chartRef.current) {
|
|
331
351
|
try {
|
|
332
352
|
chart = echarts.init(chartRef.current, 'light', {
|
|
@@ -334,6 +354,7 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
334
354
|
height: height,
|
|
335
355
|
});
|
|
336
356
|
chart.setOption(option);
|
|
357
|
+
detachAxisTooltip = attachAxisTooltipListeners(chart);
|
|
337
358
|
const handleSeriesClick = (params) => {
|
|
338
359
|
const cb = onSelectRef.current;
|
|
339
360
|
if (typeof cb !== 'function')
|
|
@@ -347,7 +368,7 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
347
368
|
dataIndex < 0) {
|
|
348
369
|
return;
|
|
349
370
|
}
|
|
350
|
-
const { displaySeries: ds,
|
|
371
|
+
const { displaySeries: ds, categoryAxisData: xd } = axisTooltipContextRef.current;
|
|
351
372
|
const s = ds[seriesIndex];
|
|
352
373
|
if (!s?.data || !Array.isArray(s.data))
|
|
353
374
|
return;
|
|
@@ -386,6 +407,7 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
386
407
|
}
|
|
387
408
|
}
|
|
388
409
|
return () => {
|
|
410
|
+
detachAxisTooltip();
|
|
389
411
|
if (chart) {
|
|
390
412
|
try {
|
|
391
413
|
chart.dispose();
|
|
@@ -395,8 +417,11 @@ const ChartComponent = ({ data, width = 220, height = 350, type = 'default', ste
|
|
|
395
417
|
}
|
|
396
418
|
}
|
|
397
419
|
};
|
|
398
|
-
}, [option, width, height]);
|
|
399
|
-
return <
|
|
420
|
+
}, [option, width, height, attachAxisTooltipListeners]);
|
|
421
|
+
return (<View style={{ width, height, position: 'relative' }}>
|
|
422
|
+
<SkiaChart ref={chartRef} useRNGH/>
|
|
423
|
+
{renderAxisTooltipOverlay()}
|
|
424
|
+
</View>);
|
|
400
425
|
};
|
|
401
426
|
const AreaChartComponent = withResponsiveContainer(withChartTheme(ChartComponent));
|
|
402
427
|
export const AreaChart = Object.assign(AreaChartComponent, {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { CartesianChartProps, CartesianChartSelectEvent } from '../props/cartesian';
|
|
2
|
+
import type { ChartTooltipOption } from '../tooltip';
|
|
3
|
+
/** @deprecated Use {@link ChartTooltipOption} from `../tooltip`. */
|
|
4
|
+
export type AreaChartTooltip = ChartTooltipOption;
|
|
2
5
|
/**
|
|
3
6
|
* Area/line/bar series data shape:
|
|
4
7
|
* - Single series: number[]
|
|
@@ -14,6 +17,7 @@ export type SeriesData = number[] | [string | number, number][] | Array<{
|
|
|
14
17
|
}>;
|
|
15
18
|
/** @deprecated Use {@link CartesianChartSelectEvent} from `../props/cartesian`. */
|
|
16
19
|
export type AreaChartSelectEvent = CartesianChartSelectEvent;
|
|
20
|
+
export type { AxisTooltipParams as AreaChartAxisTooltipParams, AxisTooltipSeriesItem as AreaChartTooltipSeriesItem, } from '../cartesian/tooltip/axis-tooltip.types';
|
|
17
21
|
/**
|
|
18
22
|
* Props for AreaChart.
|
|
19
23
|
* common -> cartesian -> area
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"area-chart.props.d.ts","sourceRoot":"","sources":["../../../../components/chart/area/area-chart.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"area-chart.props.d.ts","sourceRoot":"","sources":["../../../../components/chart/area/area-chart.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,oEAAoE;AACpE,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAElD;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAClB,MAAM,EAAE,GACR,CAAC,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,EAAE,GAC3B,KAAK,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GACxC,KAAK,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;CAAE,CAAC,CAAC;AAEhE,mFAAmF;AACnF,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAE7D,YAAY,EACV,iBAAiB,IAAI,0BAA0B,EAC/C,qBAAqB,IAAI,0BAA0B,GACpD,MAAM,yCAAyC,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,mBAAmB;IACzD;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACvB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;IACtG;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IACzE;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,UAAU,GAAG,aAAa,GAAG,OAAO,CAAC;CACjD"}
|
package/area/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { AreaChart } from './area-chart';
|
|
2
|
-
export type { AreaChartProps, AreaChartSelectEvent, SeriesData, } from './area-chart.props';
|
|
2
|
+
export type { AreaChartProps, AreaChartSelectEvent, AreaChartAxisTooltipParams, AreaChartTooltip, AreaChartTooltipSeriesItem, SeriesData, } from './area-chart.props';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/area/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/chart/area/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,UAAU,GACX,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/chart/area/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,0BAA0B,EAC1B,gBAAgB,EAChB,0BAA0B,EAC1B,UAAU,GACX,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubble-chart.d.ts","sourceRoot":"","sources":["../../../../components/chart/bubble/bubble-chart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAS7D,OAAO,KAAqC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"bubble-chart.d.ts","sourceRoot":"","sources":["../../../../components/chart/bubble/bubble-chart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAS7D,OAAO,KAAqC,MAAM,OAAO,CAAC;AAO1D,+CAA+C;AAC/C,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyW/E,eAAO,MAAM,WAAW;;;;;;;CAEtB,CAAC"}
|