Scale on Indexed Bar Chart

Scale on Indexed Bar Chart

Forum member · Oct 9, 2012
I have an indexed bar chart that we are creating in a report. The values are dollar figures and are dynamic depending on the client. The automatic scale appears to be a bit skewed. For example, the value of series one is $592.76 and series two is $617.67. The bar for series one is very short (maybe 30pt) and the bar for series 2 is very high (at least 6 times as tall). This really isn't representative of the data (only a $25 difference). With the data being dynamic (for some customers, this could be in the $10,000 range), I can't hardcode a specific interval. Please advise how I can set the scale. Thanks.

Re: Scale on Indexed Bar Chart

Support · Oct 10, 2012
Hello, Can you please send over the following details to our [^a|mailto:support@cete.com|opennewwindow|support^] team so that they can look into it further? 1.Sample code using which our support team can recreate the behavior. 2.Output PDF document. Thanks, ceTe Software Support Team.

Re: Scale on Indexed Bar Chart

Support · Oct 22, 2012
Hello, If different intervals are set for each chart the same value will not be represented in the same scale in each of those charts. DynamicPDF API dynamically calculates the YAxis minimum and maximum values and also the intervals depending on the height of the plot area. Set the desired values for minimum and intervals for the YAxis using Min and Interval properties to make sure all charts are being represented on the same scale. MyColumnSeries1.YAxis.Min = 0 MyColumnSeries1.YAxis.Interval = 100 Thanks, ceTe Software Support Team.