score:1
Accepted answer
you should load chart after dom is ready:
$(function () {
var chart = new highcharts.chart({
chart: { renderto: 'container2' },
xaxis: { categories: ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] },
series: [{ data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] }]
});
});
Source: stackoverflow.com
Related Query
- I cant save my highchart chart data in localStorage
- Highchart - yAxis - 1,000 should be displayed like 1000
- Highchart plot points are being displayed incorrectly
- Nothing displayed in Highchart Column
- Strange character in the Highstock source code
- Why does my Highchart look different when I transfer my code from Jsfiddle to my server?
- I had follow someone code samples and try apply to my HighChart program but I can't get it work at all
- Column based Highchart drilldown series assign color code to each column
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Highchart Series are displayed one after another and not parallel
- How can I identify whether or not a HighChart is displayed on screen?
- Unicode character not displayed in HighChart marker
- How to plot new chart from already displayed highchart series
- why my highchart code is not working?
- Multiple chart export in HighChart is not same as the one displayed on the screen
- Highchart can't be displayed
- the datatime value displayed not correct on highchart
- How to render Gantt Highchart from data source
- Highchart spline Cut Off when reach to maximum scale value. How can it fixed?. I have attached may sample code on body
- I am trying to include india map in my highchart code
- Highchart xaxis date displayed in number format issue
- Legend name and color need to be displayed in the export of highchart as image
- Highchart map does not support IRS country code
- Highchart columnrange, color code lines based on data
- how to hide highchart x - axis data values
- Highchart specific width stack column bar graph
- Highchart - show / hide an y-Axis without hiding the series
- Manage multiple highchart charts in a single webpage
- when is a highchart completely loaded?
- Remove Export and print button plugin on highchart chart
More Query from same tag
- Highcharts lang with ngx-translate
- How to display consistent datetime label formats in xAxis using highchart?
- Maximum bar width in Highcharts column charts
- highchats in r shiny: the x values on click are not the real values of my date axis
- Made dynamic highstock with PHP data
- JavaScript/jQuery encapsulated variables
- Does Highchart - Heat map support SUM of values?
- highcharts datalabel text reversed
- Highcharts columns have no width (seemingly arbitrarily)
- Highcharts javascript error when other javascript file is included
- convert string into array for highcharts js
- highcharts rangeSelectorZoom label
- getting csv data into highcharts
- Highcharts passing time.
- Highcharts chart not displaying data from csv file
- Highcharts Donut Chart text in center change on hover
- Highcharts buttons with different menuitems not working
- Explain Highcharts different Instantiations
- Y axis values merging with candles in highcharts
- Highcharts with sql server data
- How to add additional labels to base of columns in Highcharts?
- adding click event dynamically created highchart
- How to add text to the bottom of a Highchart, but above the legend?
- import data from localhost(phpmyadmin) to a web page"Highcharts"(as a project in phpmyadmin)
- Highcharts - how to create multiple y axis and group the data series
- highcharts render black on ajax refresh
- Highmaps hover effect/mouseout color change
- Set custom image from bottom to top inside bars of bar graph (using highcharts)?
- HighCharts event on column category name click
- Why I can't dowload PDF or PNG file ??, HightChart