Answer the question
In order to leave comments, you need to log in
Yandex.maps how to draw pieChart correctly?
I need to draw a pieChart on the labels, and make it look like a download. those. there are only two colors, base and fill,
I do it this way:
...
data: [
{ weight: 45, color: '#fff3cc'},
{ weight: 55, color: '#ffffff'},
],
iconContent: '45%',
...
[class*=-pie-chart-icon]{
transform: rotateY(180deg);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question