Download the wrapper and add the single .dll reference to the project and add the following using statements to the code.
Then here’s a sample for creating a column chart with two series.
1: DotNet.Highcharts.Highcharts chart = new DotNet.Highcharts.Highcharts("chart").SetXAxis(new XAxis
‘sales’ is the object data source, and we get the product name from it and the values are hard coded. All charts has a name, here the column chart’s name is ‘chart’ itself. Names should be unique for the page. If you have another chart with same in the same page only the last chart will be displayed.
Then chart has SetXAxis method where set the X-Axis properties. And the chart has number of series. We feed the data to the series through its Data property which takes an object array.
Finally we serialize the chart as HTML content to the Literal control (ltrChart)
Example of a pie chart generation.
1: DotNet.Highcharts.Highcharts piechart = new DotNet.Highcharts.Highcharts("pie").SetXAxis(new XAxis