Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Dynamic bar chart - showing only specific bars

$
0
0

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


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>