![]() | 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: | Surface series palettestyle doesn't serialize all possible styles. | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sdgr |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris |
| Priority: | --- | ||
| Version: | TeeChart.NET 2013 4.1.2013.11080 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | Surface 3D | Delphi / C++ Builder RAD IDE Version: | |
|
Description
sdgr
2014-03-27 04:41:29 EDT
Hello,
This bug is now fixed. In the meantime, as a workaround, you can derive your own surface class to mitigate the problem.
MySurface series;
private void InitializeChart()
{
series = new MySurface(tChart1.Chart);
series.FillSampleValues();
series.UseColorRange = false;
series.UsePalette = true;
series.PaletteStyle = PaletteStyles.Strong;
}
private void button1_Click(object sender, EventArgs e)
{
MemoryStream ms = new MemoryStream();
tChart1.Export.Template.Save(ms);
ms.Position = 0;
tChart2.Import.Template.Load(ms);
MessageBox.Show(((Surface)tChart2[0]).PaletteStyle.ToString());
}
public class MySurface : Surface
{
public MySurface(Chart c) : base(c)
{
PaletteStyle = PaletteStyles.Strong;
}
}
Hi, Thanks for the update. I assume that the solution will be added to the next available release? Any idea when the next is sheduled? Stefan. The last release was on the 24th of February - I would expect the next release to be made public on or around the 24th of April. |