Using highcharts library, how to make line chart responsive for smaller screen size?

Viewed 14

I have a line chart that displays fine on larger screen, but doesn't adjust accordingly on a smaller screen size. How can I make my chart responsive, can someone please help?

http://jsfiddle.net/samwhite/h5ysnxj4/4/

$("#sohChart").highcharts(
        {
          chart: {
            type: "line",
            zoomType: "x",
            width: 1500,
            height: 650
          },
          ...
          series: [
            {
              name: 'Series 1',
              data: [100, 95, 90, 83, 80, 75, 70, 69, 65, 60, 55, 30]
            },
            {
              name: 'Series 2',
              data: [100, 77, 70, 69, 60, 55, 52, 44, 40, 35, 32, 25]
            }
          ]
        }
      );
0 Answers
Related