Musson Industrial’s Embr-Charts Module

Release Notice

Embr v8.1 - 2025.10.31
Embr v8.3 - 2025.10.31

Major Changes

  • fc47d7e: Modules no longer include kotlin-stdlib.
    • All modules now rely on the Kotlin standard library provided with Ignition.

Minor Changes

  • 6e2cb4c: Expose chart component's ComponentDelegate.
    • Provide's access through this.delegate in all props callback functions.
    • Importantly, this allows access to the underlying charting component through this.delegate.proxy.ref.

Patch Changes

  • Updated dependencies [f36eaee]
  • Updated dependencies [6e2cb4c]
    • @embr-jvm/core-common@0.7.1
    • @embr-modules/charts-web@4.0.0
    • @embr-jvm/core-designer@0.7.1
1 Like

Would this expose chart.render() to being called?

If so, example please :slight_smile:

1 Like

Hello everybody, one quick question.. Do I have to reboot the gateway during the module installation?

8.1 = No
8.3 = Yes

2 Likes

I’m playing with the Module and I have to say that its speed is really amazing.

I need your help to understand how to manage the datalabels, at the moment they are like the picture..

I try to add and manage the formatter but actually I don’t understand how it should be use in this case.

Thanks for the help.

EDIT: reading some previous answer I add the property:

formatter: (value, context) => { return value.y }

and now it works good :+1:

3 Likes

how can we change the radar chart background area?

ApexCharts or Chart.js component?

I’m guessing chart.js given the quote, but for either, I would ask AI as these are well supported 3rd party libraries. Otherwise, just look at their documentation

I would second this. I had no idea how to change certain things in the radar chart, and I asked ChatGPT telling it I was using Ignition Perspective then pasted my parameters. It tracked down the problem without too many prompts. I also attached a screenshot of the output in the prompt

@bmusson
I’m experiencing an issue on the Chartjs (3.0.1 (b2025062601) , Ignition 8.1)

I’m having trouble configuring a horizontal bar chart.

Watching online videos it seems pretty staightforward, change the indexAxis from x to y , but when I do so the bars disappear.

Am I doing something wrong?

Current Chart config:

"type": "embr.chart.chart-js",
"version": 0,
"props": {
  "type": "bar",
  "data": {
    "labels": [
      "Planned Production Downtime",
      "Planned Maintenance",
      "Stock Take",
      "Cleanouts & Line Flush",
      "Breakdowns Mechanical",
      "Bin Space Outloading",
      "Bind Space Pre Pelleting",
      "No Raw Materials",
      "Chokes",
      "Labour",
      "PLC/Control System",
      "Utility Failure (Eletrical and Water)"
    ],
    "datasets": [
      {
        "data": [
          1800,
          0,
          0,
          1180,
          471,
          0,
          0,
          135,
          200,
          0,
          0,
          300
        ],
        "label": "Dataset 1"
      }
    ]
  },
  "options": {
    "scales": {
      "x": {
        "type": "category"
      },
      "y": {
        "type": "linear"
      }
    },
    "indexAxis": "y"
  }
},
"meta": {
  "name": "Chartjs"
},
"position": {
  "grow": 1,
  "basis": "300px"
},
"custom": {}

}

Have you tried swapping x and y types?

Make x linear, and y Category?

2 Likes

Yes , this worked thank you.

1 Like