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 - Setting the Marks arrow length to 0 doesn't have effects for negative data values
Summary: Setting the Marks arrow length to 0 doesn't have effects for negative data va...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 11:02 EST by sandra pazos
Modified: 2015-12-10 06:51 EST (History)
1 user (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 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.