Filling between line and axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sean Murphy
Newbie
Newbie
Posts: 19
Joined: Thu Sep 27, 2007 12:00 am
Location: UK
Contact:

Filling between line and axis

Post by Sean Murphy » Wed May 16, 2012 1:41 pm

I have a Tlineseries on X,Y graph, Y varies above and below zero. I'd like to fill between the curve and x=0 but would like positive data fill to be red and negative data fill to be blue. I there an easy/recommended way to do this please?

thanks
Sean

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Filling between line and axis

Post by Yeray » Fri May 18, 2012 8:51 am

Hi Sean,

Take a look at the example Narcís posted here.
It does almost the same you described.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply