ChartOptions constructor

ChartOptions({
  1. bool responsive,
  2. num responsiveAnimationDuration,
  3. bool maintainAspectRatio,
  4. List<String> events,
  5. Func1Opt1 onClick,
  6. ChartTitleOptions title,
  7. ChartLegendOptions legend,
  8. ChartTooltipOptions tooltips,
  9. ChartHoverOptions hover,
  10. ChartAnimationOptions animation,
  11. ChartElementsOptions elements,
  12. ChartScales<TickOptions> scales,
  13. num cutoutPercentage,
})

Implementation

external factory ChartOptions(
    {bool responsive,
    num responsiveAnimationDuration,
    bool maintainAspectRatio,
    List<String> events,
    Func1Opt1<dynamic, dynamic> onClick,
    ChartTitleOptions title,
    ChartLegendOptions legend,
    ChartTooltipOptions tooltips,
    ChartHoverOptions hover,
    ChartAnimationOptions animation,
    ChartElementsOptions elements,
    ChartScales scales,
    num cutoutPercentage});