如何在我的图表的Y轴上设置我的自定义值 [英] How to set my custom values on Y-axis of my chart

查看:166
本文介绍了如何在我的图表的Y轴上设置我的自定义值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

系列标签的teechart问题

打印标签。 Jan,Feb,Mar .... On Y axis of tchart

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

Borland c ++


Borland c++

推荐答案

我没有Borland C ++,但假设TeeChart附带它与ActiveX TeeChart相同,需要做这样的事情:

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

这篇关于如何在我的图表的Y轴上设置我的自定义值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆