import {ValueDisplay} from '../../components/Display' import {ControlOutlined} from '@ant-design/icons' import {Popover} from 'antd' export const ChartTimeOnlineFooter = (props) =>{ const { data, lineIdle, lineSp, linesOther} = props let sp = null let idle = null if(data && lineSp) sp = data[lineSp.xAccessorName] if(data && lineIdle) idle = data[lineIdle.xAccessorName] let spField = let popContent = linesOther?.map(line =>{ let val = null if(data) val = data[line.xAccessorName] return (
{line.label}
) }) if(popContent) spField =
{spField}
else spField =
{spField}
return(
{spField}
х.х.
) }