ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Series/Area_TreatNulls.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
#if VS2005
using System.Collections.Generic;
#endif
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Steema.TeeChart.Samples
{
public class Area_TreatNulls : Steema.TeeChart.Samples.BaseForm
{
private void FillSeries()
{
bool done = false;
double y;
for (int x = 0; x <= 10; x++)
{
y = (x % 2 == 0) ? 10 : 20;
if ((x >= 3) && (x <= 7))
{
if (!done) area1.Add(x, 0, Color.Transparent);
done = true;
}
else area1.Add(x, y);
}
}
public Area_TreatNulls()
{
InitializeComponent();
area1.GetVertAxis.SetMinMax(-10, 30);
FillSeries();
area1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint;
}
private Label label1;
private ComboBox comboBox1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。