ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Axis/Axis_SubAxes.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace Steema.TeeChart.Samples
{
public class Axis_SubAxes : BaseForm
{
private System.Windows.Forms.Button button1;
public Axis_SubAxes()
{
this.Load += Axis_SubAxes_Load;
InitializeComponent();
}
private void Axis_SubAxes_Load(object sender, EventArgs e)
{
InitializeChart();
}
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Header.Text = "TChart SubAxes";
tChart1.Series.Add(typeof(Styles.Line)).FillSampleValues(200);
tChart1.Axes.Left.Grid.Visible = false;
Axis subAxes = tChart1.Axes.Left.SubAxes.Add();
subAxes.Increment = 500 / 3;
subAxes.Labels.Font.Color = Color.Blue;
}
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.chartContainer.SuspendLayout();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Text = "SubAxes allow more than one axis to represent the scale of a series or set of ser" +
"ies.";
//
// panel1
//
this.panel1.Controls.Add(this.button1);
//
// tChart1
//
//
//
//
this.tChart1.Axes.Automatic = true;
this.tChart1.CurrentTheme = Steema.TeeChart.ThemeType.Opera;
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。