📄 form11chart.frm
字号:
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form Form11chart
BorderStyle = 1 'Fixed Single
Caption = "欠费情况饼分图"
ClientHeight = 3135
ClientLeft = 45
ClientTop = 330
ClientWidth = 7410
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3135
ScaleWidth = 7410
StartUpPosition = 1 '所有者中心
Begin MSChart20Lib.MSChart MSChart1
Height = 3135
Left = 0
OleObjectBlob = "Form11chart.frx":0000
TabIndex = 0
Top = 0
Width = 5055
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
BeginProperty Font
Name = "黑体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 180
Left = 5160
TabIndex = 7
Top = 2520
Width = 120
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "共计 元 占 "
BeginProperty Font
Name = "华文中宋"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 5160
TabIndex = 6
Top = 1920
Width = 1920
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "三年以上欠费用户:"
BeginProperty Font
Name = "华文中宋"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 5160
TabIndex = 5
Top = 1560
Width = 2055
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "共计 元 占 "
BeginProperty Font
Name = "华文中宋"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 5160
TabIndex = 4
Top = 1200
Width = 1920
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "二年欠费用户:"
BeginProperty Font
Name = "华文中宋"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 5160
TabIndex = 3
Top = 840
Width = 1335
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "共计 元 占 "
BeginProperty Font
Name = "华文中宋"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 5160
TabIndex = 2
Top = 480
Width = 1920
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "一年欠费用户:"
BeginProperty Font
Name = "华文中宋"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 5160
TabIndex = 1
Top = 120
Width = 1335
End
End
Attribute VB_Name = "Form11chart"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
Label2.Caption = "共计 " + Str(duechart(1, 2)) + "元 占 " + Format(duechart(1, 2) / (duechart(1, 2) + duechart(2, 2) + duechart(3, 2)), "#0.00%")
Label4.Caption = "共计 " + Str(duechart(2, 2)) + "元 占 " + Format(duechart(2, 2) / (duechart(1, 2) + duechart(2, 2) + duechart(3, 2)), "#0.00%")
Label6.Caption = "共计 " + Str(duechart(3, 2)) + "元 占 " + Format(duechart(3, 2) / (duechart(3, 2) + duechart(2, 2) + duechart(3, 2)), "#0.00%")
Label7.Caption = "共发生欠费 " + Str(duechart(1, 2) + duechart(2, 2) + duechart(3, 2)) + " 元"
MSChart1.ChartData = duechart
MSChart1.Row = 1
MSChart1.RowLabel = "一年欠费用户"
'MSChart1.ColumnLabelIndex = 2
MSChart1.Row = 2
MSChart1.RowLabel = "二年欠费用户"
'MSChart1.ColumnLabelIndex = 1
MSChart1.Row = 3
MSChart1.RowLabel = "三年以上欠费用户"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -