Display Chart Editor on a form?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ECDP
Newbie
Newbie
Posts: 8
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Display Chart Editor on a form?

Post by ECDP » Thu Sep 28, 2006 9:27 am

Hi!

we recently migrated from TeeChart 7 (VB6) to the .NET(VB) version.
TeeChart 7 came with two Controls that I am now missing: ChartEditorPanel and ChartPageNavigator.

I can emulate the navigator with four Buttons, but of course the editor is much more complex.

My question is: Is there any other way besides the ChartEditorPanel that I can display the editor permanently on a form and not as a pop-up window?

Thanks,
Matt.

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

Post by Narcís » Thu Sep 28, 2006 11:19 am

Hi Matt,

This component doesn't exist for now. I've added your request to our wish-list to be considered for inclusion in future releases. In the meantime you can add a panel, where you will have the chart editor, in your WinForm and use something like this:

Code: Select all

        Private  Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
            line1.FillSampleValues()
 
            Dim chEd As Steema.TeeChart.Editors.ChartEditor =  New Steema.TeeChart.Editors.ChartEditor(tChart1.Chart) 
            chEd.TopLevel = False
            chEd.FormBorderStyle = FormBorderStyle.None
            chEd.Dock = DockStyle.Fill
            chEd.Show()           
 
            panel2.Controls.Add(chEd)
        End Sub
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

ECDP
Newbie
Newbie
Posts: 8
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Post by ECDP » Thu Sep 28, 2006 11:35 am

Hi again,

Works fine, thanks a lot.

Matt.

Post Reply