canDraw property

bool canDraw

Checks whether chart and point could be drawned or not.

It checks for data length to be greater than or equal to 1.

Implementation

bool get canDraw => data.isNotEmpty;