将自定义标签(而不是ZEDGRAPH中的实际值)添加到yaxis [英] Add custom labels to the yaxis instead of actual values in ZEDGRAPH

查看:110
本文介绍了将自定义标签(而不是ZEDGRAPH中的实际值)添加到yaxis的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我尝试在yaxis中添加添加自定义标签,而不是在zedgraph中添加实际值.我有这样的结构:

Hi,
I try to add Add custom labels to the yaxis instead of actual values in zedgraph.I have a structure like that :

myPane.YAxis.Scale.Min = 0;
myPane.YAxis.Scale.Max = 1;
myPane.YAxis.Scale.MajorStep = 0.1;
myPane.YAxis.IsVisible = true;
myPane.YAxis.Title.IsVisible = false;




我尝试完成将myPane.YAxis.Scale.Min的标签分配给"Min"字,而不是0.然后将myPane.YAxis.Scale.Max的标签分配到"Max"字而不是1,并分配中间的标签.轴指向(Min + Max)/2"字样.其他实际标签也应该是不可见的.

我怎样才能做到这一点?请帮助..




I try to accomplish assign label of myPane.YAxis.Scale.Min to the "Min" word instead of 0. And label of myPane.YAxis.Scale.Max to the "Max" word instead of 1 and assign label of middle of the axis to the "(Min+Max)/2 " word. Other actual labels also should be invisible.

How can I do this? Please help..

推荐答案

在这里,您可以进行有关ZedGraph的讨论和问题:
Zedgraph论坛 [ Zedgraph论坛帮助 [
Here you go for the discussion and issues of ZedGraph:
Zedgraph forums[^]
Zedgraph forum Help[^]


这篇关于将自定义标签(而不是ZEDGRAPH中的实际值)添加到yaxis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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