Author |
Topic  |
|
ghinojosa
14 Posts |
Posted - 04 Jun 2006 : 15:53:29
|
Hi, I'm using the ParetoPlot Class and I'm having the following issue:
When I try to plot less than 4 items in the Pareto Plot, the first one (the bar on the left side of the plot) appears to be cut off by the half, and the Y axis never starts on the origin. You'll see what I'm talking about if you comment all except 3 of the addcategory lines in the example.
Is this behaviour normal or am I doing something wrong? Thanks in advance
|
|
quinncurtis
1164 Posts |
Posted - 05 Jun 2006 : 11:01:22
|
That looks like a bug associated with Pareto charts that have a small point count. We will look into changing that in a subsequent revision of the software. In the meantime you can add the following lines of code, after the BuildGraph call, to force the itercepts to 0.0.
.
.
.
this.BuildChart();
// Add these lines after the BuildChart call
this.CoordinateSystem1.ScaleStartX = 0;
this.CoordinateSystem1.ScaleStartY = 0;
this.XAxis.CalcAutoAxis();
this.YAxis1.CalcAutoAxis();
|
 |
|
ghinojosa
14 Posts |
Posted - 29 Jun 2006 : 21:16:38
|
Now I'm having a similar problem when I'm dealing with 11 categories. 10 works fine, 12 works fine, but when I add 11 categories the last bar (11th) is cut off by half, and the LineMarkerSymbols start with a shift to the left, and as the LineMarkerPlot is moving the Symbols begin to move towards the center of the bar. You can see that the 11th symbol is almost centered with the 11th bar (or at least that's what it looks since it's cut).
I'm working with the original ParetoDiagram, so the only thing I did was to add 5 more categories (to complete the 11).
Thanks in advance! ;-)
|
 |
|
quinncurtis
1164 Posts |
Posted - 30 Jun 2006 : 11:31:11
|
There does seem to be a anomally in the auto-axis scaling when the number of items is 11. This is best handled by a modification to the DLL. You will be able to download the fix using your download links next Friday. |
 |
|
ghinojosa
14 Posts |
Posted - 30 Jun 2006 : 21:32:58
|
I found another anomally in the ParetoChart:
When adding 12 categories to the Chart, the XAxis shows 15 spaces for BarPlots, the first 12 are Ok but the last 3 spaces that appear at the right and are empty, and I guess those should not be there.
Something similiar happens when adding 13, 14, 15 categories, etc...
When adding 13 there are 2 extra spaces, when 14 there's 1, when 15 the Plot is OK!, when 16 there are 4 extra spaces, when 17 3, when 18 2, when 19 1, when 20 the Plot is OK!, but when 21 there are 4... I guess there's a pattern hidden in all this.
|
 |
|
quinncurtis
1164 Posts |
Posted - 01 Jul 2006 : 09:08:52
|
That is the auto-scaling rounding up to the next major numeric interval, i.e. 15, 20, 30. Once the range is above 10-11 it rounds up to the nearest interval divisible by 5, once above 30 it rounds up to the nearest interval divisible by 10, and so on. We have no plans to change that behavior. |
 |
|
|
Topic  |
|
|
|