make line chart dots and xy refs optional with new api

This is a fix for issue #689 that I filed.