Sreehari
Sreehari

Reputation: 1370

Is it possible to create network graph using from left to right as tree graph using highcharts?

I am trying to generate a networkgraph using highcharts and highcharts-angular. My task is to generate a network graph some thing like a sleeping tree graph as in the picture below. I am trying all the series options as in the Highcharts api docs . However, I am not able to achieve.

Tree from left to right

Whatever be the series option I tried, I am seeing the network graph as in this picture attached.

Is it possible to generate the networkgraph using highcharts as I require? If so, how can I do it? Below is the series data, I am using

[['Continents','Asia'],
 ['Continents','Europe'],
 ['Continents','Africa'],
 ['Africa','Congo'],
 ['Africa','Kenya'],
 ['Africa','Zimbabwe'],
 ['Europe','Sweden'],
 ['Sweden','Finland'],
 ['Asia','India'],
 ['Asia','China']]

Upvotes: 1

Views: 977

Answers (1)

Joffrey Schmitz
Joffrey Schmitz

Reputation: 2438

The Organization chart seems more suitable for your need.

With the option inverted: false, the result looks like what you want.

Upvotes: 1

Related Questions