Profile Picture

How can I show the corresponding x label when the bar has no value

Posted By bargitta chen 13 Years Ago

How can I show the corresponding x label when the bar has no value

Author
Message
bargitta chen
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 18, Visits: 1
Dear experts,

I have a problem with bar chart. As you see the attachment, when the bar has no value (double.NaN), the bar chart will not show the corresponding label of the bar. However, when I draw the line on the chart, all the x labels are there. The desirable thing is to show all the labels no matter the bar has values or not. How can I set the chart? Would you please help on that?

Thank you in advance.

Attachments
xlable.PNG (50 views, 115.00 KB)
Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

Hi Bargitta,

Check out the All Examples\Empty data points\General example. You have to switch the Empty data point value mode to CustomValue (from the combo on the right). From code you need to touch the series.Values.EmptyDataPoints.ValueMode property.



Best Regards,
Nevron Support Team



bargitta chen
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 18, Visits: 1
Thank you very much. Now it works well



Similar Topics


Reading This Topic