Skip to content

d3 Speedometer 1.0.1

Latest

Choose a tag to compare

@bharathidas bharathidas released this 23 Sep 07:21

d3 Speedometer 1.0.1

Widget version: 1.0.1 (same as this GitHub release tag)

Compatibility

  • Mendix Studio Pro 10.24.17
  • Built with @mendix/pluggable-widgets-tools 10.16.0
  • Rendering library react-d3-speedometer 2.2.1 (unchanged)

Speedometer.xml is byte-identical to 1.0.0, so existing widget instances keep their configuration. Source changes are lint-only; the package is now a minified production build (72 KB instead of 428 KB).

Install

Download mendix.Speedometer.mpk from this release and import it into your Mendix app.

Sample module: download d3speedometer.mpk from the repository (Studio Pro 10.24.17, bundles widget 1.0.1), import it via File > Import Module Package and open d3speedometer.Home_Web.

Known behavior (carried over from 1.0.0)

  • Values of 0 or below are ignored for value, minValue, maxValue and the other numeric attributes, and the default is used instead. A negative minValue is therefore not possible.
  • If customSegmentLabels is set while maxSegmentLabels is empty, the widget passes 0 and numeric segment labels render at rotate(NaN), stacking at the center. Set maxSegmentLabels to the segment count to avoid this.

Previous version (Mendix 9.12.4, widget 1.0.0)