mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/graph] ValuesController: add comments
This commit is contained in:
committed by
LeaNumworks
parent
38eaf9b051
commit
b91ea42286
@@ -265,6 +265,7 @@ void ValuesController::updateNumberOfColumns() const {
|
||||
}
|
||||
m_numberOfColumns = 0;
|
||||
for (int plotTypeIndex = 0; plotTypeIndex < ContinuousFunction::k_numberOfPlotTypes; plotTypeIndex++) {
|
||||
// Count abscissa column if the sub table does exist
|
||||
m_numberOfColumnsForType[plotTypeIndex] += (m_numberOfColumnsForType[plotTypeIndex] > 0);
|
||||
m_numberOfColumns += m_numberOfColumnsForType[plotTypeIndex];
|
||||
}
|
||||
|
||||
@@ -42,6 +42,8 @@ private:
|
||||
int numberOfColumnsForRecord(Ion::Storage::Record record) const;
|
||||
Shared::Interval * intervalAtColumn(int columnIndex) override;
|
||||
I18n::Message valuesParameterMessageAtColumn(int columnIndex) const override;
|
||||
/* The paramater i should be the column index and plotTypeAtColumn changes it
|
||||
* to be the relative column index within the sub table. */
|
||||
Shared::ContinuousFunction::PlotType plotTypeAtColumn(int * i) const;
|
||||
int maxNumberOfCells() override;
|
||||
int maxNumberOfFunctions() override;
|
||||
|
||||
Reference in New Issue
Block a user