Task #713

Feature #269: Graphics generation, rendering and interaction, features list

Task #714: RCP: x.x, ChartsEngine, CAH

RCP: x.x, ChartsEngine, CAH, basic implementations

Added by Sebastien Jacquot over 5 years ago. Updated 9 months ago.

Status:In Progress Start date:03/21/2014
Priority:High Due date:
Assignee:- % Done:

60%

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

Description

TBX: Implement basic JFreeChart and R charts engines CAH 2D and 3D chart plotting
- for R, produce at least the same result as TXM 0.7.5
RCP: Implement basic JFreeChart and Batik SVG charts editors (with zoom, pan and export view support)

1) implement the CAH 2D (line plot based chart ? the best approach may be to use a, XY step renderer) and CAH 3D (scatter plot based chart ?) in JFreeChart
2) add some methods in CAH to provide better access and cache to and from the R FactoMineR result as in CA class (e.g. getClusterCoords(), getHeights())
2) separate UI code from data and computing code in CAHEditor, CAHEditorInput and ComputeCAH classes
3) add the generic SWT ChartEditorPart creation for CAH with tool bar extension CAH oriented


Related issues

related to Feature #807: RCP: 0.7.6, replace "Export SVG" with "Export chart" comm... New 05/15/2014

History

#1 Updated by Sebastien Jacquot over 5 years ago

  • Parent task changed from #269 to #714

#2 Updated by Serge Heiden over 5 years ago

  • Category set to UI / Interaction

#3 Updated by Sebastien Jacquot over 5 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot over 5 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot over 5 years ago

  • Description updated (diff)
  • Target version changed from TXM 0.7.6 to TXM 0.7.7

#6 Updated by Sebastien Jacquot over 5 years ago

  • Description updated (diff)

#7 Updated by Sebastien Jacquot over 5 years ago

  • % Done changed from 0 to 50

DONE: separate UI code from data and computing code in CAHEditor, CAHEditorInput and ComputeCAH classes
DONE: add some methods in CAH to provide better access and cache to and from the R FactoMineR result as in CA class (e.g. getClusterCoords(), getHeights())
DONE: the CAH command uses now the SWT chart components provider (but R charts engine usage is forced even if the current chart engine is JFC)
The CAH 2D JFC chart implementation is still in progress.

#8 Updated by Sebastien Jacquot about 5 years ago

  • Category changed from UI / Interaction to Charts

#9 Updated by Sebastien Jacquot about 5 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8

#10 Updated by Sebastien Jacquot almost 5 years ago

  • % Done changed from 50 to 60

DEV important notes:
The FactoMineR R HCPC aggregation contains an nrow(parts) * 2 matrix with the merge data of clusters in res\$call\$t\$tree\$merge, for example:


-5    -6
-3    -4
-7    1
2    3
4    5

The absolute number values are the index of rows starting at 1 (in the unsorted row names vector). Negative value means a pair.
The heights are stored in res\$call\$t\$tree\$height.

The HCPC plot f.draw.tree sub-function does not seem to use the heights for drawing the tree but seems to directly use the coordinates.

The eigenvalues are stored in res\$call\$t\$res\$eig.

At this moment I'm trying to port the R source code of f.draw.tree to Java.

#11 Updated by Sebastien Jacquot over 4 years ago

  • Status changed from New to In Progress
  • Priority changed from Normal to High

#12 Updated by Matthieu Decorde about 4 years ago

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

#13 Updated by Sebastien Jacquot about 1 year ago

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

#14 Updated by Sebastien Jacquot 9 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

Also available in: Atom PDF