swtchart

SWTChart mouse event handling

无人久伴 提交于 2019-12-11 09:19:26
问题 I have found SWTChart library and just wonder how it would be possible to select with the mouse a range e.g. 1 to 3 on the x-axis and I would get all y-axis values which belongs to the selected x values. (source: swtchart.org) package org.swtchart.examples; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.swtchart.Chart; import org.swtchart