DefaultControlButtons()

Default buttons for the Controls component that provide actions to interact with the viewport of the company ownership.

This includes the following buttons: zoom in, zoom out, zoom to the original size and fit the graph into the viewport.

 function CompanyOwnership() {
   return (
     <CompanyOwnership data={data}>
       <Controls buttons={DefaultControlButtons}></Controls>
     </CompanyOwnership>
   )
 }

Returns

TypeDescription
ControlButton[]
Returns an array of control buttons.