tags:

views:

314

answers:

0

We use the Dundas Chart for WinForms and programmatically set the initial zoom values. If we set these to be too small, we get a nice red cross and an exception (System.OverflowException).

An example would be when we set the x zoom min to be 1.399 and the x max zoom to be 1.401.

I presume we should be able to determine whether the zoom extent we want to zoom to is too small, but I don't know how to calculate this.

Does anyone else know.