ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Series/Series_PointFigure.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;

using System.Windows.Forms;


namespace Steema.TeeChart.Samples
{
	public class Series_PointFigure : Steema.TeeChart.Samples.BaseForm
	{
		private Steema.TeeChart.Styles.PointFigure pointFigure1;
    private Label label3;
    private Label label2;
    private NumericUpDown numericUpDown1;
    private ComboBox comboBox2;
    private Label label1;
    private ComboBox comboBox1;
    private CheckBox cBoxMarks;
    private CheckBox cboxMonths;
		private System.ComponentModel.IContainer components = null;

		public Series_PointFigure()
		{
			// This call is required by the Windows Form Designer.
			InitializeComponent();

      tChart1.Aspect.View3D = false;
      tChart1.Axes.Left.Grid.Centered = true;
      tChart1.Axes.Bottom.Grid.Centered = true;
      tChart1.Legend.Visible = false;
      tChart1.Axes.Left.Labels.Font.Size = 12;

      tChart1.Axes.Left.Labels.ValueFormat = "0.00";

			//this.pointFigure1.FillSampleValues(30);
      loadDemoData();
			this.pointFigure1.BoxSize = 1;
      this.pointFigure1.ReversalAmount = 2;

      pointFigure1.ShowMonths = true;
      pointFigure1.MonthFont.Color = Color.GreenYellow;
      pointFigure1.Marks.Visible = true;
      pointFigure1.BoxType = Styles.PointFigure.BoxTypes.Standard;
      pointFigure1.PricingMethod = Steema.TeeChart.Styles.PointFigure.PricingMethods.Close;
      comboBox1.SelectedIndex = 1;
      pointFigure1.Period = 14;

      this.pointFigure1.UpSymbol.Pen.Color = Color.White;
      this.pointFigure1.UpSymbol.Pen.Width = 2;
      this.pointFigure1.UpSymbol.Color = Color.White;
      this.pointFigure1.DownSymbol.Pen.Color = Color.White;
      this.pointFigure1.DownSymbol.Pen.Width = 2;
      this.pointFigure1.DownSymbol.VertSize = 3;
      this.pointFigure1.UpSymbol.VertSize = 3;
      this.pointFigure1.DownSymbol.HorizSize = 3;
      this.pointFigure1.UpSymbol.HorizSize = 3;
		}

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

AI 解读 AI

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

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