vmaik
04-29-2022Data Storage
Responsive PieChart
Hello, is there any way how to make piechart looks better on mobile devices?
It has 800px width by default and it's shrinking the whole screen.
Hello, is there any way how to make piechart looks better on mobile devices?
It has 800px width by default and it's shrinking the whole screen.
SisenseJS will draw into the HTML container its given. Looking at your picture, the iPhone XR resolution is 896px wide. I'm guessing your div spans the whole screen which is why Sisense is drawing that large. You can test this by setting a fixed width to see how the chart changes. Once you see the change, I would then fix the width to be dynamic to the size you want.