Custom dashboard - Just displaying a number

Question summary

When creating a custom dashboard (as documented at https://docs.netdata.cloud/web/gui/custom/#custom-dashboards), is there a way to just display a number, without a chart? As an example, I want to display "System Uptime" (system.uptime) as just a time span, without a graph. The way I imagine this working is that I could add a div or span with data-chart-library="inline" or something like that, and it'd just insert the raw value into the element.

Alternatively, I'm happy to write my own JavaScript to actually do the rendering on my page. After loading dashboard.js, is there a JS API I can hook in to get chart data? It could be something like this:

register({
  chart: 'system.uptime',
  handler: (data) => {
    // Run whatever code I want, using `data`
  },
})

Is such a function available in the JS SDK, or is it tightly coupled to the chart libraries themselves?