Hello Support
Im using the ShowExportDialog() function to let the user save a chart.
However Id like to have the chart name shown in the Title bar of the TeeChart Export Dialog box. Can I do this?
cheers
Can I Set the Title on Export Dialog?
Hello Dave,
I find two solutions for your problem, I recomend that check the following codes and comprove that works fine.
First example:
You could use a button for open the Editor using ShowEditorDialog:
Second example:
You could use tChart1.Draw() before the shows Editor for example:
Thanks,
I hope that helps.
I find two solutions for your problem, I recomend that check the following codes and comprove that works fine.
First example:
You could use a button for open the Editor using ShowEditorDialog:
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Steema.TeeChart.Editors.Export.ExportEditor expEditor1 = new Steema.TeeChart.Editors.Export.ExportEditor(tChart1.Chart, null);
expEditor1.Text = "my export editor";
expEditor1.ShowDialog();
}
You could use tChart1.Draw() before the shows Editor for example:
Code: Select all
public void InitializeChart()
{
Steema.TeeChart.Styles.Line l = new Steema.TeeChart.Styles.Line(tChart1.Chart);
tChart1.Aspect.View3D = false;
tChart1[0].FillSampleValues();
tChart1.Draw();
Steema.TeeChart.Editors.Export.ExportEditor expEditor1 = new Steema.TeeChart.Editors.Export.ExportEditor(tChart1.Chart, null);
expEditor1.Text = "my export editor";
expEditor1.ShowDialog();
}
I hope that helps.
Best Regards,
Sandra Pazos / 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 |