Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2004 - ColorEach on PolarSerie does not longer work
Summary: ColorEach on PolarSerie does not longer work
Status: RESOLVED NOTABUG
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: TeeChart for .Net 4.1.2017.10196
Hardware: PC Windows
: High regression
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-27 12:33 EST by Tomas
Modified: 2018-04-09 06:44 EDT (History)
2 users (show)

See Also:
Chart Series: Polar
Delphi / C++ Builder RAD IDE Version:


Attachments
Sample prjoject and to sample pictures (258.72 KB, application/x-zip-compressed)
2018-02-27 12:33 EST, Tomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas 2018-02-27 12:33:46 EST
Created attachment 816 [details]
Sample prjoject and to sample pictures

In 4.1.2015.8062 I could use ColorEach for setting different color on each data point in an PolarSerie.

After upgrading to 4.1.2017.10193 all the Point have the same color.

In the attachment is sample code and two Pictures.

Picture1.jpg shows output with version 4.1.2015.8062
and
Picture2.jpg shows output with version 4.1.2017.10193
Comment 1 christopher ireland 2018-04-09 06:44:34 EDT
Hello Tomas,

this is a change in behavior, but this change now brings the Polar series in line with other series types in TeeChart - in order for ColorEach to work there must not be any custom colors assigned to series points, e.g.

		private void InitializeChart()
		{
			Steema.TeeChart.Styles.Points serie = new Steema.TeeChart.Styles.Points();

			//Steema.TeeChart.Styles.Polar serie = new Steema.TeeChart.Styles.Polar(); //Polar series now works the same as Points series

			serie.Add(0, 50, "tag1", Color.Red);
			serie.Add(90, 75, "tag2", Color.Blue);
			serie.Add(180, 25, "tag3", Color.Green);
			serie.Add(270, 35, "tag4", Color.HotPink);

			serie.ColorEach = true;
			serie.Colors.Clear(); //this line clears custom
                                              //colors (HotPink etc.)

			tChart1.Series.Add(serie);
		}