ChartMarker typedef

ChartMarker = ({bool above, Color? color, bool filled, Color? haloColor, double? haloRadius, String? label, Color? outlineColor, double? outlineWidth, double? radius, double x, double y})

A circle on a point with an optional label above or below it. A marker may style itself (a result-coloured dot on a halo, say); unset styles fall back to the chart's: radius 5, filled with the line colour or the hollow colour, a 2px outline in the line colour.

Implementation

typedef ChartMarker = ({
  double x,
  double y,
  String? label,
  bool filled,
  bool above,
  Color? color,
  double? radius,
  Color? outlineColor,
  double? outlineWidth,
  Color? haloColor,
  double? haloRadius,
});