The type of chart to render.
ChartType get type => _type;
set type(ChartType value) { if (_type == value) return; _type = value; notifyListeners(); }