Spaces:
Running
Running
Jimin Huang
commited on
Commit
·
34afdb3
1
Parent(s):
f04b63d
Change settings
Browse files
src/components/CompareChartE.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
import { defineComponent } from 'vue'
|
| 9 |
import VChart from 'vue-echarts'
|
| 10 |
import * as echarts from 'echarts/core'
|
| 11 |
-
import { LineChart } from 'echarts/charts'
|
| 12 |
import { GridComponent, LegendComponent, TooltipComponent, DataZoomComponent } from 'echarts/components'
|
| 13 |
import { CanvasRenderer } from 'echarts/renderers'
|
| 14 |
|
|
@@ -19,7 +19,7 @@ import { STRATEGIES } from '../lib/strategies'
|
|
| 19 |
import { computeBuyHoldEquity, computeStrategyEquity } from '../lib/perf'
|
| 20 |
import { getStrategyColor } from '../lib/chartColors'
|
| 21 |
|
| 22 |
-
echarts.use([LineChart, GridComponent, LegendComponent, TooltipComponent, DataZoomComponent, CanvasRenderer])
|
| 23 |
|
| 24 |
const ASSET_CUTOFF = {
|
| 25 |
BTC: '2025-08-01',
|
|
|
|
| 8 |
import { defineComponent } from 'vue'
|
| 9 |
import VChart from 'vue-echarts'
|
| 10 |
import * as echarts from 'echarts/core'
|
| 11 |
+
import { LineChart, ScatterChart } from 'echarts/charts'
|
| 12 |
import { GridComponent, LegendComponent, TooltipComponent, DataZoomComponent } from 'echarts/components'
|
| 13 |
import { CanvasRenderer } from 'echarts/renderers'
|
| 14 |
|
|
|
|
| 19 |
import { computeBuyHoldEquity, computeStrategyEquity } from '../lib/perf'
|
| 20 |
import { getStrategyColor } from '../lib/chartColors'
|
| 21 |
|
| 22 |
+
echarts.use([LineChart, GridComponent, ScatterChart, LegendComponent, TooltipComponent, DataZoomComponent, CanvasRenderer])
|
| 23 |
|
| 24 |
const ASSET_CUTOFF = {
|
| 25 |
BTC: '2025-08-01',
|