Allow to enable/disable line or markers in XYPlot.