|
|
DQChart Control > Properties > Xmax |
Xmax
Applies to: |
DQChart Active X Control |
Description: |
This property reflects the number of pixels in the X-axis of the chart There is no specific default for Xmax. Unless you specify a number of pixels, the size is determined by how large you draw the chart. If you do specify a number of pixels, the size will physically change to reflect the new information. This property is extremely useful when using the ReadDataqFile control to fill a chart with data when using MoveTo. |
Syntax: |
DQChart1.Xmax=variable (where variable is the width of the chart in pixels) |
Variable: |
|
Example: |
Private Sub DataqSdk1_ NewData(ByVal Count As Integer) DQChart1. Chart (DataqSdk1. GetData) End Sub
Private Sub Start_Click() 'this allows the user to specify the size of the chart in pixels DQChart1.Xmax = Text1.Text DataqSdk1. ADChannelCount = 1 DataqSdk1. EventPoint = 20 DataqSdk1. Start End Sub
Private Sub Stop_Click() DataqSdk1. Stop End Sub |