Closed Solonin closed 3 years ago
Hello Please tell me why it doesn't work:
echo Highcharts::widget([ 'scripts' => [ 'highcharts-more', 'modules/organization', 'modules/sankey', 'modules/accessibility' ], 'options' => [ 'title' => ['text' => 'Test organization'], 'chart' => [ 'type' => 'organization' ], 'series' => [[ 'name' => 'Highsoft', 'keys' => ['from', 'to'], 'data' => [ ['Shareholders', 'Board'], ['Board', 'CEO'] ], 'levels' => [ ['level' => 0, 'color' => 'silver'], ['level' => 1, 'color' => 'silver'] ], 'nodes' => [ ['id' => 'Shareholders'], ['id' => 'Board'] ] ]] ] ]);
I'm sure you've discovered this by now, but 'modules/sankey' has to come before 'modules/organization'.
'modules/sankey'
'modules/organization'
Hello Please tell me why it doesn't work: