Hi
I am using version 3.5.3425.20244
I have area series and I need to set each series with a different Brush style.
It doesnt seem to work
Thanks.
Area Series doesnt work with Brush Style
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Area Series doesnt work with Brush Style
Hi rino,
Are you using AreaBrush? Code snippet below works fine for me here using latest v3 release available at the client area which is build 3.5.3700.30574/5.
Are you using AreaBrush? Code snippet below works fine for me here using latest v3 release available at the client area which is build 3.5.3700.30574/5.
Code: Select all
Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
area1.FillSampleValues();
area1.Brush.Style = System.Drawing.Drawing2D.HatchStyle.DarkDownwardDiagonal;
area1.AreaBrush.Style = System.Drawing.Drawing2D.HatchStyle.DarkUpwardDiagonal;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Area Series doesnt work with Brush Style
Hi Narcis
AreaBrush fixes the problem , Thanks. Funny that you need to set both the brush and the AreaBrush.
Btw I just noticed that I have the same problem with Line series . How can I fill in the style of a line series. ? Setting line.Brush.Style doesnt work .
Thanks.
AreaBrush fixes the problem , Thanks. Funny that you need to set both the brush and the AreaBrush.
Btw I just noticed that I have the same problem with Line series . How can I fill in the style of a line series. ? Setting line.Brush.Style doesnt work .
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Area Series doesnt work with Brush Style
Hi rino,
You need to set Solid to false first:
You need to set Solid to false first:
Code: Select all
line1.Brush.Solid = false;
line1.Brush.Style = System.Drawing.Drawing2D.HatchStyle.BackwardDiagonal;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |