开发者

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

开发者 https://www.devze.com 2023-03-27 04:55 出处:网络
This question already has an answer here: Closed 11 years ago. Possible Duplicate: teechart problem for series label
This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

teechart problem for series label

Is There an开发者_Python百科y way to print labels ex. Jan , Feb , Mar.... On Y-axis of tchart

In

Borland c++


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
0

精彩评论

暂无评论...
验证码 换一张
取 消