Home forums Using CanvasJS How do you hide labels?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  cristiscu 1 month, 2 weeks ago.

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

    cristiscu
    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 1 month, 2 weeks ago by  cristiscu.
    #13034

    Ashish
    Moderator

    Hi Cristiscu,

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

    #13035

    cristiscu
    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.