除去在C#图表及放网格线;使得较厚的图线 [英] removing grid lines in C# Chart & making thicker graph lines

查看:545
本文介绍了除去在C#图表及放网格线;使得较厚的图线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是内置的图表类.NET 4中,我只是不能找到一种方法,以消除在图表上显示网格线。是否有这样做的一种方式?
和其他问题,如何让我的图线变粗

I'm using the built in chart class of .net 4 and I just cant find a way to remove the grid lines on the chart. Is there a way of doing it? And another question, how do I make the graph lines thicker?

感谢:?)

推荐答案

我相信,线的宽度可以使用边框宽度 BorderDashStyle 的改变系列。

I believe the line width can be changed using BorderWidth and BorderDashStyle of the series.

有关网格线,尝试用 MajorGrid MinorGrid MajorTickMark MinorTickMark 间隔的轴。

For the gridlines, try playing with MajorGrid, MinorGrid, MajorTickMark, MinorTickMark and Interval on the axis.

这篇关于除去在C#图表及放网格线;使得较厚的图线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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