[Bug]: Org Chart does not render label on top node
jony543 opened this issue · 1 comments
jony543 commented
Would you like to work on a fix?
- Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
As evident in the example code, org chart ignores the label of the top node in the tree.
https://www.react-google-charts.com/examples/org-chart
The same examples in google charts code works as expected:
https://developers.google.com/chart/interactive/docs/gallery/orgchart#example
Many thanks for this awesome library!
Reproduction
https://www.react-google-charts.com/examples/org-chart
react-google-charts version
v4.0.1
Possible solution
No response
jony543 commented
All I needed to do was add a header row to the data, which is not added in the example.