Basic RadialBar in JavaScript

Using ApexCharts with JavaScript

This Basic RadialBar example uses ApexCharts.js directly in JavaScript, with no wrapper component.

Install it with npm install apexcharts, then mount the chart with new ApexCharts(element, options).render().

JavaScript installation guide
var options = {
  series: [68],
  chart: {
    height: 350,
    type: 'radialBar',
  },
  plotOptions: {
    radialBar: {
      hollow: {
        size: '70%',
      },
    },
  },
  labels: ['Completion'],
}

var chart = new ApexCharts(document.querySelector('#chart'), options)
chart.render()