Replies: 1 comment
-
Please make sure the option works for ECharts itself first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`
<script> import { use } from "echarts/core"; import { CanvasRenderer } from "echarts/renderers"; import { LineChart } from "echarts/charts"; import { TitleComponent, TooltipComponent, LegendComponent, ToolboxComponent, DatasetComponent, GridComponent, DataZoomComponent } from "echarts/components"; import VChart, { THEME_KEY } from "vue-echarts"; import { ref, defineComponent } from "vue"; use([ CanvasRenderer, LineChart, TitleComponent, TooltipComponent, LegendComponent, ToolboxComponent, DatasetComponent, GridComponent, DataZoomComponent ]); export default defineComponent({ name: "HelloWorld", components: { VChart }, provide: { [THEME_KEY]: "dark" }, setup: () => { const option = ref({ title: [ { text: "日销量统计图", textAlign: "center", top: "1%", left: "center" }, { text: "点击量", textAlign: "center", top: "51%", left: "24%" }, { text: "价格变动图", textAlign: "center", top: "51%", left: "70%" } ], tooltip: { trigger: "item", formatter: "{a}{b} : {c} ({d}%)" }, legend: { top: 100, right: 5, bottom: 20, orient: "vertical", formatter: "{name}" }, grid: [ { left: "3%", right: "10%", bottom: "50%", containLabel: true }, { left: "3%", top: "55%", right: "55%", bottom: "3%", containLabel: true }, { left: "45%", top: "55%", right: "10%", bottom: "3%", containLabel: true } ], xAxis: [ { type: "time", axisLabel: { rotate: 60 }, gridIndex: 0 }, { type: "time", axisLabel: { rotate: 60 }, gridIndex: 1 }, { type: "time", axisLabel: { rotate: 60 }, gridIndex: 2 } ], yAxis: [ { type: "value", gridIndex: 0 }, { type: "value", gridIndex: 1 }, { type: "value", gridIndex: 2 } ], dataset: [ { id: "dataset_raw", dimensions: [ "date", "item", "quantity_sold_d", "watch_count_d", "hit_count_d", "price" ], source: [ { date: "2021-08-18", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 0, watch_count_d: 0 }, { date: "2021-08-19", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 1, price: 165.99, hit_count_d: 18, watch_count_d: 0 }, { date: "2021-08-20", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 2, price: 165.99, hit_count_d: 42, watch_count_d: 0 }, { date: "2021-08-21", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 1, price: 165.99, hit_count_d: 26, watch_count_d: 0 }, { date: "2021-08-22", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 34, watch_count_d: -1 }, { date: "2021-08-23", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 22, watch_count_d: 1 }, { date: "2021-08-24", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 28, watch_count_d: 0 }, { date: "2021-08-25", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 1, price: 165.99, hit_count_d: 23, watch_count_d: 0 }, { date: "2021-08-26", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-08-27", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-08-28", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-08-29", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-08-30", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-08-31", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 9, watch_count_d: 0 }, { date: "2021-09-01", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 9, watch_count_d: 0 }, { date: "2021-09-02", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-03", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-09-04", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-05", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-09-06", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 4, watch_count_d: 0 }, { date: "2021-09-07", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-08", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 11, watch_count_d: 0 }, { date: "2021-09-09", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 8, watch_count_d: 0 }, { date: "2021-09-10", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-11", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-12", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 12, watch_count_d: 0 }, { date: "2021-09-13", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-14", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 14, watch_count_d: 0 }, { date: "2021-09-15", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 11, watch_count_d: 0 }, { date: "2021-09-16", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-17", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 9, watch_count_d: 0 }, { date: "2021-09-18", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-19", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-20", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-21", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 4, watch_count_d: 0 }, { date: "2021-09-22", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-23", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-09-24", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 3, watch_count_d: 0 }, { date: "2021-09-25", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-26", seller: "未分类卖家集合", store: "oemassive", item: 162568557441, quantity_sold_d: 0, price: 165.99, hit_count_d: 3, watch_count_d: 0 }, { date: "2021-08-18", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 0, watch_count_d: 0 }, { date: "2021-08-19", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 1, price: 119.99, hit_count_d: 35, watch_count_d: 0 }, { date: "2021-08-20", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 2, price: 119.99, hit_count_d: 53, watch_count_d: 0 }, { date: "2021-08-21", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 52, watch_count_d: 0 }, { date: "2021-08-22", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 46, watch_count_d: 0 }, { date: "2021-08-23", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 56, watch_count_d: 0 }, { date: "2021-08-24", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 29, watch_count_d: 0 }, { date: "2021-08-25", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 58, watch_count_d: 0 }, { date: "2021-08-26", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 34, watch_count_d: 0 }, { date: "2021-08-27", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 1, price: 119.99, hit_count_d: 52, watch_count_d: 0 }, { date: "2021-08-28", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 54, watch_count_d: 0 }, { date: "2021-08-29", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 36, watch_count_d: 0 }, { date: "2021-08-30", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 40, watch_count_d: 0 }, { date: "2021-08-31", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 1, price: 119.99, hit_count_d: 46, watch_count_d: -1 }, { date: "2021-09-01", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 119.99, hit_count_d: 68, watch_count_d: -2 }, { date: "2021-09-02", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 1, price: 119.99, hit_count_d: 40, watch_count_d: 1 }, { date: "2021-09-03", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 56, watch_count_d: 0 }, { date: "2021-09-04", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 51, watch_count_d: 0 }, { date: "2021-09-05", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 21, watch_count_d: 0 }, { date: "2021-09-06", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 20, watch_count_d: 0 }, { date: "2021-09-07", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 47, watch_count_d: 0 }, { date: "2021-09-08", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 23, watch_count_d: 0 }, { date: "2021-09-09", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 24, watch_count_d: 0 }, { date: "2021-09-10", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 45, watch_count_d: 0 }, { date: "2021-09-11", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 18, watch_count_d: 0 }, { date: "2021-09-12", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 18, watch_count_d: 0 }, { date: "2021-09-13", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 26, watch_count_d: 0 }, { date: "2021-09-14", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 26, watch_count_d: 0 }, { date: "2021-09-15", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 30, watch_count_d: 0 }, { date: "2021-09-16", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 13, watch_count_d: 0 }, { date: "2021-09-17", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 16, watch_count_d: 0 }, { date: "2021-09-18", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 14, watch_count_d: 0 }, { date: "2021-09-19", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 17, watch_count_d: 0 }, { date: "2021-09-20", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-21", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 15, watch_count_d: 0 }, { date: "2021-09-22", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 1, price: 139.99, hit_count_d: -24633, watch_count_d: 0 }, { date: "2021-09-23", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 24656, watch_count_d: 0 }, { date: "2021-09-24", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 10, watch_count_d: 0 }, { date: "2021-09-25", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 8, watch_count_d: 1 }, { date: "2021-09-26", seller: "未分类卖家集合", store: "oemassive", item: 163645717010, quantity_sold_d: 0, price: 139.99, hit_count_d: 20, watch_count_d: 0 }, { date: "2021-09-16", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 0, watch_count_d: 0 }, { date: "2021-09-17", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 13, watch_count_d: 0 }, { date: "2021-09-18", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 30, watch_count_d: 0 }, { date: "2021-09-19", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 19, watch_count_d: 0 }, { date: "2021-09-20", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 23, watch_count_d: 0 }, { date: "2021-09-21", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 1, price: 132.99, hit_count_d: 16, watch_count_d: 1 }, { date: "2021-09-22", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 14, watch_count_d: -1 }, { date: "2021-09-23", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 11, watch_count_d: 0 }, { date: "2021-09-24", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 11, watch_count_d: 0 }, { date: "2021-09-25", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 1, price: 132.99, hit_count_d: 13, watch_count_d: 1 }, { date: "2021-09-26", seller: "未分类卖家集合", store: "DT_MOTOSPORT", item: 362512532110, quantity_sold_d: 0, price: 132.99, hit_count_d: 13, watch_count_d: 0 }, { date: "2021-08-05", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 0, watch_count_d: 0 }, { date: "2021-08-06", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 30, watch_count_d: 0 }, { date: "2021-08-07", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 25, watch_count_d: 0 }, { date: "2021-08-08", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 29, watch_count_d: 0 }, { date: "2021-08-09", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 35, watch_count_d: 0 }, { date: "2021-08-10", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 38, watch_count_d: 0 }, { date: "2021-08-11", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 41, watch_count_d: 0 }, { date: "2021-08-12", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 26, watch_count_d: 0 }, { date: "2021-08-18", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 16, watch_count_d: 0 }, { date: "2021-08-19", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 8, watch_count_d: 0 }, { date: "2021-08-20", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 17, watch_count_d: 0 }, { date: "2021-08-21", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 10, watch_count_d: 0 }, { date: "2021-08-22", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 15, watch_count_d: 0 }, { date: "2021-08-23", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 15, watch_count_d: 0 }, { date: "2021-08-24", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 12, watch_count_d: 0 }, { date: "2021-08-25", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 15, watch_count_d: 0 }, { date: "2021-08-26", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-08-27", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 4, watch_count_d: 0 }, { date: "2021-08-28", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-08-29", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-08-30", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-08-31", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 4, watch_count_d: 0 }, { date: "2021-09-01", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 8, watch_count_d: 0 }, { date: "2021-09-02", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 8, watch_count_d: 0 }, { date: "2021-09-03", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.69, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-09-04", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-05", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-06", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 4, watch_count_d: 0 }, { date: "2021-09-07", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 4, watch_count_d: 0 }, { date: "2021-09-08", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 3, watch_count_d: 0 }, { date: "2021-09-09", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 12, watch_count_d: 0 }, { date: "2021-09-10", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 9, watch_count_d: 0 }, { date: "2021-09-11", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 5, watch_count_d: 0 }, { date: "2021-09-12", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 12, watch_count_d: 0 }, { date: "2021-09-13", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 13, watch_count_d: 0 }, { date: "2021-09-14", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 7, watch_count_d: 0 }, { date: "2021-09-15", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 13, watch_count_d: 0 }, { date: "2021-09-16", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 2, watch_count_d: 0 }, { date: "2021-09-17", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 8, watch_count_d: 0 }, { date: "2021-09-18", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-19", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 9, watch_count_d: 0 }, { date: "2021-09-20", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 12, watch_count_d: 0 }, { date: "2021-09-21", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 11, watch_count_d: 0 }, { date: "2021-09-22", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 8, watch_count_d: 0 }, { date: "2021-09-23", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 15, watch_count_d: 0 }, { date: "2021-09-24", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 17.76, hit_count_d: 6, watch_count_d: 0 }, { date: "2021-09-25", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 20, watch_count_d: 0 }, { date: "2021-09-26", seller: "未分类卖家集合", store: "hightechdeals8", item: 112656343531, quantity_sold_d: 0, price: 18.69, hit_count_d: 14, watch_count_d: 0 } ] }, { id: "dataset_162568557441", fromDatasetId: "dataset_raw", transform: { type: "filter", config: { and: [ { dimension: "item", value: 162568557441 } ] } } }, { id: "dataset_163645717010", fromDatasetId: "dataset_raw", transform: { type: "filter", config: { and: [ { dimension: "item", value: 163645717010 } ] } } }, { id: "dataset_362512532110", fromDatasetId: "dataset_raw", transform: { type: "filter", config: { and: [ { dimension: "item", value: 362512532110 } ] } } }, { id: "dataset_112656343531", fromDatasetId: "dataset_raw", transform: { type: "filter", config: { and: [ { dimension: "item", value: 112656343531 } ] } } } ], series: [ { name: 162568557442, type: "line", datasetIndex: 1, showSymbol: false, stack: "Total", areaStyle: {}, encode: { x: "date", y: "quantity_sold_d", itemName: "date", tooltip: ["quantity_sold_d"] }, xAxisIndex: 0, yAxisIndex: 0 } ] }); return { option }; } }); </script> <style scoped> .chart { height: 400px; } </style>`
when i use the datasetIndex the chart is not render
Beta Was this translation helpful? Give feedback.
All reactions