whistman Posted May 24, 2010 Report Share Posted May 24, 2010 The charts on this web page used to render correctly, which each graph showing distinct data. I haven't made any changes to the code, and I've stepped through the code and it's properly loading the underlying data, yet the graphs load as shown here, with every graph showing the same set of colors and percentages. Any ideas why? Only this page on the site has this issue; graphs on other pages run properly. I've recycled the PSS service, no change. Quote Link to comment Share on other sites More sharing options...
whistman Posted May 24, 2010 Author Report Share Posted May 24, 2010 I have determined that chart.Data.Points is set to 10 as soon as the chart is created; we have code that expects to load up to four points, thus the data isn't getting loaded (10 > MAXPOINTS, which is a constant set to 4). The question now becomes, why are the charts being created by default with ten random points? They didn't use to! Quote Link to comment Share on other sites More sharing options...
whistman Posted May 25, 2010 Author Report Share Posted May 25, 2010 I coded a work-around, resetting Data.Points to 0 in my AddPoints routine, if the existing Data.Points > MAXPOINTS. I still don't know why the charts suddenly started showing up with 10 predefined points, when they did not do this before, on initial instantiation. 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.