score:3
I'm not familiar with the library but all this code appears to be doing is creating an object in the code behind. You will need to do something to cause this to render in to the page.
Looking at their example code behind code there is a line
ltrChart.Text = chart.ToHtmlString();
This is the bit you are missing. You need to call ToHtmlString() on your chart object and assign this string to a literal or placeholder in the page.
To create the literal just add this code somewhere on the page....
<asp:Literal ID="ltrChart" runat="server"></asp:Literal>
...and your chart should appear there.
score:-1
Based on their example you need to send the HTML to the client side with the line
Response.Write(result);
It works to me, though it prints it at the top of the screen and I wish I could set the position for it.
Source: stackoverflow.com
Related Query
- Use of DotNet HighCharts dll to make charts in code behind
- How to use dotnet highcharts dll to show HighCharts in MVC3?
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts tooltip is hidden behind other charts
- passing json values to highcharts from .net code behind
- how to use highcharts tooltip formatter in python code
- How to make multiple charts using highcharts in a loop?
- How to use images for charts in Highcharts
- What's the code in Highcharts such that the bars (columns) in the same group use the same color?
- HTML table as data source for highstock charts using highcharts
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- cannot use strings in data in highcharts on doughnut charts
- How to make Highcharts to use all the colours when replotting? (it is repeating colours unnecessarily)
- Use HTML class as Highcharts table data source
- Use Node.js as data source for highcharts
- which chart can I use to make this? from highcharts
- how can I use rangeselector and navigation in highcharts in the given code
- Opening a Column chart after clinking on DRILLEDOWN PIE Charts in dotnet highcharts
- Can't make multiple charts to work with highcharts
- Exporting Charts on server side with Highcharts and PhantomJS to make a custom PDF
- How to make highcharts default to 0 for missing data
- HighCharts - Make the pie chart 100% of the div
- Add additional data to a Highcharts series for use in formatters
- Maximum bar width in Highcharts column charts
- Highcharts - Hidden charts don't get re-size properly
- How to use highcharts with angular 5?
- Highcharts charts don't resize properly on window resize
- Highcharts Area graph, use 2 fill colors above / below X axis
- How to make highcharts scrollable horizontally when having big range in x-axis
- Highcharts Error #16: charts not showing on the same page
More Query from same tag
- How to get data for series and categories in highcharts-convert.js from mysql
- HightChart Error 13 with angular js, function and controller scope
- Limiting the Number of Datapoints in HighCharts
- Highcharts tooltip format different with series
- Error: Highcharts error #13 ionic angular
- Highcharts - export to base64
- the milliseconds data is not present in the history data of highcharts
- Highmaps country map not showing when using type: "mappoint"
- Highstock Chart with URL in flag text won't open in new window
- HighCharts - hide date on x-axis and have only hours and minutes
- How to load proj4 for lat/long in highmaps using typescript and react
- Highcharts Non-Identical Time Series
- How To Call A Function To Make A Graph Using HighCharts in PHP
- X axis label as Category not showing correctly: Highcharts
- How to change HighChart xAxis timeline to match local time and not UTC?
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Highchart: How to graph from Radio Button
- set different colors for each column in highcharts
- HighCharts Export Breaks After Resetting Chart Options
- Not able to display highcharts in php
- Highcharts SolidGauge Label Resize Issue
- For higher number of data in time series highchart calculates average value
- Export chart image data locally in HIghchart
- How to change bar chart colors when is weekend?
- Having difficulty working with 3 layer highchart donut?
- Highcharts Render Text after animation
- HighStock import issues with Angular 2
- highcharts piechart - small number of colors
- Is it possible to maintain the fillcolor when the y-axis is reversed?
- Highcharts Issue - Labelling Y-Axis Based Series Data