Task #2034

Restore access to the pop up dialog of JFreeChart to edit chart rendering properties

Ajouté par Sebastien Jacquot il y a presque 2 ans. Mis à jour il y a 2 mois.

Statut:Feedback Début:11/02/2017
Priorité:Normal Echéance:
Assigné à:- % réalisé:

80%

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

Description

Restore access to the pop up dialog of JFreeChart to edit chart rendering properties.
(The default ChartPanel class offers a context menu that opens a component to edit some chart properties. This menu has been hidden at this moment.)

Validation tests

  • create some charts
  • open the chart properties from the chart tool bar button ou the empty area context menu
    => change some rendering properties from the opened pop up dialog
    => the properties dialog lang must be the same as TXM
    => note: these properties are not saved when closing the editor (only those modified in the rendering tool bar are saved)
  • additional: export the chart view in some formats and check the exported file
  • note: the changes are only saved in the same session (closing/reopening a result) but not between sessions (not persisted)

Historique

#1 Mis à jour par Sebastien Jacquot il y a presque 2 ans

The default context menu also permits to copy the chart, we may restore this functionality too and add it to the RCP chart context menu + bind it to CTRL + C
  • get the source code of the command
  • define a method in SWTChartsComponentsProvider copyChart()
  • see if Batik also permit that
  • create an AbstractHandler command in org.txm.chartsengine.rcp.handlers
  • add it to the context menu as menu contribution
  • add a button to the tool bar, name: "Copy", tooltip: "Copy to clipboard", bind it to CTRL/Meta key + C

see: http://www.java2s.com/Code/Java/2D-Graphics-GUI/ThisprogramdemonstratesthetransferofimagesbetweenaJavaapplicationandthesystemclipboard.htm

[Now has its own issue: https://forge.cbp.ens-lyon.fr/redmine/issues/2037]

#2 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Sujet changé de RCP: Restoring access to the form component of JFreeChart to edit chart parameters à Restore access to the pop up dialog of JFreeChart to edit chart rendering properties
  • Description mis à jour (diff)
  • Statut changé de New à Feedback
  • % réalisé changé de 0 à 80

#3 Mis à jour par Sebastien Jacquot il y a 5 mois

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

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

  • Description mis à jour (diff)

Formats disponibles : Atom PDF