如何让zedgraph画折线图时Y轴设置为不等间距
4个回答
2017-03-22
展开全部
这个我看了,里面介绍将折线图纵坐标(Y轴)的间距设置成不等间距的。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2017-04-10
展开全部
//自定义Y轴名称
string[] labels = { "0", "50", "100", "150", "200", "400", "600", "800", "1000", "1200", "1400", "1600", "1800", "2000", "2500", "3000", "3500", "4000", "6000", "8000", "10000" };
this.zedGraphControl1.GraphPane.YAxis.Scale.TextLabels = labels;//Y轴名称列表
this.zedGraphControl1.GraphPane.YAxis.Type = AxisType.Text;//Y轴名称类型
string[] labels = { "0", "50", "100", "150", "200", "400", "600", "800", "1000", "1200", "1400", "1600", "1800", "2000", "2500", "3000", "3500", "4000", "6000", "8000", "10000" };
this.zedGraphControl1.GraphPane.YAxis.Scale.TextLabels = labels;//Y轴名称列表
this.zedGraphControl1.GraphPane.YAxis.Type = AxisType.Text;//Y轴名称类型
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2017-04-01
展开全部
//自定义Y轴名称
string[] labels = { "0", "50", "100", "150", "200", "400", "600", "800", "1000", "1200", "1400", "1600", "1800", "2000", "2500", "3000", "3500", "4000", "6000", "8000", "10000" };
this.zedGraphControl1.GraphPane.YAxis.Scale.TextLabels = labels;//Y轴名称列表
this.zedGraphControl1.GraphPane.YAxis.Type = AxisType.Text;//Y轴名称类型
string[] labels = { "0", "50", "100", "150", "200", "400", "600", "800", "1000", "1200", "1400", "1600", "1800", "2000", "2500", "3000", "3500", "4000", "6000", "8000", "10000" };
this.zedGraphControl1.GraphPane.YAxis.Scale.TextLabels = labels;//Y轴名称列表
this.zedGraphControl1.GraphPane.YAxis.Type = AxisType.Text;//Y轴名称类型
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询