score:0
The solution it simple. You have forgotten to import the highcharts.js and ajax libraries.
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">
<h1><%: Title %>.</h1>
<h2>Testing HighCharts with ASP.NET</h2>
</hgroup>
</div>
</section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<h3>This should show a chart:</h3>
<!-- IMPORT THE JAVASCRIPT LIBRARIES HERE -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript" src="http://code.highcharts.com/modules/exporting.js"></script>
<asp:Literal id="ltChart1" runat="server"></asp:Literal>
</asp:Content>
score:2
If you are using Site.Master file to add path of the JavaScript files, then make sure you have added path of these three JavaScript files.
<asp:ScriptManager runat="server">
<Scripts>
<asp:ScriptReference Path="~/Scripts/highcharts.js" />
<asp:ScriptReference Path="~/Scripts/jquery-1.5.1.min.js" />
<asp:ScriptReference Path="~/Scripts/exporting.js" />
</Scripts>
</asp:ScriptManager>
Check out this tutorial: http://dotnethighcharts.codeplex.com/ Here it is explained for both MVC and Web Forms.
Source: stackoverflow.com
Related Query
- Chart not being displayed using DotNet.HighCharts and WebForms
- Highcharts using Django-Chartit. Chart lines not displayed without window resize, or Inspect Element
- HighCharts pie chart X-axies values are not displayed while trying to get data from MySQL database using PHP
- Highcharts -- yAxis on donut chart not being displayed
- How to create a column range chart in Highcharts using range and navigator functions?
- Using html2canvas to render a highcharts chart to pdf doesn't work on IE and Firefox
- Using Highcharts and displaying a message over or on the chart when there is no data
- Not rendering VU-meter Gauge chart using HighCharts in Durandal
- display pie chart using highcharts api and mysql
- I had created a scatterplot using Highcharts but the the point.z value is not getting displayed in tooltip
- Creating depth chart using highcharts and creating bids and asks in such a way that bids and asks are created from center of chart
- Not able to render the charts in pdf using Wickedpdf and Highcharts in rails 2.3 app
- Highcharts display label for pie chart using html table as data source
- HighCharts not being displayed in Partial view
- Using hours and minutes as data in highcharts donut chart
- median and standard deviation chart using highcharts
- Data and tooltip not working for graph using highcharts
- Displaying count on bar and percentage on Y-axis of cloumn chart using Highcharts
- HighCharts title styles i.e textDecoration property not applying when we export the chart using canvg
- I am using click event to trigger a new page to generate the drill down data from highcharts however the entire chart is being generated
- How can I prepare a Group Stacked Bar Chart in Highcharts using multiple and different types of data?
- Highcharts Javascript - Synchronize Chart and Table not working - Cant read property cell of undefined
- Category names and the chart are not aligned in polar chart, Highcharts
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- Real Time Bar chart using Highcharts and AngularJs
- Highcharts resize chart size using custom export button and replace expand and collapse button dynamically
- Highcharts xrange chart is not respecting datetime xAxis min and max values - shows space on both sides
- min and max axis value not respected in HighCharts chart with a logarithmic axis
- Using Highcharts with minutes, seconds and milliseconds as Data not working
- Trying to put points on a chart using a SharePoint list and Highcharts
More Query from same tag
- Animate change in piechart start angle with highcharts-ng
- HighChart - Custom Paths Not Linked to Chart
- Highcharts add several series with PHP array
- Can we create pie chart and scatter plot combined using highcharts.js?
- highcharts div resize to min and max on click
- Highcharts How to find legend co-ordinates
- highcharts animation multiple charts
- Highcharts: overlapped columns in exported chart
- MySQL Data to Highchart's Pie Chart using JSON
- Max & Min highchart line
- How to design a yAxis plotline with our own CSS?
- Irrelevant graph lines in highchart
- HighChart skipping x-axis years plot point
- Highcharts legend is overlapping on to the graph area
- Select Point Programmatically (e.g. from TableView Cell or Button)
- High Charts: commas thousand separator in pie chart. How do you do?
- Highstock return to panning after using zoom
- Rendering the charts as columnrange type
- HighMaps how to update data using jQuery
- Resize chart and navigator
- How to fix Highchart Sparkline tooltip not showing
- Highchart : Line Chart not Loading the data from Database on screen
- Highchart java script getting filled
- Highcharts add a new data point
- how to prevent highcharts tooltip popup from hiding, on graph area or browser window resize?
- Making a specific chart clickable in highcharts
- Change chart type with drilldown series
- Not rendering VU-meter Gauge chart using HighCharts in Durandal
- Chart not fill all the page in A4 format when printing. (highcharts)
- couldnot connect apache-zeppelin to highcharts error : value seriesCol is not a member of org.apache.spark.sql.DataFrame