I am running a test based on the sample provided on http://www.primefaces.org:8080/prime-sh ... rChart.jsf and added an itemSelectListener as follows:
Code: Select all
itemSelectListener="#{chart.itemSelect}"
Code: Select all
public void itemSelect(ItemSelectEvent event) {
System.out.println(event.getItemIndex() + " " + event.getSeriesIndex());
}
09:07:26,351 INFO [STDOUT] 0 0
The same happens when I click on any series of 2005 it always prints:
09:07:46,617 INFO [STDOUT] 1 1
Shouldn't it be printing 0 0 and 0 1, respectively, when I click on boys 2004 and girls 2004 and also print 1 0 and 1 1 if I had clicked on the same series order but on 2005?
best regards,
Rafael Ribeiro