Hi there,
I would like to change in different screen sizes like. mobile.
Could you help on the way with this?
Best regard, Marco
Hey marco593,
The doughtnut chart will size itself to the space that you place it in, and the screen size.
Please create a test page so we can see what you are tring to achieve so we can advice, but when I test on my site changing the doughtnut chart width will resize it.
So for example if you what it 50% smaller on mobile use a media query
@media only screen and (max-width: 767px) {
.av-chart-doughnut {
width: 50%;
}
}
or you can set a exact width
@media only screen and (max-width: 767px) {
.av-chart-doughnut {
width: 100px;
}
}
If this doesn’t help please create a test page so we can see what you are tring to achieve so we can advice.
Best regards,
Mike
Thank you, It work like.a charme.
Best regards, marco