D3 Gauge Error while applying context TypeError: d3.tween is not a function

0
trying to integrate gauge widget with mendix UI bu somehow it is giving  me error. Sometime it works fine.  Here, Created microflow for getting value, min and max. Populated Gauge with specified properties.    ERROR :  Error while applying context Error: MindsphereTimeSeriesApplication.PG_TimeseriesWithGauge.gaugeChart1: Error while applying context TypeError: d3.tween is not a function     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:31:58309     at Object.e.exports.collect (http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:20:31722)     at Object.e.exports.applyContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:31:58208)     at E.(anonymous function).O.passContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:31:16488)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:36:91090     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:36:90858     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:36:311896     at i (http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:36:90743)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:36:311872     at o (http://localhost:8080/mxclientsystem/mxui/mxui.js?636825384878689585:20:31661)
asked
2 answers
1

I just released a new version of the widget -Mendix 8 compliant- in the AppStore, version 1.4.0. In this version I use the same D3 library as Mendix uses (4.13.0), hence the widget should work now in all those cases!

answered
0

This is a duplicate now of a question which was already answered.

D3 tween is not a function

In the end the D3 Gauge chart widget of mine needs to move to v4, but there it is lacking this ‘tween’ function.. will sort this out in the near future. I found This solution for it on stackoverflow.

answered