I am writing a windows dialog application that contains an array visualiser 2D object, graphing a three dimensional array as an image map. The x and y axes default to the dimension values and I have been attempting in vain to change these for the x axis (dimension 150) to data values between 0.0 and 50.0.
I am using the UseAxisScales and AxisScaleFileName commands. The former works fine (returning an integer value of 0), but I am having problems with the latter:
iret = autosetproperty (hAvis2D1, "AxisScaleFileName(0)", "AxisScale50.agl")
returns an iret value of -2147352570 and fails to load the axis data. AxisScale50.agl is an agl file saved from within AV Viewer comprising a one dimensional array (dim = 150) with linearly scaling values between 0.0 and 50.0. Adding the full path to the file does not help.
Can anyone help?
CVF 6.6A and AV 1.6.0