Wednesday, 11 July 2018

Is there a way to get the browser's dimensions on the server side?

Full stack noob here.I have a Node/Express app which uses a charting library to generate the html for a bar graph on the server side, which then gets rendered on the client.The only problem is that the dimensions of the chart are static, so on mobile the chart goes off the screen. Is there a way to get the browser dimensions on the server side? Or this is just not easily possible?Thanks

Submitted July 11, 2018 at 06:15PM by phil917

No comments:

Post a Comment