C语言转换问题
6、如何用代码将TeeChart的y轴分段?
答:请参考以下代码:
// change the Left axis properties
Steema.TeeChart.Axis axis = this.tChart1.Axes.Left;
axis.AxisPen.Color = Color.Red;
axis.StartPosition = 0;
axis.EndPosition = 32;
// create custom axes. This can be done at design-time
Green = new TeeChart.Axis(tChart1.Chart);
this.tChart1.Axes.Custom.Add(Green);
Green.AxisPen.Color = Color.Green;
Green.StartPosition = 34;
Green.EndPosition = 65;
Blue = new TeeChart.Axis(tChart1.Chart);
this.tChart1.Axes.Custom.Add(Blue);
Blue.AxisPen.Color = Color.Blue;
Blue.StartPosition = 67;
Blue.EndPosition = 100;
怎么在VC中写这些代码呢,老是出现编译错误