【问题标题】:How to set my custom values on Y-axis of my chart [duplicate]如何在图表的 Y 轴上设置自定义值 [重复]
【发布时间】:2011-10-21 15:12:55
【问题描述】:

可能重复:
teechart problem for series label

有什么方法可以打印标签吗? Jan , Feb , Mar.... 在 tchart 的 Y 轴上

Borland c++

【问题讨论】:

  • 我已经回答了这个here。如果不是同一个问题,请提供更详细的信息。

标签: c++ c++builder teechart


【解决方案1】:

我没有 Borland C++,但假设它附带的 TeeChart 与 ActiveX TeeChart 相同,您需要执行以下操作:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-07-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多