[Box] Changing InnerFence would not affect outlier detection

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

[Box] Changing InnerFence would not affect outlier detection

Post by Chris.CHWU » Wed Aug 27, 2008 1:37 am

Greetings,

Is there any way to change the default outlier detection algorithm of box?
Thanks for your help in advance.

Code: Select all

    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim box As New Steema.TeeChart.Styles.Box()
        TChart1.Aspect.View3D = False
        TChart1.Series.Add(box)

        Dim arr As Double() = {1, 2, 4, 7, 8, 9, 10, 12, 25, 50}

        box.Add(arr)
        ' After ReconstructFromData(), box.InnerFence3 = 24
        box.ReconstructFromData()

        ' I manually change value of InnerFence3
        ' and wish the point 25 would not be treated as outlier point
        ' but failed.
        box.InnerFence3 = 30
    End Sub

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Aug 27, 2008 7:49 am

Hi Chris.CHWU,

The only solution I can think of is that you create your own box plot series derived from CustomBox class and override necessary methods like DrawValue.

For more details on CustomBox implementation you may want to use Lutz Roeder's .NET reflectorr with TeeChart.dll.
Best Regards,
Narcís Calvet / 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