How is possible to capture a click on an element of a StackedVerticalBarChart in order to have information about the element on which was clicked???
Many thanks
Massimiliano
stackedbar
Re: stackedbar
Yes, take a look at MouseListenerDemo2.java in the com.jrefinery.chart.demo package. It's for an ordinary bar chart, but if you change:
createVerticalBarChart(...)
to:
createStackedVerticalBarChart(...)
...the demo still works and should give you what you want.
Regards,
DG.
createVerticalBarChart(...)
to:
createStackedVerticalBarChart(...)
...the demo still works and should give you what you want.
Regards,
DG.