I am saying that eventhough I pass in an XDatatype of VAL_INTEGER and the xarray itself contains integers and is declared as an int, the graph that is displayed has as it's xaxis floating point units (ie. 1.0 1.5 2.0 2.5. The xarray that I pass in contains only integers, but the PlotXY function seems to automatically make it's own xarray values using floating point. I was thinking that this may happen because the yarray and the Ydatatype are floating point. Here is a copy of my call to XPlotXY.
PlotXY (pc_panelid, panelplusgraph, xarray, yarray, numPointstoPlot, XdataType, YdataType, VAL_THIN_LINE, // Plot Style
VAL_SOLID_CIRCLE, // Point Style
VAL_DOT, // Line Style
1, // Point frequency
the_color); // Color
Here is my function call to my function called GraphOneLine
GraphOneLine(pc_panelid, GEN_RES_P, GEN_RES_P_GRAPH2, (char*)the_title, (char*)the_xaxis_label, (char*)the_yaxis_label, VAL_INTEGER, VAL_DOUBLE, num_points, (int*)x_array, (double*)y_array, the_color, displayit, label_it, (char*)yLabel);
void GraphOneLine(int pc_panelid, int the_panel, int panelplusgraph, char graphTitlestr[], char xAxisNamestr[], char yAxisNamestr[],
int XdataType, int YdataType, int numPointstoPlot, int xarray[],
double yarray[], int the_color, int show_graph, int labelit, char* yLabel)