entronad / graphic

A grammar of data visualization and Flutter charting library.

Home Page:https://pub.dev/packages/graphic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get original data in custom shape?

Yonkers opened this issue · comments

commented

I want to draw violin shape in custom shape class ViolinShape, Variable can't pass a list of points , one way is to pass violin points to custom shape class in constructor like:

Map<String, List<Point>> points;
ViolinShape({violinPoints: points});

is there a better way to do this?