I'm having troubles with Google Charts Scatterplot when plotting two series and a ChartRangeFilter attached to it.
My Datatable looks like that:
var paretoScatterData = new google.visualization.DataTable();
paretoScatterData.addColumn('number', "Nodecollisions");
paretoScatterData.addColumn('number', "Linkcollisions");
paretoScatterData.addColumn({type: 'string', role: 'tooltip', 'p': {'html': true}});
paretoScatterData.addColumn( {'type': 'string', 'role': 'style'} );
paretoScatterData.addColumn('number', 'Paretofront');
paretoScatterData.addColumn({type: 'string', role: 'tooltip', 'p': {'html': true}});
paretoScatterData.addColumn( {'type': 'string', 'role': 'style'} );
I added following data to the table:
paretoScatterData.addRows(
[[0,1,"asd","fill-color:green", null, null, null],
[0,2,"asd","fill-color:green", null, null, null],
[0,3,"asd","fill-color:green", null, null, null],
[0,4,"asd","fill-color:green", null, null, null],
[0,5,"asd","fill-color:green", null, null, null],
[5,null,null,null, 0, "asd", "fill-color: red"],
[4,null,null,null, 0, "asd", "fill-color: red"],
[3,null,null,null, 0, "asd", "fill-color: red"],
[2,null,null,null, 0, "asd", "fill-color: red"],
[1,null,null,null, 0, "asd", "fill-color: red"]]) ;
The scatter plot renders perfectly, drawing "standard points" in green and "pareto points" in red. I have attached a ChartRangeFilter to the Scatterplot, everything in a dashboard ofc. If i filter for filterColumnIndex: 0 the Scatterplot still renders perfectly, showing both, the "normal points" and the "pareto points". If i filter for filterColumnIndex: 1 the "pareto points" disappear.
Both outputs for filterColumnIndex: 0 and filterColumnIndex: 1
What can i do to filter the vertical axis with a ChartRangeFilter and still showing my "pareto points" and the "normal points"?
Here's a jsfiddle for this.
Hope anybody can help me with that, i would be really grateful :).
P.S. this are of course fictional data, so don't care bout the values for the pareto points..