When I display the values in a chart, I have a "-" when the ratio cannot be calculated.
(this is the expected result)
Now, let's say I want to use this ratio as a coordinate in a scatter chart. If my scatter chart is opened and I select dates that cannot return results, my application become buggy.
Step 1 : Scatter chart is minimisez. I select 3 dates that will produce a correct ratio.
--> my chart is OK.
Step 2 : I select 3 dates that will make a division by zero
--> my chart is OK (I have a "-" displayed)
Step 3 : I select 3 dates that will produce a correct ratio. I open the scatter chart.
--> My chart is OK.
Step 4 : I select 3 dates that will make a division by zero
--> all my data are wrong.
If my application is on a remote server, this produce a "server connection lost".