How to set my custom values on Y-axis of my chart [duplicate]

谁说胖子不能爱 提交于 2019-12-04 05:31:05

问题


Possible Duplicate:
teechart problem for series label

Is There any way to print labels ex. Jan , Feb , Mar.... On Y-axis of tchart

In

Borland c++


回答1:


I don't have Borland C++, but assuming the TeeChart that comes with it is the same as the ActiveX TeeChart, you'll need to do something like this:

chart.Axis.Left.Labels.Clear(); // Clear current labels
chart.Axis.Left.Labels.Add(1, "January"); // Repeat for other months


来源:https://stackoverflow.com/questions/6969719/how-to-set-my-custom-values-on-y-axis-of-my-chart

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