using Steema.TeeChart.Editors.AxisLabelsEditor
using Steema.TeeChart.Editors.AxisLabelsEditor
Is it possible to call the Steema.TeeChart.Editors.AxisLabelsEditor editor passing an axis to it?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: using Steema.TeeChart.Editors.AxisLabelsEditor
Hello Adrian,
Yes, you can do this:
Yes, you can do this:
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Steema.TeeChart.Editors.AxisLabelsEditor labelsEditor = new Steema.TeeChart.Editors.AxisLabelsEditor(this.panel1);
labelsEditor.SetAxis(tChart1.Axes.Bottom);
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: using Steema.TeeChart.Editors.AxisLabelsEditor
Thanks Narcis,
I've only just got back to this one and your solution help me out... Initially it wouldn't show the editor, I suspect because it was behind other stuff on my form. If I used passed the tchart object into the AxisLabelsEditor constructor the editor appeared on my form. In the end I created a little form to hold the editor so that I could still see the chart as I make changes.
I've only just got back to this one and your solution help me out... Initially it wouldn't show the editor, I suspect because it was behind other stuff on my form. If I used passed the tchart object into the AxisLabelsEditor constructor the editor appeared on my form. In the end I created a little form to hold the editor so that I could still see the chart as I make changes.
Code: Select all
Private Sub RibbonGroup11_DialogLauncherClick(sender As Object, e As EventArgs) Handles RibbonGroup11.DialogLauncherClick
Dim frm As Form = New Form
Dim labelsEditor As Steema.TeeChart.Editors.AxisLabelsEditor = New Steema.TeeChart.Editors.AxisLabelsEditor(frm)
labelsEditor.SetAxis(m_selectedAxis)
frm.ShowDialog()
End Sub