Parent
#6 — BarChart — reusable vertical bar chart component
What to build
setData(data: BarItem[]) method that replaces the internal data (shallow copy) and invalidates the render cache. Subsequence render() calls reflect the new data.
Acceptance criteria
Blocked by
Parent
#6 — BarChart — reusable vertical bar chart component
What to build
setData(data: BarItem[])method that replaces the internal data (shallow copy) and invalidates the render cache. Subsequencerender()calls reflect the new data.Acceptance criteria
setData(newData)replaces stored datasetData(newData)invalidates cacherender(width)after setData returns output for new dataBlocked by