how to set series DefaultColor

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
delph
Newbie
Newbie
Posts: 12
Joined: Tue Aug 07, 2007 12:00 am

how to set series DefaultColor

Post by delph » Wed Nov 05, 2008 10:37 am

Hi Folks
not having a good day. All the series in my chart are showing wt=ith no color.
Whats the mechanism to assign a color to each series automatically.
Using .net and C#.

Thanks

Jon

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

Post by Narcís » Wed Nov 05, 2008 10:51 am

Hi Jon,

You could try using chart palettes as shown in the example at All Features\Welcome !\Themes\Custom Palettes in the features demo, available at TeeChart's program group.

However, what you report shouldn't be default behaviour. Which TeeChart version are you using?
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

delph
Newbie
Newbie
Posts: 12
Joined: Tue Aug 07, 2007 12:00 am

Post by delph » Wed Nov 05, 2008 11:09 am

latest version downloaded today. And its a series of points. If I set it to color every point, they all get colored. What I need is each series to be one color.

I'll go and try changing the point type

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

Post by Narcís » Wed Nov 05, 2008 11:18 am

Hi delph,

If problem persists please send us a simple example project we can run "as-is" to reproduce the problem here.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
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

delph
Newbie
Newbie
Posts: 12
Joined: Tue Aug 07, 2007 12:00 am

Post by delph » Wed Nov 05, 2008 11:29 am

I edit the chart once its drawn the edit dialog shows the series to be colored. If I then choose a new theme and apply it, then the chart is colored.

I wonder if this is complicated by having more than 16 colors?

delph
Newbie
Newbie
Posts: 12
Joined: Tue Aug 07, 2007 12:00 am

Post by delph » Wed Nov 05, 2008 11:33 am

Final clue each time I edit the chart the compiler complains about
this.tChartG.Aspect.ZOffset = 0;
that zOffset doesnt exist.

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

Post by Narcís » Wed Nov 05, 2008 12:00 pm

Hi delph,

You could try commenting in this line.
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

delph
Newbie
Newbie
Posts: 12
Joined: Tue Aug 07, 2007 12:00 am

Post by delph » Wed Nov 05, 2008 3:07 pm

yup I comment it out and next time I edit the form in comes back :-)
Not a show stopper, just an annoyance...

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

Post by Narcís » Wed Nov 05, 2008 3:19 pm

Hi delph,

This property is available for me here using latest version available at the client area. This could indicate that you project may be referencing an old TeeChart version. Could you please check that your project references point to latest TeeChart version and check AssemblyFolders settings too?

Thanks in advance.
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

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

Post by Narcís » Thu Nov 06, 2008 8:30 am

Hi delph,

I've seen here that you are still having problems with series color. If you want us to have a look could you please send us a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.
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

delph
Newbie
Newbie
Posts: 12
Joined: Tue Aug 07, 2007 12:00 am

Post by delph » Thu Nov 06, 2008 9:11 am

Will do though it may be a day or two away. and yes I managed to reply on the wrong thread. That just about sums up my week.

Workround Ive found for colour at the moment is to reapply the theme after adding the series.

Post Reply