Since release 1.27d it is possible to draw shadows behind drawn pixels. Shadow can be added to any plot-drawn objects line lines and cubics. Use shadows with caution as this will add extra computing time to your charts. If you want to display rendered data on your web pages, I invite you to use the pCache class to speed up the processing time.
This example is showing how to display two data series with dedicated Y axis. Basic way to associate a data serie to one axis is to first add only the attached data series to the grapher using the AddSerie() function of the pData class and then invoke the drawScale() function of the pChart class. Before drawing the right scale, use the clearScale() function and remove the previously graphed series with the RemoveSerie() function of the pData class. Then add the remaining series using the AddSerie() function and compute the second Y axis calling the drawRightScale() function.
Shadows are activated calling the setShadowProperties() function. You must remove the shadow engine calling the clearShadow() when you've finished to draw your data series. If you forget to remove the shadow, you'll experience strange graphing effects.