Feature #1521

CA chart, link the CA info rows and info columns tables sorting order to the item selectors extended selection

Added by Sebastien Jacquot over 3 years ago. Updated 4 months ago.

Status:Closed Start date:09/23/2015
Priority:Normal Due date:
Assignee:- % Done:

100%

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

Description

At this moment, selecting some points with arrow keys in the factorial map chart cycles through the points regardless of the order of the columns and lines information SWT tables.

Solution

To do the cyclic and extended selection of chart items according to the rows and cols SWT table order we need to redefine the multiple item selector cyclic order when user sorts the table columns.
See: org.txm.tbx.chartsengine.jfreechart.renderers.MultipleItemsSelector.setCyclicItemsOrder(TreeMap<Integer, ArrayList<Integer>>)

Validation tests

  • create a CA
  • click in the chart to give it the focus (if needed)
  • change the chart items selection using keyboard arrow keys and SHIFT + arrow keys
    => check that the corresponding table lines are well selected/deselected in the cols and rows info editors
    => current chart item selection behavior is to cycle through the rows then the columns
  • sort the infos tables on some column and select some points with the keyboard in the chart (with and without SHIFT key modifier)
    => the selection must match the tables lines order permitting, for example, to cycle by mass, dist, etc., ascendant and descendant order.
  • also do some tests with mouse extended selection (SHIFT + left click) and different sorted columns
    (according to your OS you may need to click back in the chart after sorting the tables because of some focus bug waiting to be fixed)
  • please provide the OS used for the tests

History

#1 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.7.8
  • % Done changed from 0 to 80

#3 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)

#6 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)

#7 Updated by Sebastien Jacquot about 3 years ago

  • Description updated (diff)

#8 Updated by Sebastien Jacquot about 3 years ago

  • Subject changed from Link the CA info rows and info columns tables sorting order to the item selectors extended selection to CA chart, link the CA info rows and info columns tables sorting order to the item selectors extended selection

#9 Updated by Matthieu Decorde about 3 years ago

  • Tracker changed from Task to Feature

#10 Updated by Sebastien Jacquot about 3 years ago

  • Status changed from Feedback to In Progress
  • % Done changed from 80 to 70

TODO: do not give back the focus to the chart when sorting a column

#11 Updated by Sebastien Jacquot about 3 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 70 to 80

Done. The focus is no more given back to the chart after a column sort.

#12 Updated by Sebastien Jacquot about 2 years ago

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

#13 Updated by Sebastien Jacquot 10 months ago

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

#14 Updated by Sebastien Jacquot 4 months ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF