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 1702 - Legend symbol of HighLow series takes over Bar series border
Summary: Legend symbol of HighLow series takes over Bar series border
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Legend (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-29 05:28 EST by svandeneynde
Modified: 2017-02-02 06:18 EST (History)
1 user (show)

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


Attachments
HighLow legend symbol shows border of Bar (22.51 KB, image/png)
2016-11-29 05:28 EST, svandeneynde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description svandeneynde 2016-11-29 05:28:04 EST
Created attachment 668 [details]
HighLow legend symbol shows border of Bar

In the latest version (build 4.1.2016.10264), the legend symbol of a HighLow series incorrectly takes over the border of a preceding Bar series.
Also tested in build 4.1.2015.05144, where this issue also appears.
I have attached some simple code to reproduce the problem:

private void InitializeChart()
        {
            tChart1.Legend.LegendStyle = Steema.TeeChart.LegendStyles.Series;
            
            Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            bar.Add(0, 10, "Cat1");
            bar.Add(1, 20, "Cat2");
            bar.Add(2, 30, "Cat3");
            bar.Color = Color.PaleVioletRed;
            bar.Pen.Color = Color.Red;
            bar.Pen.Width = 3;
            
            Steema.TeeChart.Styles.HighLow highLow = new Steema.TeeChart.Styles.HighLow(tChart1.Chart);
            highLow.Add(0, 0, 0, "Cat1");
            highLow.Add(1, 10, 20, "Cat2");
            highLow.Add(2, 0, 0, "Cat3");
            highLow.Color = Color.Green;
            highLow.HighPen.Color = Color.Green;
            highLow.LowPen.Color = Color.Green;
            highLow.Pen.Color = Color.Green;
            highLow.HighBrush.Visible = true;
            highLow.LowBrush.Visible = true;
        }