今年11月,我们的客户购买了2016年TeeChart for .NET,现在他们遇到了以下问题:
2016年

2006年

(我不能通过这里的代码,也不知道如何在这里添加文件,如果您需要代码,请告诉我)
发布于 2016-12-23 11:51:19
不幸的是,我没有看到TeeChart 2016和TeeChart 2006之间的不同之处,因为在这两个版本中都显示了相似的结果。您可以在下面的示例中看到:
TeeChartForNet V2016
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Points point1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
this.Text = tChart1.ProductVersion;
tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
tChart1.Walls.Visible = false;
tChart1.Aspect.View3D = false;
tChart1.Axes.Bottom.Grid.Visible = true;
tChart1.Axes.Left.Grid.Visible = true;
tChart1.Axes.Left.AxisPen.Visible = true;
tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Dash;
point1.FillSampleValues(100);
point1.Color = Color.Blue;
point1.Pointer.Pen.Color = Color.Black;
}TeeChartForNet V2006
public Form1(){
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Points point1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
tChart1.Panel.Gradient.Visible = false;
tChart1.Panel.Color = Color.White;
tChart1.Walls.Visible = false;
this.Text = tChart1.ProductVersion;
tChart1.Aspect.View3D = false;
point1.FillSampleValues(100);
point1.Color = Color.Blue;
point1.Pointer.Pen.Color = Color.Black;
}请您检查一下以上代码TeeChartForNet 2016在您的终端是否有效?
“图表编辑器”可以在TeeChart 2016中显示与TeeChart 2006相同的代码行。我在下面添加了不同的代码,这些代码显示了您需要做的事情:
没有编辑器组件的显示图表编辑器
tChart1.ShowEditor();用编辑器组件显示图表编辑器
ed1.ShowModal();https://stackoverflow.com/questions/41275428
复制相似问题