I can not figure out how to get data zoom to work with my chart, the chart and data show up, but no datazoom. I am using a line chart with the following options.
here is some of the options config
"grid": {
"bottom": 80
},
"toolbox": {
feature: {
dataZoom: {
yAxisIndex: 'none'
}
}
},
"dataZoom": [
{
"show": true,
"realtime": true,
"start": 65,
"end": 100
}
],
xAxis: {
type : 'time',
},
yAxis: {
type : 'value'
}
the data in this type of format
data : [{
name: new Date(dateVariableHere),
value: [
new Date(dateVariableHere),
floatValueHere
]
}];
Hi @krisklosterman, I don't know @ecomfe's issue tracker policy – but questions like yours (help) generally belong in another channel – like StackOverflow, a Slack/Discord channel etc. 🙂 This is a issue tracker for tracking bugs and features.
Is there a slack / discord channel I can join for eCharts?
Might be a bug if I can't get it to work...
"dataZoom": [
{
type: 'slider',
show: true,
start: 65,
end: 100
}
]
that setting does nothing either
Did you import the dataZoom library from echarts?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Did you import the dataZoom library from echarts?