User (Legacy) Posted August 20, 2004 Report Posted August 20, 2004 Hi, I'm fairly new to ChartFX. I modified an existing chart with an extra filter parameter on country. If I select Germany in the dropdownlist (country nr 6, the largest), I sometimes get the following error: on Line 167: litChart.Text = chrtLogons.GetHtmlTag("100%", "90%", "Flash"). It could be that I choose another country and move back to Germany and it works, seems like random, but only with Germany the error occurs. I have ChartFX for .NET 6.2, downloaded the latest Service pack, and when I go to windows explorer to view the details of e.g. ChartFX.base.dll, the version number show the correct version (last version), but when I add the dll to my references it show version 6.2.1342.0 (older). I did remove/readd the reference, delete the bin folder and temporary ASP.NET files. Am I doing something wrong ? Thanks for your support ! Server Error in '/euconsult' Application. ---------------------------------------------------------------------------- ---- Specified argument was out of the range of valid values. Parameter name: Index was out of range. Must be non-negative and less than the size of the collection. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: Index was out of range. Must be non-negative and less than the size of the collection. Source Error: Line 165: 'myFlash.Codebase = "http://MyCompany/codebase/flash/macromedia/5/x.cab#Version=6,0,0,1" 'make sure the user downloads this version Line 166: 'myFlash.PluginsPage = "http://MyCompany/PLUGIN/flash/macromedia/5/x.cab#Version=6,0,0,1" 'make sure the user downloads this version Line 167: litChart.Text = chrtLogons.GetHtmlTag("100%", "90%", "Flash") Line 168: Line 169: End Sub Source File: c:\inetpub\wwwroot\Euconsult\Charts\chartLogons.aspx.vb Line: 167 Stack Trace: [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: Index was out of range. Must be non-negative and less than the size of the collection.] System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index) +199 SoftwareFX.ChartFX.Internet.Server.LabelList.get_Item(Int32 i) +101 SoftwareFX.ChartFX.Internet.Server.AxisBase.F5(1N 1KR, Rectangle[] 1KS, SetPropFlag& 1KT, 15 1KU, AxisSection& 1KV) +8072 SoftwareFX.ChartFX.Internet.Server.AxisCollection.FP(1N 1LY, Rectangle[] 1LZ, 15 1M0) +208 SoftwareFX.ChartFX.Internet.Server.ChartCore.5E(1N 0Z0, Boolean 0Z1, Boolean 0Z2) +161 SoftwareFX.ChartFX.Internet.Server.ChartCore.5D(1N 0YX, Rectangle& 0YY, Int32& 0YZ) +623 SoftwareFX.ChartFX.Internet.Server.ChartCore.5C(PaintBar 0YU, IGraphicsEx 0YV, Rectangle& 0YW) +572 SoftwareFX.ChartFX.Internet.Server.ChartCore.77(PaintBar 11P, IGraphicsEx 11Q, Rectangle& 11R) +64 SoftwareFX.ChartFX.Internet.Server.Chart.7V(Stream 131, IOutputWriter 132, OutputText 133, OutputText 134, OutputInfo& 135) +1463 SoftwareFX.ChartFX.Internet.Server.Chart.8B(OutputText 13Z, OutputText 140, Boolean 141, Boolean 142, String 143) +876 SoftwareFX.ChartFX.Internet.Server.Chart.GetHtmlTag(Object width, Object height, String tag, String name) +341 SoftwareFX.ChartFX.Internet.Server.Chart.GetHtmlTag(Object objWidth, Object objHeight, String tag) +19 Anaxis.Academy.Euconsult.chartLogons.getData() in c:\inetpub\wwwroot\Euconsult\Charts\chartLogons.aspx.vb:167 Anaxis.Academy.Euconsult.chartLogons.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\Euconsult\Charts\chartLogons.aspx.vb:109 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +720 ---------------------------------------------------------------------------- ---- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Software FX Posted August 20, 2004 Report Posted August 20, 2004 Can you post the code you are using to customize the chart, i.e. properties you are setting. Also the stack in the exception seems to point to labels in one of our axes ? How are you passing the data and labels to the chart ? -- Regards, JC Software FX Support "Roel" <sig@sig.com> wrote in message news:LI%23sg8qhEHA.3888@webserver3.softwarefx.com... > Hi, > > I'm fairly new to ChartFX. I modified an existing chart with an extra > filter > parameter on country. If I select Germany in the dropdownlist (country nr > 6, > the largest), I sometimes get the following error: on Line 167: > litChart.Text = chrtLogons.GetHtmlTag("100%", "90%", "Flash"). > > It could be that I choose another country and move back to Germany and it > works, seems like random, but only with Germany the error occurs. > I have ChartFX for .NET 6.2, downloaded the latest Service pack, and when > I > go to windows explorer to view the details of e.g. ChartFX.base.dll, the > version number show the correct version (last version), but when I add the > dll to my references it show version 6.2.1342.0 (older). I did > remove/readd > the reference, delete the bin folder and temporary ASP.NET files. Am I > doing > something wrong ? > > Thanks for your support ! > > > > Server Error in '/euconsult' Application. > ---------------------------------------------------------------------------- > ---- > > Specified argument was out of the range of valid values. Parameter name: > Index was out of range. Must be non-negative and less than the size of the > collection. > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information > about the error and where it originated in the code. > > Exception Details: System.ArgumentOutOfRangeException: Specified argument > was out of the range of valid values. Parameter name: Index was out of > range. Must be non-negative and less than the size of the collection. > > Source Error: > > Line 165: 'myFlash.Codebase = > "http://MyCompany/codebase/flash/macromedia/5/x.cab#Version=6,0,0,1" 'make > sure the user downloads this version > Line 166: 'myFlash.PluginsPage = > "http://MyCompany/PLUGIN/flash/macromedia/5/x.cab#Version=6,0,0,1" 'make > sure the user downloads this version > Line 167: litChart.Text = chrtLogons.GetHtmlTag("100%", "90%", > "Flash") > Line 168: > Line 169: End Sub > > > Source File: c:\inetpub\wwwroot\Euconsult\Charts\chartLogons.aspx.vb > Line: 167 > > Stack Trace: > > [ArgumentOutOfRangeException: Specified argument was out of the range of > valid values. > Parameter name: Index was out of range. Must be non-negative and less > than > the size of the collection.] > > System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 > index) +199 > SoftwareFX.ChartFX.Internet.Server.LabelList.get_Item(Int32 i) +101 > SoftwareFX.ChartFX.Internet.Server.AxisBase.F5(1N 1KR, Rectangle[] 1KS, > SetPropFlag& 1KT, 15 1KU, AxisSection& 1KV) +8072 > SoftwareFX.ChartFX.Internet.Server.AxisCollection.FP(1N 1LY, Rectangle[] > 1LZ, 15 1M0) +208 > SoftwareFX.ChartFX.Internet.Server.ChartCore.5E(1N 0Z0, Boolean 0Z1, > Boolean 0Z2) +161 > SoftwareFX.ChartFX.Internet.Server.ChartCore.5D(1N 0YX, Rectangle& 0YY, > Int32& 0YZ) +623 > SoftwareFX.ChartFX.Internet.Server.ChartCore.5C(PaintBar 0YU, > IGraphicsEx > 0YV, Rectangle& 0YW) +572 > SoftwareFX.ChartFX.Internet.Server.ChartCore.77(PaintBar 11P, > IGraphicsEx > 11Q, Rectangle& 11R) +64 > SoftwareFX.ChartFX.Internet.Server.Chart.7V(Stream 131, IOutputWriter > 132, OutputText 133, OutputText 134, OutputInfo& 135) +1463 > SoftwareFX.ChartFX.Internet.Server.Chart.8B(OutputText 13Z, OutputText > 140, Boolean 141, Boolean 142, String 143) +876 > SoftwareFX.ChartFX.Internet.Server.Chart.GetHtmlTag(Object width, Object > height, String tag, String name) +341 > SoftwareFX.ChartFX.Internet.Server.Chart.GetHtmlTag(Object objWidth, > Object objHeight, String tag) +19 > Anaxis.Academy.Euconsult.chartLogons.getData() in > c:\inetpub\wwwroot\Euconsult\Charts\chartLogons.aspx.vb:167 > Anaxis.Academy.Euconsult.chartLogons.Page_Load(Object sender, EventArgs > e) in c:\inetpub\wwwroot\Euconsult\Charts\chartLogons.aspx.vb:109 > System.Web.UI.Control.OnLoad(EventArgs e) +67 > System.Web.UI.Control.LoadRecursive() +35 > System.Web.UI.Page.ProcessRequestMain() +720 > > > > > ---------------------------------------------------------------------------- > ---- > Version Information: Microsoft .NET Framework Version:1.1.4322.573; > ASP.NET > Version:1.1.4322.573 > >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.