0

我正在使用来自 .net 的 TeeChart,我想增加图表中画线的大小。目前它正在绘制非常细的线,并非所有人都能看到。如何在 TeeChart 中增加绘图线的大小。

我从我的应用程序中附加了一个简单的图表图像。我想画出与轴线更大或相等的线。目前似乎画线尺寸小于轴线尺寸。我的意思是我想画更粗的线。

2)如何更可靠地分配轴刻度,我的意思是目前如果我的轴最小值和最大值从 0 到 6,那么它会显示在轴上,如 0、2、4、6。我希望看到像 0,1,2,3,4,5,6 这样我的意思是 1 比例增量。请帮我解决以上两件事。

1)如何增加绘图线的大小?
2)如何更方便地分配轴的比例? 在此处输入图像描述

4

2 回答 2

0

1) How to increase drawing line size?

You can set Line or FastLine Pen.Width like this:

  line1.LinePen.Width = tChart1.Axes.Left.AxisPen.Width;

2) How to assign scale of axis more convenient?

TeeChart will automatically set axis scales to the minimum increment possible provided labels don't overlap. To get a fixed axis increment you should set axis Increment property. Labels won't be allowed to overlap though.

  tChart1.Axes.Bottom.Increment = 1;

For more information on axis settings please read tutorial 4. Tutorials can be found at TeeChart's program group.

于 2013-09-03T08:09:17.993 回答
0

该图表的功能提到了对 Csharp .NET 图表控件的支持。 http://www.steema.com/teechart/net

微软有关于图表控件信息的页面:http: //msdn.microsoft.com/en-us/library/dd456632.aspx

看起来你会在那里找到如何做你想做的事情。

于 2013-09-02T18:00:30.073 回答