Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 SPC Control Chart Tools for .Net
 ParetoChart Labels shifting to the right when +10
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ghinojosa

14 Posts

Posted - 29 Jun 2006 :  15:08:47  Show Profile  Reply with Quote
In the ParetoChart, when I add 10 or more items to the Chart, the XAxisLabels shif to the right.

For instance, in the ParetoDiagram example, when I add 4 CategoryItems to the previously defined, the XAxisLabels lost ther original position under the bars.

Lets suppose that "Torn", "Holes" and "Others" are the top 3 categories (in that order), when I add 4 more categories, "Torn" appears under the first bar, which is OK, but "Holes" appears under the 3rd one and "Others" appears under the 5th one and so on.

Is there a way to fix this?
Thanks in advance.

quinncurtis

1164 Posts

Posted - 29 Jun 2006 :  15:55:17  Show Profile  Reply with Quote
The auto-axis routines are changing the scaling. Set the AxisTickSpace and AxisMinorTicksPerMajor properties to 1. If the labels end up too close together, labels may get deleted from the graph to prevent overlap.


this.BuildChart();
this.XAxis.AxisTickOrigin = 0.5;
this.XAxis.AxisTickSpace = 1;
this.XAxis.AxisMinorTicksPerMajor=1;
Go to Top of Page

ghinojosa

14 Posts

Posted - 29 Jun 2006 :  17:58:28  Show Profile  Reply with Quote
Thank you so much! It worked!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07