Lisha
09-02-2022Cloud Apps
Widget script for specific condition in Column chart
Below is a script that I had added for an indicator widget. If the secondary measure gives a result greater than 1, the widget will show NA.
widget.on('render', function (se, ev) {
if(se.query...
- 09-05-2022
Enable 4th panel and try this script
widget.on('processresult', function(se, ev){ if(ev.result.series[0].data[3].y > 1) { ev.result.series = [] ev.rawResult.values = [] } ev.result.xAxis.categories.length = 3 ev.result.series.length = 3 ev.result.series[0].data.length = 3 })
-Hari