|
|
DQChart Control > Events > ChartChanged |
ChartChanged
Applies to: |
DQChart Active X Control |
Description: |
Fires when mouse-operation changes the chart scale and offset. This can only be changed when the Lock property is set to False. Returns Ymax and Ymin. |
Example: |
Private Sub DataqSdk1_ NewData(ByVal Count As Integer) DQChart1. Chart (DataqSdk1. GetData) End Sub
Private Sub DQChart1_ChartChanged(ByVal Min As Long, ByVal Max As Long) 'Label 1 and Label2 will be the same Label1.Caption = Min Label2.Caption = DQChart1. Ymin Label3 and Label4 will be the same Label3.Caption = Max Label4.Caption = DQChart1. Ymax End Sub
Private Sub Form_Load() DQChart1. Lock = False End Sub
Private Sub Start_Click() DataqSdk1. EventPoint = 20 DataqSdk1. Start End Sub
Private Sub Stop_Click() DataqSdk1. Stop End Sub |