User (Legacy) Posted May 13, 2005 Report Share Posted May 13, 2005 I read a post from late 2004 that indicated there was a bug that could produce random data in a chart when the chart "is run outside of IIS". Could you tell me what 6.0 build has fixed that bug? Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 13, 2005 Author Report Share Posted May 13, 2005 I am having a very bizarre problem. My web chart (which does run in a separate thread and app domain) works ok until I set AxisY min and max.... then I get random data instead of my actual data. Using 6.0.1551. File1.png shows the good data. File2.png shows the random data. The ONLY difference in the code is this line right before I pass the data to the chart: chart.AxisY.Min = 0; chart.AxisY.Max = 250000; When the random data occurs it really is random and will change from run-to-run. To say this is frustrating is an understatement. Link to comment Share on other sites More sharing options...
Software FX Posted May 14, 2005 Report Share Posted May 14, 2005 Can you try setting the AxisY min and max after passing the data. We will research this issue on our 6.X builds. Regards, JC Software FX Support "Dave" <none@nowhere.com> wrote in message news:GXqSgYCWFHA.2004@webserver3.softwarefx.com... >I am having a very bizarre problem. My web chart (which does run in a > separate thread and app domain) works ok until I set AxisY min and max.... > then I get random data instead of my actual data. Using 6.0.1551. > > File1.png shows the good data. File2.png shows the random data. The ONLY > difference in the code is this line right before I pass the data to the > chart: > chart.AxisY.Min = 0; chart.AxisY.Max = 250000; > > When the random data occurs it really is random and will change from > run-to-run. > > To say this is frustrating is an understatement. > > > Attachments.zip Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 16, 2005 Author Report Share Posted May 16, 2005 Tried it. Same result, random data. I saw another article that talked about random data in console apps and it recommended passing null to the chart constructor. Tried that too, but still get the random data. I wish I could send you a simple example replicating this but our report generator is pretty complicated, what with producing the chart in a separate app domain on another thread, etc. I need a fix for this ASAP. "Software FX Support" <none@noreply.com> wrote in message news:X$mGpRMWFHA.2004@webserver3.softwarefx.com... > Can you try setting the AxisY min and max after passing the data. We will > research this issue on our 6.X builds. > > Regards, > > JC > Software FX Support > > "Dave" <none@nowhere.com> wrote in message > news:GXqSgYCWFHA.2004@webserver3.softwarefx.com... > >I am having a very bizarre problem. My web chart (which does run in a > > separate thread and app domain) works ok until I set AxisY min and max.... > > then I get random data instead of my actual data. Using 6.0.1551. > > > > File1.png shows the good data. File2.png shows the random data. The ONLY > > difference in the code is this line right before I pass the data to the > > chart: > > chart.AxisY.Min = 0; chart.AxisY.Max = 250000; > > > > When the random data occurs it really is random and will change from > > run-to-run. > > > > To say this is frustrating is an understatement. > > > > > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 17, 2005 Author Report Share Posted May 17, 2005 (Apologies if this gets posted twice but the original post yesterday hasn't shown yet) Tried it. Same result, random data. I saw another article that talked about random data in console apps and it recommended passing null to the chart constructor. Tried that too, but still get the random data. I wish I could send you a simple example replicating this but our report generator is pretty complicated, what with producing the chart in a separate app domain on another thread, etc. I also tried this at the suggestion of your support staff but it didn't change anything: Page myPage = new Page(); Chart chart1 = new Chart(myPage); I need a fix for this ASAP. "Software FX Support" <none@noreply.com> wrote in message news:X$mGpRMWFHA.2004@webserver3.softwarefx.com... > Can you try setting the AxisY min and max after passing the data. We will > research this issue on our 6.X builds. > > Regards, > > JC > Software FX Support > > "Dave" <none@nowhere.com> wrote in message > news:GXqSgYCWFHA.2004@webserver3.softwarefx.com... > >I am having a very bizarre problem. My web chart (which does run in a > > separate thread and app domain) works ok until I set AxisY min and max.... > > then I get random data instead of my actual data. Using 6.0.1551. > > > > File1.png shows the good data. File2.png shows the random data. The ONLY > > difference in the code is this line right before I pass the data to the > > chart: > > chart.AxisY.Min = 0; chart.AxisY.Max = 250000; > > > > When the random data occurs it really is random and will change from > > run-to-run. > > > > To say this is frustrating is an understatement. > > > > > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 17, 2005 Author Report Share Posted May 17, 2005 This was a post from 11/112003 from softwarefx: >>I found the problem. It only happens when Chart FX Server component is run >>OUTSIDE of IIS. >>Basically, at the time of doing the Export, the chart think it is running at >>design-time and therefore no data is saved. >>We are currently facing the problem and will include a fix in the next SP >>for both ChartFX 6.0 and 6.2. This is exactly what I am experiencing. Can you tell me in what versions of ChartFX this problem is fixed? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.