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
In current TYPO3 12 versions the dashboard widgets can not draw the line graphs due to a new version of charts.js introducing breaking changes:
Invalid scale configuration for scale: yAxes [chartjs.js:19:81187
Invalid scale configuration for scale: xAxes [chartjs.js:19:81187]
Invalid scale configuration for scale: x [chartjs.js:19:81187]
The current TYPO3 12 ships with chart.js 4.x. with a new configuration format. From vendor/typo3/cms-core/Documentation/Changelog/12.1/Deprecation-99150-UpdatedChartLibraryInEXTdashboard.rst:
Deprecation: #99150 - Updated chart library in EXT:dashboard
See :issue:99150
Description
The library chart.js used to render charts in a dashboard has been
updated to version 4.x, introducing some breaking changes. A migration layer is
in place to migrate known and used affected settings.
Impact
The CSS file :file:EXT:dashboard/Resources/Public/Css/Contrib/chart.css became
obsolete with the update of chart.js and was therefore removed without
replacement.
If a migration is executed, an entry will be written into the deprecation log.
Affected installations
All plugins providing third-party chart widgets are affected.
Migration
Migrate the configuration as mentioned in the table below.
================================ ============================
Old setting New setting
================================ ============================
graphConfig/options/scales/xAxes graphConfig/options/scales/x
graphConfig/options/scales/yAxes graphConfig/options/scales/y
================================ ============================
Also, please consult the migration guides available at
The text was updated successfully, but these errors were encountered:
morefx
changed the title
Widgets can not render line charts due to an updated version of chart.js version in TYPO3 12
Widgets can not render line charts due to an updated chart.js version in TYPO3 12
Nov 30, 2023
In current TYPO3 12 versions the dashboard widgets can not draw the line graphs due to a new version of charts.js introducing breaking changes:
The current TYPO3 12 ships with chart.js 4.x. with a new configuration format. From vendor/typo3/cms-core/Documentation/Changelog/12.1/Deprecation-99150-UpdatedChartLibraryInEXTdashboard.rst:
The text was updated successfully, but these errors were encountered: