Home forums Using CanvasJS How do you hide labels?


This topic contains 2 replies, has 2 voices, and was last updated by  Cristi S. 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #13029

    Cristi S.

    I looked everywhere and I’m not able to find it.

    1) This is mostly about both index labels and axis labels. Is there a switch anywhere?

    2) Same question for all pie labels, what if we don’t want any of them?

    3) As a more broader issue, is there a simple switch somewhere to hide both axes, with all their labels and grid lines?


    • This topic was modified 11 months ago by  Cristi S..


    Hi Cristiscu,

    You can use gridThickness, tickLength, lineThickness and labelFormatter. Here is the fiddle.


    Cristi S.

    Thanks Ash, it works great! I tried some of these properties, but I was missing others :)

    When you have another minute, I would appreciate a fix for the pie as well.

    Thanks so much (and great product BTW!),

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.