Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

interaction data with Protovis

$
0
0
Guys, I need help.


I have a Protovis Graphical, and precise interaction he receives another chart when i Click on a graph I need the categories of the Protovis Graphical getting selected.
I do not know what event I should implement in Protovis and how to receive this data.


Graphs in CCC I do so: (and how I do in Protovis)

var Gerente = scene.vars.category.label; // get selection

var varChart = Dashboards.getComponent("render_Distribuicao_fat"); // get objets (other chart)

// Remove all selects
var datumsAll = varChart.chart.data.datums();
datumsAll.each(function(datum) { datum.setSelected(false); });

// Define select
datums = varChart.chart.data.datums([{category: Gerente }]);
datums.each(function(datum) { datum.setSelected(true); });

varChart.chart.render(/*bypassAnimation*/ false, /*recreate*/true, /*reload*/false)

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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