I am now on a PC with CVI so I can detail a little bit more this item. ATTR_PLOT_XDATA_TYPE / ATTR_PLOT_YDATA_TYPE attributes give you informations about the type of data in the axes, while ATTR_PLOT_XDATA_SIZE / ATTR_PLOT_YDATA_SIZE inform you of the size in bytes of the data in the 2 axes so that you can determine the type and size of memory to allocate for each of them. Supposing you already know these informations, which is most likely your situation, ATTR_NUM_POINTS returns only the dimension of the plot in array elements.
I can confirm you that these attributes only apply to X, Y, XY and waveform plots, with the addition of polygon plots.
You cannot access plot data if graph data mode is set to Discard (plot functions do not return a valid plot handles in this case).