How to change size between portrait and landscape

Hello,

I’ve a chart and i want to change the size base on mobile position, when it is on portrait has own size or on landscape has on size, any idea how to do it?!

use media query for change font size by display size and orientation checkout this link:
https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

Thanks, i will try it.