specify the size of the customization dialog
specify the size of the customization dialog
Is it possible to specify the size of the customization dialog. I've attached a jpg that shows the problem. Some parts get cut off by default, and it would be nice to avoid this.
- Attachments
-
- customize.jpg (129.02 KiB) Viewed 4523 times
Re: specify the size of the customization dialog
Hello SRing,
You can change the size of Editor using next suggestion code:
Could you tell us if previous code works as you want?
I hope will helps.
Thanks,
You can change the size of Editor using next suggestion code:
Code: Select all
Editor editor1;
private void InitializeChart()
{
Steema.TeeChart.Styles.Line line = new Line(tChart1.Chart);
line.FillSampleValues();
editor1 = new Editor(tChart1);
editor1.Width = 800;
editor1.Height = 500;
}
I hope will helps.
Thanks,
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 |
Re: specify the size of the customization dialog
This seems to work. I had just been using
TeeChart.Editor.Show(plot)
Do I need to be doing something to copy options or anything from the static editor, or will this function identically?
TeeChart.Editor.Show(plot)
Do I need to be doing something to copy options or anything from the static editor, or will this function identically?
Re: specify the size of the customization dialog
Hello SRing,
You need use the methods of Editor component if you would change the size of editor, because when you use Steema.TeeChart.Editor.Show(tChart1); you would work with a default size of TChart1 editor , therefore you cannot change the size editor directly, you need use editor component, assign custom size and call the ShowModal method as do in next code.
Thanks,
Do I need to be doing something to copy options or anything from the static editor, or will this function identically?
You need use the methods of Editor component if you would change the size of editor, because when you use Steema.TeeChart.Editor.Show(tChart1); you would work with a default size of TChart1 editor , therefore you cannot change the size editor directly, you need use editor component, assign custom size and call the ShowModal method as do in next code.
Code: Select all
editor1 = new Steema.TeeChart.Editor(tChart1);
editor1.Width = 800;
editor1.Height = 500;
editor1.ShowModal();
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 |