Vertical title not horizontally center-aligned
Vertical title not horizontally center-aligned
More specifically, I would not consider the above to be center-aligned as the source code suggests. Is it a bug?
Re: Vertical title not horizontally center-aligned
I changed to the following in Axis.java:
Not sure if it's 100% correct, but it works for my chart. Clearly, there is some error at that particular line!
Code: Select all
else if ((angle > 0) && (angle <= 90))
{
// KD:
// x -= delta * (n + 1);
x -= delta * (n + 1) + delta / 4;
tmpAlign = StringAlignment.CENTER;
}
Re: Vertical title not horizontally center-aligned
Hi,
This is how a default chart looks for me. I just set it to 2D and defined a left axis title:
It may be some property you've set that could be relevant to reproduce it. Could you please arrange a simple example project we can run as-is to reproduce the situation here?
This is how a default chart looks for me. I just set it to 2D and defined a left axis title:
Code: Select all
private TChart tChart1;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
LinearLayout group = (LinearLayout) findViewById(R.id.chart_layout1);
tChart1 = new TChart(this);
group.addView(tChart1);
tChart1.getAspect().setView3D(false);
tChart1.getAxes().getLeft().getTitle().setText("Left axis title");
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |