You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Description:
I encountered this error while adjusting the screen size vertically using the browser's developer tools. When resizing, the Nivo Line Chart attempts to adjust dynamically, but it triggers an immediate flood of console errors. The error message appears as follows:
It seems that when the chart is resizing, the elements inside the SVG are being assigned invalid transform attributes, likely due to an incorrect or incomplete translate() function. This issue occurs specifically when the chart's container is resized, possibly causing improper calculations for positioning elements inside the chart.
here is my code of line chart -
`
import { ResponsiveLine } from '@nivo/line'
import { useTheme } from '@mui/material'
import { tokens } from '../theme'
import { mockLineData as data } from '../data/mockData'
Error Description:
I encountered this error while adjusting the screen size vertically using the browser's developer tools. When resizing, the Nivo Line Chart attempts to adjust dynamically, but it triggers an immediate flood of console errors. The error message appears as follows:
ERROR - chunk-NVAVGVLJ.js?v=40f4b096:6131 Error: attribute transform: Expected ')', "…811570467033e-18translate(, ), 2…".
It seems that when the chart is resizing, the elements inside the SVG are being assigned invalid transform attributes, likely due to an incorrect or incomplete translate() function. This issue occurs specifically when the chart's container is resized, possibly causing improper calculations for positioning elements inside the chart.
here is my code of line chart -
`
import { ResponsiveLine } from '@nivo/line'
import { useTheme } from '@mui/material'
import { tokens } from '../theme'
import { mockLineData as data } from '../data/mockData'
const LineChart = ({ isDashboard = false }) => {
}
export default LineChart
`
--
Project detail
-Using Chrome Browser -- Version 132.0.6834.160 (Official Build) (64-bit)
packages -
"@nivo/bar": "^0.88.0",
"@nivo/core": "^0.88.0",
"@nivo/geo": "^0.88.0",
"@nivo/line": "^0.88.0",
"@nivo/pie": "^0.88.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
The text was updated successfully, but these errors were encountered: