FoxChart - specifying scale increments

Topics: Enhancement Request
Oct 21, 2008 at 7:49 PM
 Is there a way of specifying a scale increment for the Y axis?

Here's the scenario:

I have a graph where the Y axis should only be integers. So if I had a graph which had an element having a value of 1 (and it's the only element on the graph), assuming Scale = 0 (Automatic) and MinNumberScaleLegends = 5 I end up with increments of .2, which doesn't really make sense with this data. What I'm thinking is having a property which is used in conjunction with MinNumberScaleLegends, "ScaleIncrement". So with this same example if ScaleIncrement was 1, I'd see a Y axis that showed 0, 1, 2, 3, 4, 5 then my one data point at 1.

Oct 21, 2008 at 10:49 PM
AHA!  Any easy one.  This is just a matter of less-than-clear documentation.

The variable .Scale that you referenced (where 0 = automatic) is the increment between successive items on the Y-Axis.  Set .Scale = 1 and away you go.

If you were seeing this from within the pageframe class (using, for example form JN_Sample2), no doubt you'd like to see a clearer prompt and possible a tooltip.

If you were seeing this just by using the property sheet, then the description for Scale would need to be clarified.

Jim Nelson