[agg_response/point_series] apply PR feedback

This commit is contained in:
spalger 2016-10-04 13:41:29 -07:00
parent f681d6cf86
commit a119577af8
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ describe('getSeries', function () {
[1, 2, 3]
].map(wrapRows);
let yCol = { aggConfig: {}, title: 'y' };
const yCol = { aggConfig: {}, title: 'y' };
let chart = {
aspects: {
x: { i: 0 },

View file

@ -30,9 +30,9 @@ export default function PointSeriesGetSeries(Private) {
let seriesLabel = y.col.title;
if (aspects.series) {
let prefix = point.series ? point.series + ': ' : '';
const prefix = point.series ? point.series + ': ' : '';
seriesId = prefix + seriesId;
seriesLabel = prefix + y.col.title;
seriesLabel = prefix + seriesLabel;
}
addToSiri(series, point, seriesId, seriesLabel);