Chart.js v2: space between doughnut inside doughnut

前端 未结 4 1531
眼角桃花
眼角桃花 2021-01-22 20:29

I am using chart.js v2.5.0. I put doughnut inside doughnut.

I want the disdance between 2 doughnuts(A) to be larger without affecting the distance betwe

4条回答
  •  死守一世寂寞
    2021-01-22 21:05

    Picture of 3 datasets in doughnut chart with "padding"

    I achieved this by inserting a transparent dataset between the colored datasets. Didn't find another "easy" way.

    In the end it was easier to do the whole chart myself instead of using chartjs.

提交回复
热议问题