Vertical title not horizontally center-aligned
Posted: Sat Apr 27, 2013 9:25 am
More specifically, I would not consider the above to be center-aligned as the source code suggests. Is it a bug?
Steema Software - Customer Support Forums
http://teechart.com/support/
Code: Select all
else if ((angle > 0) && (angle <= 90))
{
// KD:
// x -= delta * (n + 1);
x -= delta * (n + 1) + delta / 4;
tmpAlign = StringAlignment.CENTER;
}
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");
}