VtChart1.Title = "Normalized Performance Indicators for " & vendor & " " & model
VtChart1.AllowSelections = False
'Exit Sub
With VtChart1.DataGrid
.SetData 1, 1, rp, False
.SetData 2, 1, ep, False
.SetData 3, 1, maxMem, False
.SetData 4, 1, minMem, False
.SetData 5, 1, maxChan, False
.SetData 6, 1, minChan, False
.SetData 7, 1, cache, False
.SetData 8, 1, cycleTime, False
End With
pnlStatus.Caption = " Ready..."
gChartLevel = 3
End Sub
Private Sub Form_Load()
gChartLevel = 1
Data1.DatabaseName = App.Path & "\machine.mdb"
SetupTopLevelChart
End Sub
Private Sub Form_Resize()
'' Repaint is set to False to stop multiple
'' paints for a single resize event
With VtChart1
.Repaint = False
.Width = ScaleWidth
.Height = ScaleHeight - pnlStatus.Height
.Repaint = True
End With
End Sub
Private Sub mnuPreviousChart_Click()
Select Case gChartLevel
Case 2
SetupTopLevelChart
Case 3
SetupSecondLevelChart gVendor
End Select
End Sub
Private Sub VtChart1_AxisLabelSelected(AxisId As Integer, AxisIndex As Integer, labelSetIndex As Integer, LabelIndex As Integer, MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_AxisSelected(AxisId As Integer, AxisIndex As Integer, MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_AxisTitleSelected(AxisId As Integer, AxisIndex As Integer, MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_ChartSelected(MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_FootnoteSelected(MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_LegendSelected(MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_PlotSelected(MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_PointActivated(Series As Integer, DataPoint As Integer, MouseFlags As Integer, Cancel As Integer)
Cancel = True
If gChartLevel = 2 Then
VtChart1.Row = DataPoint
SetupThirdLevelChart gVendor, VtChart1.RowLabel
End If
End Sub
Private Sub VtChart1_PointLabelSelected(Series As Integer, DataPoint As Integer, MouseFlags As Integer, Cancel As Integer)
Cancel = True
End Sub
Private Sub VtChart1_SeriesActivated(Series As Integer, MouseFlags As Integer, Cancel As Integer)