ChartModel constructor
ChartModel(
- WidgetModel parent,
- String? id, {
- dynamic type,
- dynamic showlegend,
- dynamic horizontal,
- dynamic animated,
- dynamic selected,
Implementation
ChartModel(WidgetModel parent, String? id,
{
dynamic type,
dynamic showlegend,
dynamic horizontal,
dynamic animated,
dynamic selected,
}) : super(parent, id) {
this.selected = selected;
this.animated = animated;
this.horizontal = horizontal;
this.showlegend = showlegend;
this.type = type?.trim()?.toLowerCase() ?? null;
// instantiate busy observable
busy = false;
}