Hide "0" labels from a Staked Column Chart - VB.NET

Alexander Santos Quincho 1 Reputation point
2021-11-24T23:06:48.117+00:00

Hi.
I 've a Stacked Column chart in VB .net.
But the data label y zero and I can't hide when is zero.

152405-image-1.png

I tried to use this sentence:

grafico_dinamico2.Series("Pinturas").IsValueShownAsLabel = True

(Pinturas: Is my Serie name)

And I don't have any idea how to validate when label data is zero.

152384-image-2.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,836 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alexander Santos Quincho 1 Reputation point
    2021-11-24T23:33:22.29+00:00

    I do it.

    I use this code:

    grafico_dinamico2.Series("Pinturas").LabelFormat = "#,##;(#,##);"

    0 comments No comments