1
"{29.9, 71.5, 106.4}"데이터를 데이터베이스에서 가져 오는 방법 ??? 이 코드와 작업을 사용asp.net에서 DotNet.Highcharts를 사용하여 데이터베이스에서 하이 차트를 바인딩하는 방법
DotNet.Highcharts.Highcharts chart = new DotNet.Highcharts.Highcharts("chart")
.InitChart(new Chart { Type = ChartTypes.Bar })
.SetTitle(new Title { Text = "Wind speed during two days" })
.SetLegend(new Legend { Enabled = false })
.SetXAxis(new XAxis{
Categories = new[] { "Jan", "Feb", "Mar" }
}).SetSeries(new Series{
Data = new Data(new object[] { 29.9, 71.5, 106.4})
});
ltrChart.Text = chart.ToHtmlString();