results.values to results.data.values and results.data.labels