-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not get dataZoom to show up #39
Comments
any ideas |
@krisklosterman Sorry for the late response, I think you need to ask echarts team about this question. |
echarts team does not have an dataset attribute that is angular bound? |
Just forget about dataset, you can directly set data in options just like the echarts official demo. |
I am using [dataset] to bind an angular variable to the chart. I update that variable and it shows up in the chart.
in the code I update blxAPI.graph_stats as new data comes in with an array of
the options variable I use
|
// call updateStats where you update blxAPI.graph_stats
updateStats() {
this.graphOptions = {
title: {
text: 'Graph Stats Chart Test'
},
legend: {
data: ['Graph Stats']
},
"grid": {
"bottom": 80
},
"toolbox": {
feature: {
dataZoom: {
yAxisIndex: 'none'
}
}
},
"dataZoom": [
{
"show": true,
"realtime": true,
"start": 65,
"end": 100
}
],
xAxis: {
type: 'time',
},
yAxis: {
type: 'value'
},
series: [
{
name: 'Graph Stats',
type: 'line',
// here is your data
data: blxAPI.graph_stats
}
]
};
} If you still have the same issue, please ask echarts team for help. |
ok thanks |
I've copied static examples out of the echarts website and datazoom does not work. If anyone actualy has datazoom working with NGX-ECHARTS, please let me know, but I think is broke or not functional. |
well i used e.g. on my data, and it worked |
I've tried all sorts of dataZoom properties but I can not get the section selector to show up at all.
My graph is a line graph and has a full days worth of data being displayed. When putting this inside the options object, it does not work.
I've tried multiple combinations of slider / inside types and nothing.
Does dataZoom work with a dataset graph? Has anyone else got dataZoom to work with a dataset?
The text was updated successfully, but these errors were encountered: