Task #814

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

Ajouté par Sebastien Jacquot il y a plus de 3 ans. Mis à jour il y a 7 mois.

Statut:New Début:18/06/2014
Priorité:High Echéance:
Assigné à:- % réalisé:

80%

Catégorie:Charts Temps passé: -
Version cible:TXM 0.7.9

Description

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


Sous-tâches

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

Historique

#1 Mis à jour par Sebastien Jacquot il y a plus de 3 ans

  • Sujet changé de RCP: 0.7.5, match the zoom and pan user entries of SVG Batik editor to JFC chart editor à RCP: 0.7.6, match the zoom and pan user entries of SVG Batik editor to JFC chart editor
  • Assigné à Sebastien Jacquot supprimé
  • Version cible changé de TXM 0.7.6 à 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 Mis à jour par Sebastien Jacquot il y a environ 3 ans

  • Version cible changé de TXM 0.7.7 à TXM 0.7.8

#3 Mis à jour par Matthieu Decorde il y a environ 2 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.7.9

#4 Mis à jour par Sebastien Jacquot il y a 7 mois

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

Formats disponibles : Atom PDF