gionkunz / chartist-js

Legacy Chartist Repo for old gh-pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pie chart issue

ayoubkhan558 opened this issue · comments

When I use pie donut chart with .ct-square aspect ratio. Some labels are hidden.
image

I have experienced the same problem and im looking for a solution yet. My problem is with the line label that is cutted at the top because the left guid stops exactly as the value. So it keeps been cutted.

My friend, i think i found a solution. In the JS we have a property called chartPadding.

chartPadding: { top: 30, right: 15, bottom: 5, left: 10 },

just change those values and it will be allright,

God Bless you!