forked from ddrilling/asb_cloud_front
Исправлена ошибка в рендере тултипа мониторинга
This commit is contained in:
parent
bf1ecce071
commit
547baa6289
@ -14,7 +14,7 @@ export const cursorRender = (group, data) => {
|
||||
if (group.charts.length <= 0) return <></>
|
||||
const firstChart = group.charts[0]
|
||||
const y = firstChart.y(d)
|
||||
const yValue = firstChart.yAxis.format?.(y) ?? defaultValueRender(y, chart.yAxis.unit)
|
||||
const yValue = firstChart.yAxis.format?.(y) ?? defaultValueRender(y, firstChart.yAxis.unit)
|
||||
const xFormat = (chart) => {
|
||||
const v = chart.x(d)
|
||||
return chart.xAxis.format?.(v) ?? defaultValueRender(v, chart.xAxis.unit)
|
||||
|
Loading…
Reference in New Issue
Block a user