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

Alexander Santos Quincho 1 Reputation point

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


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.


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

    I do it.

    I use this code:

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

    0 comments No comments