Hi
Could someone help me with the ChartImagesPath property of the UltraChart control (NetAdvantage for ASP.NET 2008 Vol 2).
I've tried modifying the properties of the control from the code behind (e.g. UltraChart1.ChartImagesPath = @"c:\mydirectory"; or... Chart1.ChartImagesPath = "mydirectory";), from the aspx source and from the properties page of the control and every time the control just uses the default of "ChartImages" in the root of the application directory.
If I look at the path to the rendered chart image it always points to the "ChartImages" directory and if I rename this directory the application crashes out saying "Error: Sys.WebForms.PageRequestManagerSErverErrorException: Could not find a part of hte path 'c:\inetpub... ...\ChartImages". I wish to use the control in a SharePoint site using SmartPart therefore I need to specify a directory elswhere for ChartImages.
Thanks
Andy
I believe it is set to the ChartImages folder by default.
If you wanted to set it, I believe just "ChartImages" will suffice.
Do you have a C# example? Why am I looking at WebDeploymentScenario when there's no DeploymentScenario on it?
is this correct?
DeploymentScenario.Scenario = ImageDeploymentScenario.FileSystem;
And which is correct here?
mychart.DeploymentScenario.FilePath = @"\ChartImages\"
mychart.DeploymentScenario.FilePath = @"/ChartImages/";
That property is for scrollbar and crosshair images:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.WebUI.UltraWebChart.v8.2~Infragistics.WebUI.UltraWebChart.UltraChart~ChartImagesPath.html
Instead you want to set the properties under UltraChart1.DeploymentScenario.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.WebUI.UltraWebChart.v8.2~Infragistics.WebUI.UltraWebChart.WebDeploymentScenario_members.html