📄 frmchart.frm
字号:
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form Form1
Caption = "Demo for Displaying Data in Chart"
ClientHeight = 5205
ClientLeft = 60
ClientTop = 345
ClientWidth = 7245
Icon = "frmChart.frx":0000
LinkTopic = "Form1"
ScaleHeight = 5205
ScaleWidth = 7245
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin MSChart20Lib.MSChart MSChart1
Height = 4815
Left = 120
OleObjectBlob = "frmChart.frx":57E2
TabIndex = 0
Top = 240
Width = 7095
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'**************************************************
' Author : Vivek Patel
' Email : vivek_patel9@rediffmail.com
' Website : www.vivekpatel.cjb.net
'**************************************************
Private Sub Form_Load()
MSChart1.ShowLegend = True
MSChart1.Title = "Companies Past Years Results"
Set MSChart1.DataSource = rs
MSChart1.Refresh
End Sub
Private Sub Form_Activate()
MSChart1.Left = Form1.ScaleLeft
MSChart1.Width = Form1.ScaleWidth
MSChart1.Top = Form1.ScaleTop
MSChart1.Height = Form1.ScaleHeight
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -