![]() | 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: | The darvas box color property doesn't change color of series. | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | enhancement | CC: | chris, nagai |
| Priority: | High | ||
| Version: | TeeChart.NET 2014 4.1.2014.02060 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The Darvas series has three different colours, as such the series.Color property is not set to change any of them. The three colours can be seen here:
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Darvas darvas = new Steema.TeeChart.Styles.Darvas(tChart1.Chart);
darvas.FillSampleValues(10);
darvas.BoxBrush.Color = Color.Yellow;
darvas.UpCloseColor = Color.Cyan;
darvas.DownCloseColor = Color.HotPink;
}
Then, what the Color and Border buttons are for? What do they change? Hello Nagai, I have opened a new defect here: http://bugs.teechart.net/show_bug.cgi?id=591, to treat the problem. Thanks, |
If you click the Edit button and then color button and set a color, darvas box isn't painted with the specified color. The problem occurs,too when you try to change the darvas color by code. To reproduce the problem you can see the All Features\Welcome !\Chart styles\Financial\Darvas demo example or use below code: public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { tChart1.Aspect.View3D = false; Steema.TeeChart.Styles.Darvas darvas = new Steema.TeeChart.Styles.Darvas(tChart1.Chart); darvas.FillSampleValues(10); darvas.Color = Color.Yellow; } private void button1_Click(object sender, EventArgs e) { tChart1.ShowEditor(); }