![]() | 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: | Setting the Marks arrow length to 0 doesn't have effects for negative data values | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Series | Assignee: | 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: | |
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. |
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; }