google / chartjs.dart

ARCHIVED/UNMAINTAINED Dart API for Chart.js
https://pub.dev/packages/chartjs
Other
143 stars 53 forks source link

Missing Align in ChartLegendOptions #51

Closed tomas-kucera closed 10 months ago

tomas-kucera commented 3 years ago

There are two attributes for positioning legend:

Solution: just add to the begging of class ChartLegendOptions:

external String /*'start'|'center'|'end'*/ get align;
external set align(String /*'start'|'center'|'end'*/ v);

and

String align,

to the top of the external factory ChartLegendOptions at the bottom of the class.

kevmoo commented 3 years ago

PRs welcome!

tomas-kucera commented 10 months ago

I guess we can close this as it was completed.