I've created a variability chart, but is there a way to round the resulting Show Grand Mean? It defaults to 10 decimal places which stretches the chart out horizontally. I'd like it to round to say 2 decimal places:
chartVar = Variability Chart( Y(:YVALUE), X(:XVALUE), Show Grand Mean, ... any help appreciated. thx, dj
Unfortunately I don't know how to change the annotation for the grand mean, but maybe you could delete the annotation altogether, and then annotate the chart itself. I've done the same sort of thing below as in the other two recent related queries:
style="font-size: 9pt; font-family: "Courier New"; color: green;">// Then annotate the chart (which is FrameBox(1) in the report) instead; style="font-size: 9pt; font-family: "Courier New"; color: black;">
Actually, I think I may have just worked out how to solve the original problem. The number of decimals to which the grand mean is reported seems to be calculated from the number of decimals in the format of the original column of data plus two - so for example if the format of the column in the original data table is Fixed Dec(10, 3), the grand mean will be reported to 3+2=5 places. So to get just two places reported in the grand mean, change the format to Fixed Decimal with no decimal places.