With the charting ActiveX control (VisualStudio 6.0) I have successfully plotted multiple lines (using SIMPLE_XY_DATA_TYPE)against Y_AXIS1 and have successfully implemented, scaled, and labeled Y_AXIS2. But I have not been able to determine how to plot any of the lines against Y_AXIS2. The SetGPlotRefAxes() method seems to have the ability to assign datasets to a specific axis, but appears to be implemented only for group types. I assume the 'stacked line' group type is additive (rather than each line being plotted independently against Y values) so that would not work. I simply want to plot some of my lines against Y_AXIS1 and some against Y_AXIS2. How do I do that?
The demo program Axes plots simple plot types against two different y-axes, scaled to different orders of magnitude. We can't see anything wrong with the way the program works. Verify that this program also works on your system.
If you are setting up the plot-axes relationship using the property pages, make sure you are not changing it in the program. Or, just code the relationship as done in the demo program Axes.