Switch samples chart to linear scale if only one series is visible