Skip to content Skip to sidebar Skip to footer

Onclick Of A Org Chart Another Org Chart Will Open As A Modal Popup

I'm working on a Hichcharts project where my requirement is i need to show a modal popup onclick of a org chart's node. And the popup should be another org chart. here's is my code

Solution 1:

You can create another organization chart in a popup. Example:

point: {
  events: {
    click: function() {
      ...
      Highcharts.chart(popupContent, {
        ...
        series: [{
          type: 'organization',
          data: [
            ['CEO', 'Department1'],
            ['CEO', 'Department2'],
            ['CEO', 'Department3']
          ]
        }]
      });
      ...
    }
  }
}

Live demo:https://jsfiddle.net/BlackLabel/mo32e6v1/

Post a Comment for "Onclick Of A Org Chart Another Org Chart Will Open As A Modal Popup"