mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
fixing heatmap labels (#10334)
This commit is contained in:
parent
0bd7f4264e
commit
ca71e37abe
1 changed files with 7 additions and 1 deletions
|
@ -105,6 +105,12 @@ export default function ColumnHandler(Private) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
} else {
|
||||||
|
config.valueAxes.forEach(axis => {
|
||||||
|
if (axis.labels) {
|
||||||
|
axis.labels.axisFormatter = data.data.yAxisFormatter || data.get('yAxisFormatter');
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.categoryAxes) {
|
if (!config.categoryAxes) {
|
||||||
|
@ -192,7 +198,7 @@ export default function ColumnHandler(Private) {
|
||||||
},
|
},
|
||||||
labels: {
|
labels: {
|
||||||
filter: false,
|
filter: false,
|
||||||
axisFormatter: val => val
|
axisFormatter: data.data.yAxisFormatter
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
rangePadding: 0,
|
rangePadding: 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue