![]() | 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: | In 3D vector demo example, the pen editor doesn't work as expected | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Examples Demos | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | chris |
| Priority: | Normal | ||
| Version: | TeeChart for .Net 4.1.2016.05125 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://teechart.net/directline/viewtopic.php?f=6&t=1101#p5434 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
sandra pazos
2016-07-14 10:31:16 EDT
This is by design. When a Series element's color is controlled by the Series.Color property, then neither that Series's Brush nor Pen can alter it. So to change the color of the Vector3D series:
private void button4_Click(object sender, EventArgs e)
{
series.UseColorRange = false;
series.Color = Color.Red;
}
You can see this logic working in the Line series, e.g.
Line series;
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
series = new Line(tChart1.Chart);
series.FillSampleValues();
}
private void button4_Click(object sender, EventArgs e)
{
series.LinePen.Color = Color.Red;
}
|