You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "queenlixiaoman (via GitHub)" <gi...@apache.org> on 2024/04/09 06:46:34 UTC
[I] [Bug] dataZoom-slider无法展示两侧缩放手柄 [echarts]
queenlixiaoman opened a new issue, #19804:
URL: https://github.com/apache/echarts/issues/19804
### Version
5.4.3
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWsDGwA2wBOAXLANoBEAxAMyUCcAHACIBCpAugDRqxjA6QhFU6dGDwQA5uICmhWKQCGADwgBnUlwC-ndIoCCylYK7oAJvLDyiZAEwAGAIwAWALS2A7M6el2cu09ce9gCs3r4OLu6eAGyhpH4RgW6x8QGedMnhqfY0Gf6RdrkJztb2hanW1mX5lFUe1o61xSE-cZn5MS0p-UmdbXXpvXl1OYNFlLaNlKWjrnSu02F5c7aVM7bLNWvLzYsRyx27swFVywOH664j53P2E1ueC61LnqvXnptvXvfBJ9G_9j1PmcnntPFcQUcCvcSr8KrCPhCLvVYTtEXNrAc0cVAVjrMCuujwQTnONflMqjR5hTXAiupTbA01vTUXTXJjWe5qesuUS2pTbtT7I9WfZXoj-bS-Z5Ged-SypfZ2QqcSL8QreXlKVDZcVhVK4UzipLNcUZeKmtSMZaVfq1SbrBqIpTSTNblTXbZXGKUm7bMaXL6zT7PbZ5f5fUrwyGbVHZmVfY7PJ6BR6HvHk0HMm6fqnFenPDGA8m7UWwfntRC3TDUwbDlX_UnTeWw6WrTXC428eXE26XXXPeTXfZ3XXh3742PM-Gxy2Hsch3GF7Ye8OU6O0wv7A2hdKJ55Zzu85uO4eS3PsnvrNvh8iF9YDzfIwGbyeb2edw749YR5XvysvzSAGhkBT4vPOdZ_u-f49t-a6_huEHvABXyITmqEnrBMHFN6WbfleAH3gRoGitiBFQcUWF9k8QTzD-fg0Q4Xq5AxY7GixrhTuxwGDFxkZcTGXF2lxGrsXB9G0UKzESThwQSWxEmcRJYaiXxEkCRJQkSSJtEVuJjG1tROnyfpin6cpOmqfpmn6dpjGDosDF_nqskrExPFeoB7mudxDkebYlnQVJrliQ4jkIYZwUyWFW5BbBpmweZw
UBWksVll5eF3L5rnVlleFRR5-HpU2rCaNosAAJ76KoRjCLAKggNgEBgAAMhA0BSDVtV1QAFsAADuRAAGbyNgKhSMYsAaKVXBmBYABavAALZWEgGgcFwY1iFIhjIBN0DyItHVyEwUgQAAVm14iwLoACKACS3gTWA5UgEdpAAEbyHgj21bNlgkMEUQ-E4tjA9QwN0EDsD2HQ1jA_5wPZD4UR0D4QSOD4sM-DQoPQ5QGPQ3QqPQzQBPBDQwNBBT0NRNT9RkzQ1OKpQwOONTdC41EbjA1EcPQ44uNOCz0P3j4bhQ0K1NuILDLw0zVPA_UYNBJTgtRGTtOY8LwQq7Abi6wrevE1uEt-vDZPi5jTPWNzsDo_DgsCxDUN2Jz9hy4j7vQ042O26TyNQ_bsB0LbHOY2TAI88bDqK7b6vI47Fu40ExMh2LyfCzQfNuNHmcGwTKM-K7PhTATlBuNT-Mu-Dwe424wuW3jfMlF7eJ00EuNY7AjM88LGK25QQQN8Tbh80TrO43YLuy7AUQG_LdfU1EmfC2H3fz8jutuLbQvY8T8fd33Xc69jDMuzQq_az7sA24HBcG17vNW5vmPN43wTC0EfOa97q98z3dttZm2hrYOu2sgi63qOA3WopdZzxfnrOmoCi4YkVt_TuMCcbw0gesNGTMoiTyFEXeBsBKCQ0Rqnam_s9Y7y3KzPuQRaE7zoDApGs9dZp1njLY249-bCyfiAwWX8eaBw3tDfWRcL4l1QdDIeYs-5cwhsLWgZMU6Y2nm4Eq6ApoaCAA&_source=echarts-doc-preview
### Steps to Reproduce
import * as echarts from 'echarts/core'
import {
LegendComponent,
TitleComponent,
TooltipComponent,
GridComponent,
ToolboxComponent,
VisualMapComponent,
MarkAreaComponent,
DataZoomComponent,
} from 'echarts/components'
import { LineChart } from 'echarts/charts'
import { UniversalTransition } from 'echarts/features'
import { CanvasRenderer } from 'echarts/renderers'
echarts.use([
TitleComponent,
LegendComponent,
TooltipComponent,
GridComponent,
LineChart,
CanvasRenderer,
ToolboxComponent,
VisualMapComponent,
MarkAreaComponent,
UniversalTransition,
DataZoomComponent,
])
option = {
color: ["#3398DB"],
tooltip: {
trigger: "axis"
},
xAxis: {
data: ["2014-07-14", "2014-07-15", "2014-07-16", "2014-07-17", "2014-07-18", "2014-07-19", "2014-07-20", "2014-07-21", "2014-07-22", "2014-07-23", "2014-07-24", "2014-07-25", "2014-07-26", "2014-07-27", "2014-07-28", "2014-07-29", "2014-07-30", "2014-07-31", "2014-08-01", "2014-08-02", "2014-08-03", "2014-08-05", "2014-08-06", "2014-08-07", "2014-08-08", "2014-08-09", "2014-08-10", "2014-08-11", "2014-08-12", "2014-08-13", "2014-08-14", "2014-08-15", "2014-08-16", "2014-08-17", "2014-08-18", "2014-08-19", "2014-08-20", "2014-08-21", "2014-08-22", "2014-08-23", "2014-08-24", "2014-08-25", "2014-08-26", "2014-08-27", "2014-08-28", "2014-08-29", "2014-08-30", "2014-08-31", "2014-09-01", "2014-09-03", "2014-09-04", "2014-09-05", "2014-09-06", "2014-09-07", "2014-09-08", "2014-09-09", "2014-09-10", "2014-09-11", "2014-09-12", "2014-09-13", "2014-09-14", "2014-09-15", "2014-09-16", "2014-09-17", "2014-09-18", "2014-09-19", "2014-09-20", "2014-09-21", "2014-09-22", "2014-09-23", "201
4-09-24", "2014-09-25", "2014-09-26", "2014-09-27", "2014-09-28", "2014-09-29", "2014-09-30", "2014-10-01", "2014-10-02", "2014-10-03", "2014-10-04", "2014-10-05", "2014-10-06", "2014-10-07", "2014-10-08", "2014-10-09", "2014-10-10", "2014-10-11", "2014-10-14", "2014-10-15", "2014-10-16", "2014-10-17", "2014-10-18", "2014-10-19", "2014-10-20", "2014-10-21", "2014-10-22", "2014-10-23", "2014-10-24", "2014-10-25", "2014-10-26", "2014-10-27", "2014-10-28", "2014-10-29", "2014-10-30", "2014-10-31", "2014-11-01", "2014-11-03", "2014-11-04", "2014-11-05", "2014-11-07", "2014-11-08", "2014-11-09", "2014-11-10", "2014-11-11", "2014-11-13", "2014-11-14", "2014-11-15", "2014-11-16", "2014-11-17", "2014-11-18", "2014-11-19", "2014-11-23", "2014-11-24", "2014-11-25", "2014-11-26", "2014-11-27", "2014-11-28", "2014-11-29", "2014-12-01", "2014-12-02", "2014-12-03", "2014-12-05", "2014-12-06", "2014-12-07", "2014-12-08", "2014-12-09", "2014-12-10", "2014-12-11", "2014-12-13", "2014-12-14", "2014-1
2-15", "2014-12-17", "2014-12-19", "2014-12-22", "2014-12-23", "2014-12-25", "2014-12-26", "2014-12-27", "2014-12-28", "2014-12-29", "2014-12-30", "2015-01-01", "2015-01-02", "2015-01-03", "2015-01-04", "2015-01-05", "2015-01-06", "2015-01-07", "2015-01-08", "2015-01-09", "2015-01-10", "2015-01-11", "2015-01-12", "2015-01-13", "2015-01-14", "2015-01-15", "2015-01-16", "2015-01-17", "2015-01-18", "2015-01-19", "2015-01-20", "2015-01-22", "2015-01-23", "2015-01-24", "2015-01-25", "2015-01-26", "2015-01-28", "2015-01-29", "2015-01-31", "2015-02-01", "2015-02-02", "2015-02-03", "2015-02-05", "2015-02-06", "2015-02-09", "2015-02-10", "2015-02-11", "2015-02-12", "2015-02-13", "2015-02-14", "2015-02-15", "2015-02-16", "2015-02-18", "2015-02-19", "2015-02-20", "2015-02-21", "2015-02-22", "2015-02-23", "2015-02-24"]
},
yAxis: {
splitLine: {
show: false
}
},
dataZoom: [
{
type: 'inside',
xAxisIndex: [0],
show: true,
},
{
type: 'slider',
show: true,
xAxisIndex: [0],
handleStyle: {
color: '#ea7ccc'
}
},
],
series: {
name: "Beijing AQI",
type: "bar",
data: [156, 140, 133, 186, 182, 106, 119, 68, 54, 82, 90, 134, 188, 194, 159, 159, 169, 244, 199, 163, 149, 80, 67, 162, 140, 143, 125, 76, 119, 70, 104, 109, 159, 124, 135, 150, 164, 169, 83, 155, 75, 59, 78, 136, 103, 104, 176, 89, 127, 54, 100, 140, 186, 200, 61, 109, 111, 114, 97, 94, 66, 54, 87, 80, 84, 117, 168, 129, 127, 64, 60, 144, 170, 58, 87, 70, 53, 92, 78, 123, 95, 54, 68, 200, 314, 379, 346, 233, 80, 73, 76, 132, 211, 289, 250, 82, 99, 163, 267, 353, 78, 72, 88, 140, 206, 204, 65, 59, 150, 79, 63, 93, 80, 95, 59, 65, 77, 143, 98, 64, 93, 282, 155, 94, 196, 293, 83, 114, 276, 54, 65, 51, 62, 89, 65, 82, 276, 153, 52, 69, 113, 82, 99, 53, 103, 100, 73, 155, 243, 155, 125, 65, 65, 79, 200, 226, 122, 60, 85, 190, 105, 208, 59, 160, 211, 265, 386, 118, 89, 94, 77, 113, 143, 257, 117, 185, 119, 65, 87, 60, 108, 188, 143, 62, 100, 152, 166, 55, 59, 175, 293, 326, 153, 73, 267, 183, 394, 158, 86, 207]
}
}
### Current Behavior
在本地无法展示两侧缩放手柄
### Expected Behavior
在本地展示两侧缩放手柄 并且功能可用
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] dataZoom-slider无法展示两侧缩放手柄 [echarts]
Posted by "queenlixiaoman (via GitHub)" <gi...@apache.org>.
queenlixiaoman closed issue #19804: [Bug] dataZoom-slider无法展示两侧缩放手柄
URL: https://github.com/apache/echarts/issues/19804
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org