Page 1 of 1

how to set series DefaultColor

Posted: Wed Nov 05, 2008 10:37 am
by 13046332
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

Posted: Wed Nov 05, 2008 10:51 am
by narcis
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?

Posted: Wed Nov 05, 2008 11:09 am
by 13046332
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

Posted: Wed Nov 05, 2008 11:18 am
by narcis
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.

Posted: Wed Nov 05, 2008 11:29 am
by 13046332
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?

Posted: Wed Nov 05, 2008 11:33 am
by 13046332
Final clue each time I edit the chart the compiler complains about
this.tChartG.Aspect.ZOffset = 0;
that zOffset doesnt exist.

Posted: Wed Nov 05, 2008 12:00 pm
by narcis
Hi delph,

You could try commenting in this line.

Posted: Wed Nov 05, 2008 3:07 pm
by 13046332
yup I comment it out and next time I edit the form in comes back :-)
Not a show stopper, just an annoyance...

Posted: Wed Nov 05, 2008 3:19 pm
by narcis
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.

Posted: Thu Nov 06, 2008 8:30 am
by narcis
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.

Posted: Thu Nov 06, 2008 9:11 am
by 13046332
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.