import {ValueDisplay} from '../../components/Display' import {ControlOutlined} from '@ant-design/icons' import {Popover} from 'antd' export const ChartTimeOnlineFooter = ({ data, lineGroup }) => { const getFooterData = (name) => { const dataIdx = data && lineGroup?.find(line => line?.footer === name)?.xAccessorName return () } let spValues = getFooterData('SP') const idleValues = getFooterData('IDLE') const popContent = lineGroup?.filter(line => line.footer === true).map(line => (
{line.label}
)) return(
{popContent?.length > 0 ? (
{spValues}
) : (
{spValues}
)}
х.х.
{idleValues}
) }