This project is read-only.
1
Vote

Converted code in vb.net not working

description

I have converted the running code in C# into vb.net with help of online converter but vb.net code generated after this has some syntax errors

Please code in the below

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    hcExperienceKPIs.Title.text = "Experience KPIs"
hcExperienceKPIs.YAxis.Add(New YAxisItem() With { Key .title = New Title("Attribute Scores") })


hcExperienceKPIs.XAxis.Add(New XAxisItem() With { _
Key.categories = New () {"OSAT", "KNOW", "FRND", "WAIT"} _
})
    ' data binding

    Dim series = New List(Of Serie)()
series.Add(New Serie() With { _
Key.name = "YTD", _
Key.data = New Object() {177, 218, 245, 217} _
})
series.Add(New Serie() With { _
Key.name = "May", _
Key.data = New Object() {247, 207, 187, 156} _
})
series.Add(New Serie() With { _
Key.name = "June", _
Key.data = New Object() {197, 241, 214, 156} _
})
    ' bind chart

    hcExperienceKPIs.DataSource = series
    hcExperienceKPIs.DataBind()
End Sub

comments