Scroll chart with mouse wheel in TeeChart
问题 Default way to scroll chart is to drag mouse holding right button. I need to scroll with mouse wheel. I haven't found any API to enable/disable mouse wheel scrolling. I also tried to add MouseWheelListener to the chart itself, but it never gets called. Is it possible to use mouse wheel in TeeChart lib? My application is Eclipse RCP using SWT. 回答1: The following code works fine for me with TeeChart Java SWT in Eclipse: Bar bar1 = new Bar(tChart1.getChart()); bar1.fillSampleValues(); tChart1