Jump to content
Software FX Community

No end user Export/Save and other questions?


mhowes

Recommended Posts

I'm surprised to see Copy to Clipboard, Print, and Save My Chart (settings) but no build in end user export/save of the chart as an image?

I see there is a method I can call, Export to save the chart as a bitmap but not sure I have the screen space to put a button to let the user choose a location/name.

Am I just not finding a end user save/export feature?

Also. Are there any shortcut keys? I'd like to zoom/unzoom with keys. Or do I need to implement that as well?

My X  Axis  labels, which are numbers  are showing up with  commas when the numbers get large(ex. 1,000) I see that there are ways to format the labels but I don't have that specified. How can I have no formatting of the numbers in the labels?

thanks

mike 

 

 

Link to comment
Share on other sites

> I'm surprised to see Copy to Clipboard, Print, and Save My Chart (settings) but no build in end user export/save of the chart as an image?

The Save/Load commands are not included by default in the toolbar. However, they can be included very easily by customizing the toolbar. For example, the following code adds them to the beginning of it:

chart1.ToolBar.Insert(0,new ToolBarItem(CommandId.ExportFile));

chart1.ToolBar.Insert(0,

new ToolBarItem(CommandId.ImportFile));

> Also. Are there any shortcut keys? I'd like to zoom/unzoom with keys. Or do I need to implement that as well?

We process some keys like arrows keys when the chart control has the focus, there is no key combination that turns zoom on and off, however, you can attach to most key events (e.g. KeyDown) to make your own processing.

> My X  Axis  labels, which are numbers  are showing up with  commas when the numbers get large(ex. 1,000) ...

The default is no format, so you probably changed it at design time, check the AxisX.LabelsFormat.Format property in the property grid.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...