RadarChartPainter class

Paints RadarChartData in the canvas, it can be used in a CustomPainter

Inheritance

Constructors

RadarChartPainter()
Paints dataList into canvas, it is the animating RadarChartData, targetData is the animation's target and remains the same during animation, then we should use it when we need to show tooltips or something like that, because dataList is changing constantly.

Properties

dataSetsPosition List<RadarDataSetsPosition>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateDataSetsPosition(Size viewSize, PaintHolder<RadarChartData> holder) List<RadarDataSetsPosition>
drawDataSets(CanvasWrapper canvasWrapper, PaintHolder<RadarChartData> holder) → void
drawGrids(CanvasWrapper canvasWrapper, PaintHolder<RadarChartData> holder) → void
drawTicks(BuildContext context, CanvasWrapper canvasWrapper, PaintHolder<RadarChartData> holder) → void
drawTitles(BuildContext context, CanvasWrapper canvasWrapper, PaintHolder<RadarChartData> holder) → void
handleTouch(Offset touchedPoint, Size viewSize, PaintHolder<RadarChartData> holder) RadarTouchedSpot?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(BuildContext context, CanvasWrapper canvasWrapper, PaintHolder<RadarChartData> holder) → void
Paints RadarChartData into the provided canvas.
override
radarCenterX(Size size) double
radarCenterY(Size size) double
radarRadius(Size size) double
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited