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
{{ message }}
Repository navigation
Commit 2b37edb
Browse filesBrowse the repository at this point in the historyBrowse files
api: fix line chart rendering with null gaps (use labels+data arrays, not {x,y} objects)
Chart.js 4's LineController.parseObjectData throws 'Cannot read properties
of null (reading x)' when a dataset mixes {x,y} point objects with null
entries. This aborted loadMainCharts() after the PV chart, leaving the
overview/battery/SOC charts blank.
Switch to the standard labels (timestamps) + data (values) array form,
which Chart.js handles natively for gaps via spanGaps:false.
0 commit comments