How to draw bar surface with diagonal lines

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Schatz_AG
Newbie
Newbie
Posts: 5
Joined: Mon Mar 25, 2013 12:00 am

How to draw bar surface with diagonal lines

Post by Schatz_AG » Mon Apr 22, 2013 2:41 pm

Hallo,

we use TeeChart for C# in an Windows CE 7.0 environment (.NET Compact Framework 3.5).

I want to display a vertical bar series with diagonal brush style:

Code: Select all

    BarSerie.SeriesColor = Color.Blue;
    BarSerie.Brush.Color = Color.White;
    BarSerie.Brush.Style = System.Drawing.Drawing2D.HatchStyle.ForwardDiagonal;
Nevertheless the bars are drawn with black borders and white areas inside.
Who knows a solution ?

Thanks in advance

Lothar Weidl-Walther

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: How to draw bar surface with diagonal lines

Post by Sandra » Tue Apr 23, 2013 10:51 am

Hello


Thanks for your information. The Series.Brush.Style property was designed using the System.Drawing.Drawing2D.HatchBrush to change the style of brush of series. As this class doesn't not exist in the .net CF then a feature request has already been added to the wishlist with number [TC26016556] to try an enable a similar functionality in this environment.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply