Hello,
I have a problem with a bar chart.
I use the bar chart with the event stream processor as data source and have as dimension date and time and as measure sensorvalues.
Now I would like only show the bars in the specific range (with an drop down to choose).
Is it possible to add this part with an script?
Something like adding a drop down menu and if you choose "green" on it then it will only display
the bars that in that specific range. I tried something like that:
if(DROPDOWN_1.getSelectedText()=="Green Lights"){
CHART_1.setDataSelection({"Measures":"SENSORVALUE"});
}
But I don't know how to specify the value range in the script.
Thanks in advance.
Best Regards
Stefan