Hi
This is an InsightGraphing question so I suppose I should be posting it on 'InsightGraphingCentral' but I don't think there is one so here goes!
I have a graph on a NetWebForm which has 200 plotting points. The X-values range from 0.00 to 20.00 and the actual values for the first 21 numbers are:
0.0 and
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0
On ?InsightPrompts for the graph, X-Axis, you can specify how the PointName is displayed and the obvious choice is 'Display PointName with labels at every x points'. These X-values are seconds and I want to display 1 2 3 4 5 6 etc.
But there is a problem because of the 0.0. The first value I want to display is 1 which is the 11th entry but if x=11 then the values on the axis are:
1 2.1 3.2 4.2 etc.
Choosing x=10 gets:
0.9 1.9 2.9 3.9 etc.
Neither are correct and what is needed is a choice construct like "specify the first value then the interval for all other values'. If this was available then you could choose '0 and 10' and you would get 0 1 2 3 etc. but I couldn't work out how to get this with the current options on the prompts. The issue is that there are 11 items in the first group and 10 in all of the others.
So, I have, for the time being fudged the graph by not writing the record for the 0.1 point into the plotting queue. This makes the sequence 0.0 0.2 0.3 . . . 1.0 etc. and there are 10 items in each group. Displaying a 'point name every 10 points' works and I have enough points that no-one will miss the one entry.
However, I would be interested in comments about this - I may have missed something about how to specify the first point.
Cheers
Keith