better line chart with x-axis label and tooltip text and allowance for single-series charts