Opened 6 years ago

Closed 5 years ago

#1647 closed enhancement (done)

The VariableFrequenyAnalyzer should display the variables sorted by their name

Reported by: mkommend Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.6
Component: Problems.DataAnalysis.Symbolic Version: 3.3.6
Keywords: Cc:

Description

Currently the variables in the resulting data table are displayed in random order. If it is possible they should be sorted by their name to ensure the same colors for variables over multiple algorithm runs.

Change History (8)

comment:1 follow-up: Changed 6 years ago by gkronber

Actually, I think it would be great to sort them in order of relevance (average frequency).

comment:2 in reply to: ↑ 1 Changed 6 years ago by mkommend

Replying to gkronber:

Actually, I think it would be great to sort them in order of relevance (average frequency).

I don't think that ordering by relevance is really useful. The reason why ordering by name is IMHO superior to ordering by relevance is that so the variable colors do not change over different runs and therefore the charts become easily comparable. If I want to know which variable is most relevant for the problem i can still look at the variable impacts.

comment:3 Changed 6 years ago by mkommend

  • Status changed from new to accepted

comment:4 Changed 6 years ago by mkommend

r6981: Sorted variable frequencies by the variable name and added NaturalStringComparer.

comment:5 Changed 6 years ago by mkommend

I am still not completely happy with the display of the legend in the DataTable, because the legend items are first vertically aligned and only afterwards horizontally. However, I could not find a solution to this problem ([0],[1]).

[0] http://social.msdn.microsoft.com/Forums/en/MSWinWebChart/thread/4fda03b1-5f86-415f-ab83-a7bd2b551c4a

[1] http://stackoverflow.com/questions/3790407/microsoft-chart-controls-legend-item-ordering

Last edited 6 years ago by mkommend (previous) (diff)

comment:6 Changed 6 years ago by mkommend

  • Owner changed from mkommend to gkronber
  • Status changed from accepted to reviewing

comment:7 Changed 6 years ago by gkronber

  • Status changed from reviewing to readytorelease

Reviewed r6981 and the NaturalStringComparer.

comment:8 Changed 5 years ago by swagner

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.5 to 3.3.6
Note: See TracTickets for help on using tickets.