Apexcharts.js: Increase radialbar stroke-width / thickness

Created on 13 Feb 2019  路  2Comments  路  Source: apexcharts/apexcharts.js

The stroke-width scales with the size of the chart, which makes it very hard to spot, if the chart is smaller. I want to use the radial bar chart as a sort of indicator, so it would be pretty small. I know u can adjust the width of the track, but i couldn't find a solution on how to increase the stroke-width of the bar.

image
( left is size: 100, right is size: 50 )

Is there any possibility to manipulate the stroke-width of the bar? Would be more than happy if someone could give me a lead.

Most helpful comment

Try these settings to make the bars thick

    plotOptions: {
        radialBar: {
          hollow: {
            size: '30%', // percentage
          },
          track: {
            margin: 1, // margin is in pixels
          }
        }
     }

All 2 comments

Try these settings to make the bars thick

    plotOptions: {
        radialBar: {
          hollow: {
            size: '30%', // percentage
          },
          track: {
            margin: 1, // margin is in pixels
          }
        }
     }

It's working just right. Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rcoundon picture rcoundon  路  3Comments

rudeayelo picture rudeayelo  路  3Comments

maasha picture maasha  路  3Comments

EroTiXx picture EroTiXx  路  3Comments

jlil picture jlil  路  3Comments