User (Legacy) Posted May 23, 2003 Report Share Posted May 23, 2003 I have a chart that has multiple gallery types: area, two bars, two scatter plots, and two lines. Without using the stacked property of the two bar series, the chart comes out just fine. However, when I set the stacked property so that the two bar series are stacked on top of one another, the area chart data becomes messed up. There are a few values within the area series that exceed the max value for the Y-axis, so when properly shown the area appears "fat" at the top of the chart (because the area chart is actually extending above the top of the chart, although you cannot see it). But when the stacked the values that exceeded the max value of the Y-axis are reset to the max value of the axis. Does anyone have any clue why this is happening? Here are the two screenshots of the chart: Without using the stacked property of the two bar series: With using the stacked property of the two bar series Please note that I am not making any changes to the chart other than un-commenting the lines that set the stacked property of the series: Chart.Series(1).Stacked = 0 Chart.Series(2).Stacked = 1 Thanks in advance for your help. Link to comment Share on other sites More sharing options...
Software FX Posted May 25, 2003 Report Share Posted May 25, 2003 Call RecalcScale AFTER setting up your data and Stacked settings, this will adjust the scale accordingly. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted May 27, 2003 Author Report Share Posted May 27, 2003 Using the RecalcScale method doesn't achieve the results that I am wanting, unfortunately. When I use the RecalcScale method it will readjust the scales on the Y-axis. I want, however, for the Y-axis to always have to same scale, regardless of the data points. The problem at hand is just that ChartFX is reassigning the data points to 2500 on the Y-axis when the real value of the point was greater than 2500. Mind you that this only happens when I used the stacked property. When I don't use the stacked property I get the result I want, which is that the area series "appears" to continue up above the top of the chart. I again appreciate your help. "Software FX Support" <support@softwarefx.com> wrote in message news:oe6T7IvIDHA.2172@webserver1.softwarefx.com... > Call RecalcScale AFTER setting up your data and Stacked settings, this will > adjust the scale accordingly. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 4, 2003 Author Report Share Posted June 4, 2003 Have any of you been able to find a solution to this problem?? I am just re-posting in case you forgot about me Thanks again. "Blair Allen" <Blair.Allen@infineon.com> wrote in message news:ZDk7ExFJDHA.1060@webserver1.softwarefx.com... > Using the RecalcScale method doesn't achieve the results that I am wanting, > unfortunately. When I use the RecalcScale method it will readjust the > scales on the Y-axis. I want, however, for the Y-axis to always have to > same scale, regardless of the data points. The problem at hand is just that > ChartFX is reassigning the data points to 2500 on the Y-axis when the real > value of the point was greater than 2500. Mind you that this only happens > when I used the stacked property. When I don't use the stacked property I > get the result I want, which is that the area series "appears" to continue > up above the top of the chart. I again appreciate your help. > > > "Software FX Support" <support@softwarefx.com> wrote in message > news:oe6T7IvIDHA.2172@webserver1.softwarefx.com... > > Call RecalcScale AFTER setting up your data and Stacked settings, this > will > > adjust the scale accordingly. > > > > -- > > FP > > Software FX, Inc. > > > > > > Link to comment Share on other sites More sharing options...
Software FX Posted June 8, 2003 Report Share Posted June 8, 2003 Actually, I couldn't quite figure out what you are trying to do. Do you actually WANT the clipping to occur ? or do you want the scale to change to a higher number so that there is no clipping ? There is some issues with clipping stacked charts and some of them can be worked around, what I need to know though is what do you want to get ? Have you tried setting the global stacked property to Normal ? Chart.Stacked = STACKED_NORMAL -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 9, 2003 Author Report Share Posted June 9, 2003 First of all, that STACKED_NORMAL value does not exist, at least not with the version we are using. I am guessing you meant the CHART_STACKED value, as opposed to CHART_STACKED100, correct? In any case that was what I was originally using. Hopefully this explaination will be clear enough for you to understand, as it is quite difficult to put it into words: For an example, lets say you have a chart where you are showing the inventory amount of a warehouse by date. On the Y-axis will be the number of units that are actually in the warehouse, and the x-axis contains the different dates. What I want from the chart is an area style series that will show the inventory. The y-axis should have a constant scale from 0 to 1000. If the inventory is actually greater than 1000, then the area series should continue above the top of the chart (even though you cannont see it). I do not want the y-axis scale to change under any circumstance. This is the basic scenario I want. I can achieve this in my chart by not using the stacked property on the other two bar style series in the chart. If you refer back to my original posting, you will see the two charts, on where the area series appears to continue up above the top of the chart/Y-axis, while in the other the area series never appears to go above the max value for the y-axis, even though the data point is in fact higher. This almost 100% surely has to be a bug in the ChartFX code, especially since if you use the Data Editor, the values for those points are greater than the max value for the y-axis, yet the area series plot shows a point value equal to the max of the y-axis. I also must have the other two bar type series in the chart stacked, so I cannont use a workaround that prevents me from using the stacked property. Any thoughts/suggestions? Thanks again for your time... Blair Allen "Software FX Support" <support@softwarefx.com> wrote in message news:m8H2PViLDHA.3140@webserver1.softwarefx.com... > Actually, I couldn't quite figure out what you are trying to do. > > Do you actually WANT the clipping to occur ? or do you want the scale to > change to a higher number so that there is no clipping ? > > There is some issues with clipping stacked charts and some of them can be > worked around, what I need to know though is what do you want to get ? > > Have you tried setting the global stacked property to Normal ? > > Chart.Stacked = STACKED_NORMAL > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted June 18, 2003 Report Share Posted June 18, 2003 We have found this to be a bug. We have fixed it and are currently doing some regression testing. The problem will be fixed in the next service pack. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 14, 2003 Author Report Share Posted July 14, 2003 I will no longer be responsible for the report that uses the chart that is having this problem. Right now we are currently using ChartFX Internet Server Version 5.5.10.4. Could you please sent a notification e-mail to Michael.Galgano@infineon.com whenever you release the Service Pack that will contain the fix to this bug?? Thanks. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:bY5dgraNDHA.2860@webserver1.softwarefx.com... > We have found this to be a bug. We have fixed it and are currently doing > some regression testing. The problem will be fixed in the next service pack. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.