addEntry method

void addEntry(
  1. Entry entry,
  2. int dataSetIndex
)

Implementation

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