{"id":3138,"date":"2014-03-16T22:56:49","date_gmt":"2014-03-16T22:56:49","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/16\/highchartsrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-03-16T22:56:49","modified_gmt":"2014-03-16T22:56:49","slug":"highchartsrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/16\/highchartsrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"highchartsRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6e2c689fcb5dfad4dbe02894e5380e88?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1313330<br \/>\njavascript ajax google-chrome highcharts<br \/>\nI am trying to load a fairly large highcharts chart by loading the javascript for the chart with ajax. As in the entire chart is loaded by ajax, not updated by ajax. This works on all charts on firefox(even if it is really slow) and all but the largest charts in chrome. Any chart that has more than roughly 65000 characters (probably unsigned 16 bit variable but not sure) throws an &#8216;Unexpected end of input error&#8217; in chrome. I have had charts just above this limit, then by simply reducing the numb<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ce1daf2b84cd33a6a463ad10f62c8e64?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nA.Vila<br \/>\nandroid highcharts titanium<br \/>\nI&#8217;m trying to use Highcharts with Titanium. For this, I&#8217;ve created a webview and I load a local html. It works ok on ios but when I&#8217;ve tried it on Android, I have an unexpected behavior.This is my html file:&lt;html&gt;&lt;head&gt;&lt;title&gt;highChart&lt;\/title&gt;&lt;meta name=&#8221;viewport&#8221; content=&#8221;width=device-width, initial-scale=1.0&#8243;\/&gt;&lt;script src=&#8221;libs_highchart\/jquery-1.10.1.js&#8221;&gt;&lt;\/script&gt;&lt;script src=&#8221;libs_highchart\/highcharts.js.lib&#8221;&gt;&lt;\/script&gt;&lt;\/head&gt;&lt;body<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/714125bc3d4b4bea9cde4e04c8290194?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTorben<br \/>\nhighcharts<br \/>\nI need help with the y-axis of polar charts like spiderweb or windrose. I&#8217;ve an application with an dashboard which contains some widget, each containing an iframe with an Highcharts chart. Because these widgets are reziable, I&#8217;ve some javascript for resizing the container of the charts. $(window).bind(&#8220;resize&#8221;, resizeChart);function resizeChart() {var width = $(document).width() &#8211; 55;var height = $(document).height() &#8211; 60;$(&#8220;#container&#8221;).css(&#8220;width&#8221;, width);$(&#8220;#container&#8221;).css(&#8220;height&#8221;, heigh<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6bed25cb8a199d7bd82e92bc6e3cfa6d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1039875<br \/>\nhighcharts<br \/>\nI am using HightChart library, with A Highcharts PHP wrapper published in Hightchart site, when I put the solution on wamp 5 server, the script do not work, and returnParse error: parse error, unexpected T_STATIC.Help!.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c8fcc1e5f98d51c2a975c8d55bf4a64b?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\njohabu<br \/>\njavascript json highcharts<br \/>\nI get this error when debugging my highcharts javascript code via Firebug. Here are the relevant lines of code: var valpair = [parseInt(items[0]),cumulative]; rain_series.data.push(JSON.parse(valpair)); items[0] is just &#8220;1234567&#8221;, and if I add console.log(valpair) to my code, I get this output: [1234567, 0] which seems to be valid JSON. Nevertheless, I&#8217;m stuck on my error (I searched for a solution, but didn&#8217;t find one for my case). Anyone here who knows what I&#8217;m doing wrong?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/hkxXj.jpg?s=32&amp;g=1\" \/><br \/>\nm ali<br \/>\njavascript asp.net highcharts<br \/>\nWhen I debug my code in Google Chrome, I have a red text saying Uncaught SyntaxError: Unexpected token }.I don&#8217;t understand why and where this is coming from. This is the code from the source console:var chart = $(&#8216;#container1&#8217;).highcharts();chart.series[0].setData(array2);chart.redraw(); }); \/\/]]&gt;Uncaught SyntaxError: Unexpected token }&lt;\/script&gt;Code in vb.netDim script As Stringscript = _&#8221;var chart = $(&#8216;#container1&#8217;).highcharts();&#8221; &amp; _'&#8221;chart.series[0].setData(array2);&#8221; &amp; _<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0c326283f005acfa66581ec86f2a0419?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDaniel Cooper<br \/>\nhighcharts<br \/>\nI&#8217;m using highcharts as shown in examples but for some reason it flat out does not like my data. The only time I see a result is when I zoom out to all and then it only shows one point. Any clues as to what I&#8217;m doing wrong would be extremely appreciated.how im getting my data:$jsResult = array(); $arResults = $wpdb-&gt;get_results(&#8220;SELECT tsDay, nPrice FROM sometable&#8221;, ARRAY_A);foreach($arResults as $key =&gt; $val){\/\/$val[&#8216;nPrice&#8217;] = floatval($val[&#8216;nPrice&#8217;]);\/\/$jsResult[$key][0] = ($val[&#8216;tsDay&#8217;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/eec2e174897771bff4bf95039074b57e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMark<br \/>\nhighcharts<br \/>\nHi I want to use highcharts in my Windows 8 app (HTML5 and JavaScript) but&#8230; Exception. line 35, column 471 en ms-appx:\/\/c4c6faa3-6deb-457c-a894-94774f7ba6a1\/herramientas\/estadistica\/js\/highcharts\/highcharts.js 0x800a139e &#8211; Error in runtime in JavaScript: Highcharts error #13: www.highcharts.com\/errors\/13The jquery library used is a modified version.Basically I want to see this in my W8 app, but I can&#8217;t. Thanks.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8348bcf40f55bc5818651824369caff1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSoner G\u00f6n\u00fcl<br \/>\nc# asp.net .net visual-studio-2008 highcharts<br \/>\nI have a serious Issue :(, I&#8217;m using High Charts controls on VS 2008 and everytime I made run to the web application I got that &#8220;Silly&#8221; RunTime Error :missing compiler required member &#8216;system.runtime.compilerservices.extensionattribute.ctor.I don&#8217;t know the reason for that and I will appreciate any help !.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0a87821a96a18e59b4bcd3274c877fc2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGreenRover<br \/>\njavascript jquery highcharts media-queries highstock<br \/>\nIs there any possibility to hide parts of svg at print layout.Specialy i like to hide highstock rangeSelector and navigator will printing page.This should work without js triggert buttons. It should work when browsers print button was used. Is there any possibility to show \/ hide an element with css media=print and bind this event with jquery?Need to hide on the yellow parts on print layout: http:\/\/i49.tinypic.com\/24mbxop.pngfor this example:$(function() {$.getJSON(&#8216;http:\/\/www.highcharts.com\/sam<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>user1313330 javascript ajax google-chrome highcharts I am trying to load a fairly large highcharts chart by loading the javascript for the chart with ajax. As in the entire chart is loaded by ajax, not updated by ajax. This works on all charts on firefox(even if it is really slow) and all but the largest charts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3138","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3138"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3138\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}