Page 1 of 1

Area and bar charts area a black blob

Posted: Fri Feb 26, 2010 9:02 pm
by 9232061
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 4924 times
GoodAreaChart.jpg
Better chart cap
GoodAreaChart.jpg (144.44 KiB) Viewed 4929 times

Re: Area and bar charts area a black blob

Posted: Mon Mar 01, 2010 8:46 am
by yeray
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

Re: Area and bar charts area a black blob

Posted: Mon Mar 01, 2010 7:36 pm
by 9232061
Hi Yeray,

Code: Select all

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

Doug