pheobas
pheobas

Reputation: 314

Create a Highcharts Polar chart with lines rather than segments

I'm trying to create a HighCharts Polar chart, something like the wind rose sample, but instead of columns being rendered as segments, I want to draw lines - something like this:

polar chart

Anyone know if this is possible?

Upvotes: 0

Views: 90

Answers (1)

ewolden
ewolden

Reputation: 5803

You could make every line a series in the following way:

series: [{
    name: 'Line 1',
    data: [{x:0, y: 0}, {x: 0, y: 43000}],
    pointPlacement: 'on'
  },
  ...
]

The above creates a line at 0 degrees, from 0 to 43000.

Working example: http://jsfiddle.net/ewolden/Lbeycjgs/1/

Upvotes: 2

Related Questions