Page 1 of 1

Display Chart Editor on a form?

Posted: Thu Sep 28, 2006 9:27 am
by 6926942
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.

Posted: Thu Sep 28, 2006 11:19 am
by narcis
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

Posted: Thu Sep 28, 2006 11:35 am
by 6926942
Hi again,

Works fine, thanks a lot.

Matt.