Task #814
RCP: 0.7.6, match the zoom and pan user entries of SVG Batik editor to JFC chart editor
Status: | New | Start date: | 06/18/2014 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 100% |
|
Category: | Charts | Spent time: | - | |
Target version: | TXM X.X |
Description
Match the zoom and pan user entries of SVG Batik editor to JFC chart editor
Use the internal RCP binding system ?
Subtasks
History
#1 Updated by Sebastien Jacquot over 9 years ago
- Subject changed from RCP: 0.7.5, match the zoom and pan user entries of SVG Batik editor to JFC chart editor to RCP: 0.7.6, match the zoom and pan user entries of SVG Batik editor to JFC chart editor
- Assignee deleted (
Sebastien Jacquot) - Target version changed from TXM 0.7.6 to TXM 0.7.7
A temporary solution has been deployed for the 0.7.6 alpha release. The controls are therefore now the same for both chart editors (SVG Batik and JFC/Java2D):
- zoom in/zoom out: mouse wheel
- pan: drag + right click
The next steps may be to define if we need to offer some user defined controls for zoom and pan, then we may use the internal Eclipse RCP binding system.
The involved class for JFC charts engine are ChartPanel (jfreechart.jar) and AbstractChartMouseListener (TBX).
NOTE: the CTRL modifier seems to be not usable on Mac OS X.
#2 Updated by Sebastien Jacquot about 9 years ago
- Target version changed from TXM 0.7.7 to TXM 0.7.8
#3 Updated by Matthieu Decorde about 8 years ago
- Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
#4 Updated by Sebastien Jacquot over 6 years ago
We now use drag + left click to pan in the view. There is a strange behavior when zooming in SVG with the mouse wheel, the coordinates of the transformation seems wrong.
Steps to reproduce:
Steps to reproduce:
- create an SVG chart
- pan the view to the extreme left
- move the mouse cursor to extreme right and zoom
- the chart is "moved" under the mouse cursor leading to a strange feeling
#5 Updated by Sebastien Jacquot about 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#6 Updated by Sebastien Jacquot almost 4 years ago
- Target version changed from TXM 0.8.0 to TXM X.X