ProjectsForTest/WinForm.NET5TeeChart-NET-Pro-Samples/Themes/Theme_Custom.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
namespace Steema.TeeChart.Samples
{
public class Theme_Custom : Steema.TeeChart.Samples.BaseForm
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.CheckBox cbBase64;
private System.Windows.Forms.Button bApply;
private Steema.TeeChart.TChart tChart2;
public Theme_Custom()
{
// This call is required by the Windows Form Designer.
InitializeComponent();
tChart2 = new Steema.TeeChart.TChart();
tChart2.Dock = DockStyle.Right;
tChart2.Width = 400;
chartContainer.Controls.Add(tChart2);
CreateStyle();
tChart1.Series.Add(new Steema.TeeChart.Styles.Points());
tChart1[0].FillSampleValues();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void CreateStyle()
{
for(int i = 0; i < tChart1.Axes.Count; ++i)
{
Axis a = tChart1.Axes[i];
a.Labels.Font.Name = "Verdana";
a.Labels.Font.Size = 7;
}
tChart1.Aspect.View3D = false;
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。