hide()

Hides toolTip of a chart.

Example:
        chart.toolTip.hide();
Note:
  • Chart should be rendered before you can use hide method.
  • hide method can be used to sync toolTip across multiple charts in a page.
  • If you interact with chart after hiding, toolTip shows up again. So, the hiding is not permanent.
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. toolTip: {
  6. // toolTip properties
  7. },
  8. .
  9. .
  10. });
  11. chart.render();
  12. chart.toolTip.hide();

Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question