Opened 16 years ago
Closed 16 years ago
#201 closed task (fixed)
Sorting the plot legend
Reported by: | Jari Häkkinen | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | output | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
I think the legend in the plots should be sorted in some well defined way. It may already be well defined but I don't like it. I'd like to see the order in falling order on the number of lines contributed.
Any thoughts?
Is related to #75
Change History (4)
comment:1 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 16 years ago by
The hard part here is to define what we want.
At the time being authors are sorted with respect to their name. This is so because in the Stats class we have a map<string, vector> for each line type. The string is the name of the a author and the valuie is the corresponding statistics (not accumulated).
At the time being we are simply iterating through this map and plotting the values. It would be a simple task to change the order of the plotting in any definable way.
comment:3 Changed 16 years ago by
Milestone: | → 0.6 |
---|---|
Status: | new → assigned |
Sorting with respect to number of contributed lines makes sense, as this will make the lines sorted the same in the legend as the very right end of the plot.
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
added reference to ticket:75