Forum Discussion

vmaik's avatar
vmaik
Data Storage
04-29-2022

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.

1 Reply

Replies have been turned off for this discussion
  • tomlinton's avatar
    tomlinton
    Sisense Employee

    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.