|
|
@@ -3,7 +3,7 @@
|
|
|
*/
|
|
|
import * as echarts from 'echarts/core'
|
|
|
import { CandlestickChart, CandlestickSeriesOption, BarChart, BarSeriesOption, LineChart, LineSeriesOption } from 'echarts/charts'
|
|
|
-import { MarkLineComponent, DatasetComponent, DataZoomComponent, GridComponent, GridComponentOption, TooltipComponent } from 'echarts/components'
|
|
|
+import { MarkLineComponent, DatasetComponent, DataZoomComponent, GridComponent, GridComponentOption, TooltipComponent, DataZoomComponentOption } from 'echarts/components'
|
|
|
import { CanvasRenderer } from 'echarts/renderers'
|
|
|
|
|
|
echarts.use([
|
|
|
@@ -18,7 +18,7 @@ echarts.use([
|
|
|
TooltipComponent
|
|
|
])
|
|
|
|
|
|
-type ECOption = echarts.ComposeOption<CandlestickSeriesOption | BarSeriesOption | LineSeriesOption | GridComponentOption>;
|
|
|
+type ECOption = echarts.ComposeOption<CandlestickSeriesOption | BarSeriesOption | LineSeriesOption | GridComponentOption | DataZoomComponentOption>
|
|
|
|
|
|
export {
|
|
|
echarts,
|