Hi again,
I am still not sure of what you want to do exactly. You said that you would like to be able to select a the minimal and maximal values to be visualized. You would like all other values to be invisible? And you would like to have an "auto-zoom" feature to fill the display area? This means that, with the zoom, the 100-200 preset could change radically. Suppose that are your data are actually between 155 and 159 and you are using you "auto-zoom", this would mean the Y axis would get auto-corrected to display Y:150-160 ?
You must also consider that if the 155 (from the scenario above) is the first value in the series, and 158 is the last one, and every other values is out of your (Y:100-200) selected range, the data points would almost appear as a DBNull.Value even if these are not (they could anything below 100).
Could it make sense to copy all the values between 100 and 200 to a temporary DataSeries and to display these? (I'm only suggesting since I don't know what your data is about.)
It would require a complex algorithm to obtain a "optimized viewport" from the data and a min-max scale, in my opinion, for the reasons mentioned above.
Ghislain
Technical Support and software developer
Xceed Software Inc.
Knowledge Base : http://xceed.com/kb/
Update Center : http://xceed.com/updates/
Documentation Center : http://xceed.com/doc/
For everything else, there is Google