Added lineCurveType config and fixed tooltips