Strgt
Posts: 37
Joined: Fri Dec 03, 2021 2:11 pm

map and donut chart side by side

Hello,

I want to know how can I have this map and chart side by side ?
Demo: https://jsfiddle.net/BlackLabel/gweu6h8t/

Thank you so much in advance.

Regards
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: map and donut chart side by side

Hello,

Thanks for contacting us with your question!

This is a CSS-related question, not strictly Highcharts, but it is so simple that I am giving you an example of how it can be done.

You can use Flexbox for this:

Code: Select all

<div style="display: flex; width: 100%">
  <div id="left-chart" style="width: 100%"></div>
  <div id="right-chart" style="width: 100%"></div>
</div>

Demo: https://jsfiddle.net/BlackLabel/s46Lehof/

Feel free to ask any further questions related to Highcharts.
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Maps”