barSeries.Brush.LoadImage("MyImage.bmp"));”

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Glenn F. Henriksen
Newbie
Newbie
Posts: 52
Joined: Tue Mar 04, 2003 5:00 am

barSeries.Brush.LoadImage("MyImage.bmp"));”

Post by Glenn F. Henriksen » Fri Feb 24, 2006 7:00 pm

Hi,

We just upgraded from teechart version 1.0.1189.31308, to teechart version 1.1.2004.16592.

We load our own bitmaps to fill our charts, but after we upgraded, the code “barSeries.Brush.LoadImage("MyImage.bmp"));” stopped working.

Now, the charts instead of getting filled with our bitmaps, they fill with some strange solid colors.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Feb 27, 2006 1:54 pm

Hi Annelise,

Using something like the code below works fine here. Can you please test if it works for you?

Code: Select all

	bar1.Brush.Image=System.Drawing.Image.FromFile(@"e:\temp\after_zoom.JPG");
Best Regards,
Narcís Calvet / 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