Is there an easy way to disable zoom in/out feature for XYPlot which is drawn in ChartComposite ? Overriding the zoom methods for XYPlot will be a solution but I wonder if there is an easy way..
+1
A:
Try
getYourChartPanel().setDomainZoomable(false);
getYourChartPanel().setRangeZoomable(false);
Brian Agnew
2009-10-30 12:57:05
I'm not using ChartPanel, I'm using ChartComposite for SWT. ChartConposite does not have setDomainZoomable() and setRangeZoomable() methods..
penguru
2009-10-30 13:53:01
That would have been helpful to note in original question.
I82Much
2009-10-30 14:14:44
I found that ChartComposite has setDomainZoomable() and setRangeZoomable() methods too..
penguru
2009-11-03 07:45:19