Home forums Using CanvasJS How do you hide labels?

Tagged: 

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

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

    Cristi S.
    Member

    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?

    Thanks,
    Cris

    • This topic was modified 7 months ago by  Cristi S..
    #13034

    Ashish
    Moderator

    Hi Cristiscu,

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

    #13035

    Cristi S.
    Member

    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!),
    Cris

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

You must be logged in to reply to this topic.