ChartModel constructor

ChartModel(
  1. WidgetModel? parent,
  2. String? id, {
  3. dynamic type,
  4. dynamic showlegend,
  5. dynamic horizontal,
  6. dynamic animated,
  7. dynamic selected,
  8. dynamic legendsize,
})

Implementation

ChartModel(WidgetModel? parent, String? id,
    {
      dynamic type,
      dynamic showlegend,
      dynamic horizontal,
      dynamic animated,
      dynamic selected,
      dynamic legendsize,
    }) : super(parent, id) {
  this.selected         = selected;
  this.animated         = animated;
  this.horizontal       = horizontal;
  this.showlegend       = showlegend;
  this.legendsize       = legendsize;
  this.type             = type?.trim()?.toLowerCase();

  busy = false;
}