Hi Eugene,
When you zoom with your mouse and you decide later to right click to apply "Change scale", you have an unhandled exception for Closed Equity (see the screen shot attached).
Size:
Color:
Hi Alexandre.
Thanks for the heads-up. Just renamed your thread which incorrectly named this "abnormal program termination" (or "crash"). In fact this is just an "unhandled exception" which has little to no effect on your work and can be avoided by reopening the chart.
QUOTE:
System.OverflowException: Value was either too large or too small for a Decimal.
at System.Decimal..ctor(Double value)
at System.Windows.Forms.DataVisualization.Charting.Axis.RoundedValues(Double inter, Boolean shouldStartFromZero, Boolean autoMax, Boolean autoMin, Double& min, Double& max)
...
This is not a Wealth-Lab issue, rather a known bug in the Microsoft chart control which powers MS123 Visualizers:
Chart: OverflowException when zooming. While a workaround
may be possible in theory according to this SO thread (
Microsoft chart control - redraw chart after failure (red cross)), I don't see its instant application to our code. So this will remain a WONTFIX kind live bug due to its low severity.
Added a note to the
Closed Equity page. Don't do this (i.e. Change Scale from a zoomed in chart). If you did you will have to reopen the Strategy window to work with the Closed Equity tab.
Size:
Color:
Thank you Eugene.
Size:
Color: