question

00584883 avatar image
0 Votes"
00584883 asked 00584883 answered

Eliminazione spazi da grafico a barre

Buon pomeriggio
È possibile, in un grafico a barre creato con VB.net, eliminare gli spazi delle barre con valore uguale a zero?

dotnet-visual-basic
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, can you post in english please, the current QnA support only english at the moment

0 Votes 0 ·

Sorry.
Good afternoon,
Is it possible, in a bar chart created with VB.net, to eliminate the spaces of the bars with a value equal to zero?

0 Votes 0 ·

Hi @SergioBasso-1862 ,
May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·
JiachenLiMFST-9349 avatar image
0 Votes"
JiachenLiMFST-9349 answered

Hi @SergioBasso-1862 ,
You can choose to Using Empty Data Points.
Or use the following code to hide 0 value.

 For j As Integer = 0 To Me.radChart1.Series.Count - 1
     Dim items As ChartSeriesItemsCollection = Me.radChart1.Series(j).Items
     For i As Integer = 0 To items.Count - 1
         If items(i).YValue = 0 Then items(i).Label.Visible = False
     Next
 Next

Best Regards.
Jiachen Li


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

00584883 avatar image
0 Votes"
00584883 answered

Hello,
thanks for your answer.
I haven't tried to see if it works because I didn't have time.
However I decided to use Excel for the management of the graphs.
Sergio

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.