PDA

View Full Version : Access to other fields from a ChartModel



Tom48
10 Aug 2009, 7:05 AM
Hello,

I am trying to access another fild of a ChartModel which is not shown in the chart. But in my opinion I can show also other information as a seperate text. I did it like in the example, but I can only access the the value shown in the barchart. How do I get from here to rest of the data from that model. Maybe the is something like a ChartBinding.


bar.addChartListener(new ChartListener() {
public void chartClick(ChartEvent ce) {
String s = ce.getChartConfig().getValues().toString();
}
});

I guess the solution is easy but I am trying for a for hours already.
Thanks!

Tom