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 1364

Summary: Setting the Marks arrow length to 0 doesn't have effects for negative data values
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: chris
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2015-11-02 11:02:23 EST
Setting the Marks arrow length to 0 doesn't have effects for negative values. 
The code below shows you the problem: 
        private void setupchart()
        {
            Bar3D serie = new Bar3D();
            tChart1.Dock = DockStyle.Fill;
            tChart1.Aspect.View3D = false; 

            serie.Add(1);
            serie.Add(2);
            serie.Add(-2);
            serie.Add(-3);
            serie.Add(4);
            serie.Add(5);
            serie.SideMargins = false; 
            tChart1.Series.Add(serie);
            serie.Pen.Visible = false; 
            //Marks
            serie.Marks.Transparent = true;
            serie.Marks.ArrowLength = 0;
            serie.Marks.Arrow.Color = Color.Red; 
            serie.Marks.AutoPosition = false;
            serie.Marks.Visible = true;
                    
        }
Comment 1 sandra pazos 2015-11-03 06:18:01 EST
Also, the problem appears if you set true the MarksOnBar property. Basically, the negative values aren't represented correctly when Marks Location property is set to end or start.