mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[agg_response/point_series] apply PR feedback
This commit is contained in:
parent
f681d6cf86
commit
a119577af8
2 changed files with 3 additions and 3 deletions
|
@ -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 },
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue