Fl_chart: Option to align title

Created on 8 Jul 2019  Â·  8Comments  Â·  Source: imaNNeoFighT/fl_chart

today its hardcoded in "void drawTitles"
in this line
final TextPainter tp = TextPainter(text: span, textAlign: TextAlign.center, textDirection: TextDirection.ltr);

enhancement

All 8 comments

May I ask you to show your use-case, I want to know why you need it.

Screen Shot 2019-07-09 at 9 37 33
Look at the Y titles , as I try to use monospace font to make the width of the label the same as all labels and its still doesn't look good

Hi,
Unfortunately, Github started banning Iranian users while ago,
If they didn't stop their action, I can't continue on this repo,
read more it here,
If you want to prevent this unfair action, give a start on this repository and say your support by creating an issue, and spread it.
Best regards,
Iman Khoshabi

I think it is not related to the alignment of text,
you can prevent to draw your first title to solve your problem.
let me know if you still need the alignment feature

I'm gonna close it If I don't get any answer till tomorrow.

What?

Was this page helpful?
0 / 5 - 0 ratings