Styles.Error displayed incorrect for negative Y values

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
CitoICT
Newbie
Newbie
Posts: 6
Joined: Tue Dec 15, 2009 12:00 am

Styles.Error displayed incorrect for negative Y values

Post by CitoICT » Thu Jun 17, 2010 12:58 pm

Steps to reproduce:

Code: Select all

Imports System.Drawing
Imports Steema.TeeChart

Public Class Form1

  Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim errorSeries As Styles.Error

    With TChart1
      errorSeries = DirectCast(.Series.Add(New Styles.Error(.Chart)), Styles.Error)
    End With

    errorSeries.Add(1, 2, 0.2)
    errorSeries.Add(2, 3, 0.3)
    errorSeries.Add(3, -2, 0.5)
    errorSeries.Add(4, -3, -0.5)
    errorSeries.Add(5, -4, 0.25)

  End Sub

End Class
result:
For positive y values you get the expected 'H' for negative values you get an '|'
see attachement for graphical sample.

Version of TChart: 4.0.2010.13051
Visula Studio: 2005 2.0.50727 SP2
Attachments
Styles.Error-Wrong.PNG
Styles.Error-Wrong.PNG (22.91 KiB) Viewed 3161 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Styles.Error displayed incorrect for negative Y values

Post by Sandra » Fri Jun 18, 2010 10:14 am

Hello CitoICT,


I could reproduce your problem and I have added it in bug report list with number[TF02014982]. We will try to fix it for next maintenances release of TeeChart.Net.


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Styles.Error displayed incorrect for negative Y values

Post by Sandra » Thu Jul 29, 2010 9:45 am

Hello CitoICT,


I inform that bug with number (TF02014982), is not a bug. Result that appears is correct, because it behaves as designed

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply