Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

show just 12 points on my chart at a time

Hello
Is it possible to only show 12 points on my chart at a time?
It took so much effort just to figure out how to handle the rowcount and columncount.
Ideally I would like to be able to allow the user to select a starting year and an ending year possibly with a combobox. Right now it shows 50 years and 12 points per year. So it's kind of full.

As you can probably tell I have an MSChart from a flexgrid.
The RowCount is really years from the flexgrid.

Steve

For iColumnCount = 1 To 11
For iRowCount = 1 To tempview1.MSFlexGrid1.Rows - 3
' assign a FlexGrid cell's data to dCurrData
dCurrData = tempview1.MSFlexGrid1.TextMatrix(iRowCount, iColumnCount)
With MSChart1
.Row = iRowCount
.Column = iColumnCount
.Data = dCurrData
.enabled = True
End With
Next iRowCount
Next iColumnCount
[1032 byte] By [RipIT] at [2007-11-11 6:49:17]