ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Series/Fastline.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Steema.TeeChart.Samples
{
public class SeriesType_Fastline : Samples.BaseForm
{
private Steema.TeeChart.Styles.FastLine fastLineSeries1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.Button button1;
private Steema.TeeChart.Styles.FastLine fastLineSeries2;
private System.ComponentModel.IContainer components = null;
public SeriesType_Fastline()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
// Make the chart flicker by default, only for this demo
tChart1.Graphics3D.BufferStyle = Drawing.BufferStyle.None;
// hide things for better speed
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
tChart1.Header.Visible = false;
tChart1.Footer.Visible = false;
// 1000 random points each series
Random r = new Random();
int tmprandom;
for (int t=1;t<1000;t++)
{
tmprandom = r.Next(Math.Abs(500-t))-(Math.Abs(500-t) / 2);
fastLineSeries1.Add(1000-t+tmprandom);
fastLineSeries2.Add(t+tmprandom);
}
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Designer generated code
/// <summary>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。