[apps/shared] didChangeCell reload only cells corresponding to the

modified abscissa
This commit is contained in:
Émilie Feral
2019-10-07 11:10:46 +02:00
committed by LeaNumworks
parent cd7071277b
commit e87a096689
6 changed files with 15 additions and 11 deletions

View File

@@ -207,6 +207,10 @@ Shared::Interval * ValuesController::intervalAtColumn(int columnIndex) {
// Number of columns
int ValuesController::numberOfColumnsForAbscissaColumn(int column) {
return numberOfColumnsForPlotType((int)plotTypeAtColumn(&column));
}
int ValuesController::numberOfColumnsForRecord(Ion::Storage::Record record) const {
ExpiringPointer<ContinuousFunction> f = functionStore()->modelForRecord(record);
ContinuousFunction::PlotType plotType = f->plotType();