How to handle missing values in TBarSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

How to handle missing values in TBarSeries

Post by Johan Ingemansson » Fri Aug 20, 2004 11:36 pm

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

Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

Solved!!!

Post by Johan Ingemansson » Sat Aug 21, 2004 6:37 pm

I solved the problem by using the Series1.AddNul()l function, so my post is not nessecary anymore.

Johan Ingemansson :D

Post Reply