Page 1 of 1

How to handle missing values in TBarSeries

Posted: Fri Aug 20, 2004 11:36 pm
by 9232649
Hello,

I have the following problem, let´s say for example that I have two TBarSeries which displays the mean value sfor some variables of interest. It can look like this:

Series1.AddArray([50,47,35]) and Series2.AddArray([35,76,22]) :( , I want to display theese series as side, which it no problem, but say that value 22 in Series2 is missing, that is in this example there are no obervations and hence no mean to be displayed. Observe the mean is not zero, because there are no underlying observations! If I use the NaN I get an exception. What I want to do is just that that specific bar should be excluded in the chart. Does anyone now if this is possible to do? I would be very grateful for any ideas.

Best Regards,

Johan Ingemansson

Solved!!!

Posted: Sat Aug 21, 2004 6:37 pm
by 9232649
I solved the problem by using the Series1.AddNul()l function, so my post is not nessecary anymore.

Johan Ingemansson :D