addDateValue method

void addDateValue(
  1. dynamic date,
  2. dynamic value
)

Implementation

void addDateValue(dynamic date, dynamic value) {
  var dateTime = parseDateTime(date)!;

  var args = [chartObject, dateTime.millisecondsSinceEpoch, 0, value];

  ChartEngineChartJS._jsWrapper!.callMethod('addData_date_value', args);
}