Examine the following image: Just a TLineSeries (orange border) with some null values in between. I added a region tool. It fills the region from start to finish, as if there are no null values.
I guess I'll probably have to look for "holes" myself and add a single region tool for each single line.
Is there anything I could do about it?TSeriesRegionTool and a series with null values
-
- Newbie
- Posts: 60
- Joined: Fri Nov 22, 2013 12:00 am
Re: TSeriesRegionTool and a series with null values
Hello Jens,
I can also think on simply using a TAreaSeries with null points instead of a TLineSeries with a TSeriesRegionTool. Ie:
Yes, this would be an option.jens.mertelmeyer wrote:I guess I'll probably have to look for "holes" myself and add a single region tool for each single line.
I can also think on simply using a TAreaSeries with null points instead of a TLineSeries with a TSeriesRegionTool. Ie:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.View3D:=false;
with Chart1.AddSeries(TAreaSeries) as TAreaSeries do
begin
Color:=RGB(128, 128, 255);
Pen.Color:=RGB(255, 128,0);
Pen.Width:=3;
AreaLinesPen.Visible:=false;
Transparency:=50;
FillSampleValues(15);
SetNull(4);
SetNull(5);
SetNull(6);
end;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |