Hello,
I have a databound chart to sqldatasource. In DataBound event on server-side I want to check if the chart has data and if it does not I want to hide it. I've tried this but without any luck (VB.NET):
Protected Sub RadHtmlChart1_DataBound(sender As Object, e As EventArgs) Handles RadHtmlChart1.DataBound
If RadHtmlChart1.PlotArea.Series(0).Items.Count = 0 Then
RadHtmlChart1.Visible = False
Else
RadHtmlChart1.Visible = True
End If
End Sub