How to set plot area width and height in Highcharts?

前端 未结 3 1472
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 21:44

I\'m plotting a map made by a series of points in HighCharts. I want that map to be properly scaled and be a perfect square.

Thus, i\'ve set the chart height and wid

3条回答
  •  太阳男子
    2020-12-19 22:10

    In your chart default values of spacing are used and the biggest is a bottom spacing with value of 15 while others are of value 10 each. When setting all spacing to 15 you will get a square (196 x 196 px).

    Example: http://jsfiddle.net/5825mzLs/

提交回复
热议问题