Area and bar charts area a black blob

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Doug
Newbie
Newbie
Posts: 7
Joined: Tue Apr 13, 2004 4:00 am

Area and bar charts area a black blob

Post by Doug » Fri Feb 26, 2010 9:02 pm

Hello,

When there are many x-axis values in our chart, it appears as all black. I think it is because of the lines that run vertically on the chart.

The screenshot attachments explain it better. In the first screenshot, there are 10800 x-axis values which means 10800 lines, so it's a black blob. In the second screenshot which has 360 x-axis values, you can see the individual black lines that I think are causing the problem. I think I just need to know which property toggles those lines on and off.

The chart is fine when it is converted to a line chart because it does not have these lines. We are using TChart v7.12, in Delphi 2007. Many thanks for any help.

Doug
BlackAreaChart.jpg
Black blob chart cap
BlackAreaChart.jpg (41.14 KiB) Viewed 4925 times
GoodAreaChart.jpg
Better chart cap
GoodAreaChart.jpg (144.44 KiB) Viewed 4930 times

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

Re: Area and bar charts area a black blob

Post by Yeray » Mon Mar 01, 2010 8:46 am

Hi Doug,

Try these properties:

Code: Select all

  Series1.Pen.Visible:=false;  //bar series' vertical lines / area series' top tines
  Series1.AreaLinesPen.Visible:=false;  //area series' vertical lines
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

Doug
Newbie
Newbie
Posts: 7
Joined: Tue Apr 13, 2004 4:00 am

Re: Area and bar charts area a black blob

Post by Doug » Mon Mar 01, 2010 7:36 pm

Hi Yeray,

Code: Select all

AreaSeries.AreaLinesPen.Visible := false;
Sorted it! Thanks a million.

Doug

Post Reply