mhowes Posted October 12, 2007 Report Share Posted October 12, 2007 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 Quote Link to comment Share on other sites More sharing options...
Frank Posted October 12, 2007 Report Share Posted October 12, 2007 > 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.