Hi.



This sample whork fine in VBScript but dont is the best pratice

MSChart1.ColumnCount = 4
MSChart1.RowCount = 8
For Column = 1 To 4
For Row = 1 To 8
MSChart1.Column = Column
MSChart1.Row = Row
MSChart1.Data = Row * 100
Next
Next




This sample dont whork. This sample (best pratice) whork fine in VBasic V6,
but in VBScript the MSchart dont change anithing and dont whork. I think the
problem is in the assignation MSChart1.ChartData = DF. Wher is the problem?
Please hel me.



ReDim DF(8, 4)
MSChart1.ColumnCount = 8
MSChart1.RowCount = 4
For Column = 0 To 4
For Row = 0 To 4

DF(Row, Column) = Row * 100

Next
Next

MSChart1.ChartData = DF




H.