![]() | Steema Issues DatabaseNote: 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. |
| Summary: | ColorEach on PolarSerie does not longer work | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Tomas <tomas> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | regression | CC: | chris, tomas |
| Priority: | High | ||
| Version: | TeeChart for .Net 4.1.2017.10196 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | Polar | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Sample prjoject and to sample pictures | ||
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);
}
|
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