Task #814

RCP: 0.7.6, match the zoom and pan user entries of SVG Batik editor to JFC chart editor

Added by Sebastien Jacquot about 5 years ago. Updated 4 months ago.

Status:New Start date:06/18/2014
Priority:High Due date:
Assignee:- % Done:

100%

Category:Charts Spent time: -
Target version:TXM 0.8.0

Description

Match the zoom and pan user entries of SVG Batik editor to JFC chart editor
Use the internal RCP binding system ?


Subtasks

Bug #872: RCP: 0.7.6, Mac OS X, the right mouse click pan doesn't w...Closed

History

#1 Updated by Sebastien Jacquot about 5 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 almost 5 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8

#3 Updated by Matthieu Decorde almost 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#4 Updated by Sebastien Jacquot over 2 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:
  • 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 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

Also available in: Atom PDF