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 529 - ErrorBar Series error is drawn incorrect when the error value is biggest than ErrorBar value and style is LeftRight
Summary: ErrorBar Series error is drawn incorrect when the error value is biggest than...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: TeeChart.NET 2013 4.1.2013.11080
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 12:13 EST by sandra pazos
Modified: 2014-01-09 09:59 EST (History)
1 user (show)

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


Attachments
Latest revision (16.37 KB, image/png)
2014-01-08 12:13 EST, sandra pazos
Details
Revision v1.13 (16.45 KB, image/png)
2014-01-08 12:16 EST, sandra pazos
Details
Winform to test Error functionality (3.43 KB, application/x-zip-compressed)
2014-01-09 09:58 EST, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2014-01-08 12:13:33 EST
Created attachment 65 [details]
Latest revision

If you have ErrorBar series and you set its error style to LeftRight, the error is drawn incorrectly when the error value is biggest than ErrorBar value. Seems the problem is introduced when we fixed the bugs numbers TF02014259 and TV52015184. 
The same problem occurs in VCL version. The Error is drawn correctly in the revision v1.13 of the ErrorBar class and if you add ErrorBar values biggest error value. 
Next code reproduces the problem: 
 Error series1;
    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      series1 = new Steema.TeeChart.Styles.Error(tChart1.Chart);
      series1.ErrorStyle = ErrorStyles.LeftRight;
      series1.Add(10, 0.3, 0.7);
      series1.ErrorWidth = 10;
      tChart1.Axes.Bottom.SetMinMax(9.0, 11.0);
      tChart1.Axes.Left.SetMinMax(0, 1);
    }
I have attached two images; one corresponds to latest revision of the ErrorBar class and the other to revision v1.13 of the ErrorBar class.
Comment 1 sandra pazos 2014-01-08 12:16:08 EST
Created attachment 66 [details]
Revision v1.13
Comment 2 christopher ireland 2014-01-09 09:58:29 EST
Created attachment 67 [details]
Winform to test Error functionality
Comment 3 christopher ireland 2014-01-09 09:59:28 EST
Attachment "Winform to test Error functionality" demonstrates correct functioning of Error series with latest sources.