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 584 - The darvas box color property doesn't change color of series.
Summary: The darvas box color property doesn't change color of series.
Status: RESOLVED NOTABUG
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: TeeChart.NET 2014 4.1.2014.02060
Hardware: PC Windows
: High enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 06:15 EST by sandra pazos
Modified: 2014-02-20 11:44 EST (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2014-02-19 06:15:14 EST
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();
        }
Comment 1 christopher ireland 2014-02-19 09:21:20 EST
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;
    }
Comment 6 Shinobu Nagai 2014-02-19 21:37:26 EST
Then, what the Color and Border buttons are for? What do they change?
Comment 8 sandra pazos 2014-02-20 11:44:39 EST
Hello Nagai, 

I have opened a new defect here: http://bugs.teechart.net/show_bug.cgi?id=591, to treat the problem.

Thanks,