iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Is it possible to save chart setting to a file and then open a chart in the future with those setting?
WebGrid has “SaveChartToXml()” method that allows user to save chart settings to a xml file. I enclosed one simple sample that shows how to save chart settings to xml file and load it by using button click event.
...One of the lines genrated is:<ChartSettings Height="429" Width="1042" ChartEngine="Nevron"> Is it possible to remove the Height and Width from the xml before it is saved?...
...One of the lines genrated is:
<ChartSettings Height="429" Width="1042" ChartEngine="Nevron">
Is it possible to remove the Height and Width from the xml before it is saved?...
In order to remove the Height and Width from the xml, we need to set it to null before it is saved.
WebGrid1.ChartSettings.Width = null; WebGrid1.ChartSettings.Height = null; WebGrid1.SaveChartToXml(Server.MapPath("WebGridChartSettings.xml"));
Hope this helps.
The following code from a sample generates the xml for the chart.
ChartXmlStructure = WebGrid1.SaveChartToXml();
One of the lines genrated is:
Is it possible to remove the Height and Width from the xml before it is saved?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname