ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Components/Series_XMLSource.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_XMLSource : Steema.TeeChart.Samples.Series_TextSource
	{
		private Steema.TeeChart.Data.XmlSource xmlSource1;
		private System.ComponentModel.IContainer components = null;

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

			textBox3.Text = "http://www.steema.com/SampleNETData.xml";
		}

		/// <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>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			this.xmlSource1 = new Steema.TeeChart.Data.XmlSource();
			this.panel1.SuspendLayout();
			this.panel2.SuspendLayout();
			this.SuspendLayout();
			// 
			// textBox2
			// 
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(232, 154);
			this.textBox2.Text = @"<chart>
<series title=""Points Series"" type=""Points"">
<points count=""6"">
<point  text=""a"" color=""#FF8040"" Y=""1086""/>
<point  text=""b"" color=""#008080"" Y=""1197""/>
<point  text=""c"" color=""#FF00FF"" Y=""1126""/>
<point  text=""d"" color=""#FFFF00"" Y=""1135""/>
<point  text=""e"" color=""#000080"" Y=""1182""/>
<point  text=""f"" color=""#FF0000"" Y=""1089""/>
</points>
</series>
</chart>";

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

AI 解读 AI

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

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