Skip to content

Instantly share code, notes, and snippets.

@Indy9000
Created June 13, 2021 19:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
line-chart-widget
@override
void paint(Canvas canvas, Size size) {
...
final labels = _computeLabels();
_drawYLabels(canvas, labels, points, boxW, border);
// draw x labels
final lt1 = Offset(border + boxW / 2.0, border + 4.5 * hu);
_drawXLabels(canvas, lt1, boxW);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment