ChartLegendOptions constructor

ChartLegendOptions({
  1. String align,
  2. bool display,
  3. String position,
  4. bool fullWidth,
  5. void onClick(
    1. MouseEvent event,
    2. ChartLegendItem legendItem
    ),
  6. void onHover(
    1. MouseEvent event,
    2. ChartLegendItem legendItem
    ),
  7. ChartLegendLabelOptions labels,
  8. bool reverse,
})

Implementation

external factory ChartLegendOptions(
    {String /*'start'|'center'|'end'*/ align,
    bool display,
    String /*'left'|'right'|'top'|'bottom'*/ position,
    bool fullWidth,
    void Function(MouseEvent event, ChartLegendItem legendItem) onClick,
    void Function(MouseEvent event, ChartLegendItem legendItem) onHover,
    ChartLegendLabelOptions labels,
    bool reverse});