Home > Software engineering >  Vb6.0 by use MSchart how to set time in the database into X coordinates
Vb6.0 by use MSchart how to set time in the database into X coordinates

Time:11-07

Private Sub MSChart1_PointSelected (Series As an Integer, former DataPoint As an Integer, MouseFlags As an Integer, Cancel the As an Integer)
MSChart1. Row=former DataPoint
MSChart1. ToolTipText=X coordinates (time) in the database Y coordinates (a value of one database data)
Label1. Caption=according to the time of the query a data
End Sub
I'd like to set the database time into mschart X coordinate values and then click on the display of the mschart above X coordinates (time) in the database Y coordinates (a value of one database data) shows a label=according to the time of the query a data mschart is two-dimensional line chart

CodePudding user response:

MSChart1 control coordinates X and Y coordinates of the set is simple, the key is the time to record how many in your database, each time records are corresponding to a data,
If time records much more special, control was nothing more than display, also have no meaning, may be beyond the limits of control X coordinates,
So you must know your database structure to help you, your description is not clear, can't help you,
  • Related