ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Series/BoxPlot_Series.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Steema.TeeChart.Samples
{
public class BoxPlot_Series : Samples.BaseForm
{
private Steema.TeeChart.Styles.Box boxSeries1;
private Steema.TeeChart.Styles.Box boxSeries2;
private Steema.TeeChart.Styles.Box boxSeries3;
private System.Windows.Forms.Button button1;
private Steema.TeeChart.Tools.GridBand gridBand1;
private System.ComponentModel.IContainer components = null;
public BoxPlot_Series()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
boxSeries1.Add(new double[6] {3,6,8,15,19,21});
boxSeries2.Add(new double[4] {5,7,12,21});
boxSeries3.Add(new double[5] {6,7,8,15,21});
// A simple trick to force custom axis labels on bottom axis.
// In this case, series titles
Steema.TeeChart.AxisLabelsItems labels = tChart1.Axes.Bottom.Labels.Items;
labels.Clear();
foreach (Styles.Box b in tChart1.Series)
labels.Add(b.Position,b.Title);
}
/// <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.boxSeries1 = new Steema.TeeChart.Styles.Box();
this.boxSeries2 = new Steema.TeeChart.Styles.Box();
this.boxSeries3 = new Steema.TeeChart.Styles.Box();
this.button1 = new System.Windows.Forms.Button();
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。