If there is no graph data available the button should be hidden.
If there is no graph data available the button should be hidden.