refresh method

  1. @override
void refresh()
override

Refreshes the rendered chart.

Implementation

@override
void refresh() {
  if (!hasChartJsObject) return;
  chartJsObject!.callMethod('update');
}