mendixlabs/ChartJS

Pie and Donut charts throw error in Mendix 7

mlehane1 opened this issue · 1 comments

Console says: Error: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.

Test project attached
Mendix7Charts.zip

I have checked the version of the widget using the deprecation checker:

C:\Projects\ISSUES\Mendix7Charts\widgets> mx-check-deprecations.cmd .\ChartJS.mpk -v

 ================== Mendix Check Deprecations for Mendix ==================
 Version: 2.0.0
 ==========================================================================

 Reading 1 files
 Checking 1 widgets

 ==========================================================================
 File:                .\ChartJS.mpk
 Widgets:
                      ChartJS.widgets.BarChart.widget.BarChart : ChartJS - Bar Chart
                      ChartJS.widgets.LineChart.widget.LineChart : ChartJS - Line Chart
                      ChartJS.widgets.StackedBarChart.widget.StackedBarChart : ChartJS - Stacked Bar Chart
                      ChartJS.widgets.RadarChart.widget.RadarChart : ChartJS - Radar Chart
                      ChartJS.widgets.PieChart.widget.PieChart : ChartJS - Pie Chart
                      ChartJS.widgets.PolarChart.widget.PolarChart : ChartJS - Polar Chart
                      ChartJS.widgets.DoughnutChart.widget.DoughnutChart : ChartJS - Doughnut Chart
 Package.xml version: 2.1
 ==========================================================================

 ChartJS/widgets/BarChart/widget/BarChart.js has no results
 ChartJS/widgets/Core.js has no results
 ChartJS/widgets/DoubleDoughnutChart/widget/DoubleDoughnutChart.js has no results
 ChartJS/widgets/DoughnutChart/widget/DoughnutChart.js has no results
 ChartJS/widgets/LineChart/widget/LineChart.js has no results
 ChartJS/widgets/PieChart/widget/PieChart.js has no results
 ChartJS/widgets/PolarChart/widget/PolarChart.js has no results
 ChartJS/widgets/RadarChart/widget/RadarChart.js has no results
 ChartJS/widgets/StackedBarChart/widget/StackedBarChart.js has no results
 ==========================================================================
 Done: Checker spotted 0 results
 ==========================================================================

This indicates that your widget is on version 2.1. The latest release is 3.5.3. This particular issue was fixed in this commit. Please update your widget from the AppStore