Ticket #4718 (assigned)
Column types on a MantidTable
Reported by: | Russell Taylor | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
A follow on from #4634.
By default, a qtiplot table is created with the first column labelled as [X] and subsequent columns as [Y]. Probably for a MantidTable we should just set all columns to 'no type' unless the TableWorkspace contains a specific setting (or is of a specific type such as text). In this case, setting it from the 'top' (e.g. GenericFit) should be unnecessary.
Other points:
- At the moment, the 'plottype' within the workspace is lost on saving and loading the project. I.e. display the table workspace from a fit again and the column is back to [X] not [L].
- Overloading the Table::setColPlotDesignation(int, unsigned int) method with one that takes (int, int) is odd and unnecessary.
Change History
comment:1 Changed 9 years ago by Nick Draper
- Status changed from new to assigned
- Owner set to Roman Tolchenov
comment:2 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.1 to Release 2.2
Moved at end of release 2.1
comment:3 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.2 to Release 2.3
Moved at the end of release 2.2
comment:4 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.3 to Release 2.4
Moved to milestone 2.4
comment:5 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.4 to Release 2.5
Moved at the code freeze for release 2.4
comment:8 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.6 to Backlog
Moved to backlog at the code freeze for R2.6
comment:9 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
Bulk move to assigned at the introduction of the triage step
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5565
I disagree that everything should be notype, but you should be able to change the column type when displaying the tableworkspace.