ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Series/Point_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 Point_TreatNulls : Steema.TeeChart.Samples.BaseNoChart
    {
        public Point_TreatNulls()
        {
            InitializeComponent();
            FillSeries();
            points1.GetVertAxis.SetMinMax(-10, 30);
        }

        private void FillSeries()
        {
            bool done  = false;
            double y;
            for (int x=0; x<=5; x++)
            {

                y = (x%2==0) ? 10: 20;

                if (x==3)
                {
                    if (!done)
                        points1.Add(x,0,Color.Transparent);
                    done = true;
                }
                else
                {
                    points1.Add(x,y);
                }
            }
        }

        private TChart tChart1;
        private GroupBox groupBox1;
        private RadioButton radioButton3;
        private RadioButton radioButton2;
        private RadioButton radioButton1;
        private Steema.TeeChart.Styles.Points points1;
        private CheckBox checkBox1;
        /// <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)

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。