Has anyone had success implementing a gauge chart in WeWeb?

I am trying to import the NPM package - chartjs-gauge - but can’t get it to register:

image

It could be there is a “global property” that needs defining but I am not sure what it is.

Have tried many different configurations of Options and Datasets but mainly taking the lead from this lovely CodePen:

Anyone out there managed to get this working who wouldn’t mind helping me out? Thanks!

1 Like

Ooooh nice use case!

Let me see if someone on the team can help you with this :slight_smile:

1 Like

Hey @seo :wave:
chartjs-gauge is a plugin/chart type for Chart.js. However, the current development of Chart.js elements does not permit us to expose the instance for adding plugins. I will create a ticket to address this issue. Unfortunately, I cannot provide an estimate of when it will be resolved.

2 Likes