addEntryByIndex method

void addEntryByIndex(
  1. int index,
  2. Entry entry,
  3. int dataSetIndex
)

Implementation

void addEntryByIndex(int index, Entry entry, int dataSetIndex) {
  var dataSet = getData()!.getDataSetByIndex(dataSetIndex);
  if (dataSet != null) {
    dataSet.addEntryByIndex(index, entry);
  }
}