forgot to implement setRegressionGraphType()