teechart problem for series label

懵懂的女人 提交于 2019-12-18 09:40:48

问题


series[0]->AddXY(30,10,'label1',clRed);
series[0]->parent = chart;

This is my code to print 1 series on chart.
Now I am getting label1 printed on X axis.
Is there any way to print this label on Yaxis.


回答1:


You should set left axis LabelStyle to talText, for example:

Chart1->Axes->Left->LabelStyle = talText;


来源:https://stackoverflow.com/questions/7011648/teechart-problem-for-series-label

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!