Note that there are some explanatory texts on larger screens.

plurals
  1. POHighcharts error #13 unless I run under IE compatibility view?
    primarykey
    data
    text
    <p>I am developing an asp applicaiton which uses WCF service (.svc not .asmx) to send JSON data to highcharts. It only seems to work if I use ie compatibility view. If I don't I get the message:</p> <p>Microsoft JScript runtime error: Highcharts error #13: <a href="http://www.highcharts.com/errors/13" rel="nofollow">http://www.highcharts.com/errors/13</a></p> <p>Error number 13 along with online searching suggests I don't have the proper renter to DIV, but it is present. Any ideas what I can to to make my application work in non-compatibility view?</p> <p>Thanks!</p> <p>As requested here is some code. I have two charts placed side by side one deals with "Low" turnover items the other with high. Here is the low item chart thus it renders to a named containerLow.</p> <pre><code>var lowchart = new Highcharts.Chart({ chart: { renderTo: 'containerLow' }, xAxis: { }, plotOptions: { series: { cursor: 'pointer', point: { events: { click: function () { //ChartClicked(this.x, this.y, this, this.series.name, this.series.color, this.index); ChartClicked(this, 'Low'); } } } } }, tooltip: { formatter: function () { var txt = "$= &lt;b&gt;" + this.point.x + "&lt;/b&gt;&lt;br/&gt;" + "Wait = &lt;b&gt;" + this.point.y + "&lt;/b&gt;&lt;br/&gt;" + "Other DB Info for future Bow Wave, etc. &lt;b&gt;&lt;br/&gt;" + "Avg Fill Rate = &lt;b&gt;" + this.point.config.averageFillRate + "&lt;/b&gt;&lt;br/&gt;" + "Average On Hand = &lt;b&gt;" + this.point.config.averageOnHand + "&lt;/b&gt;&lt;br/&gt;" + "Average Workload = &lt;b&gt;" + this.point.config.averageWorkload + "&lt;/b&gt;&lt;br/&gt;" return txt; } } }); //end chart </code></pre> <p>My web service get a JSON string with multiple series in it. On page load I call the web service (twice once for hight and low items) and loop through the series array to plot the multiple curves.</p> <pre><code>function pageLoad() { JSONGraphing.GetDataDB(getParameterByName("id"), 2, OnGetDataCompleteLow, OnError); JSONGraphing.GetDataDB(getParameterByName("id"), 1, OnGetDataCompleteHigh, OnError); } </code></pre> <p>Here is an example of one of the call back functions for the low graph.</p> <pre><code> function OnGetDataCompleteLow(result) { var webServiceData = eval("(" + result + ")"); for (var i = 0; i &lt; webServiceData.series.length; i++) { lowchart.addSeries({ data: webServiceData.series[i].data }); } lowchart.yAxis[0].setTitle({ text: 'Wait time in Days' }); lowchart.xAxis[0].setTitle({ text: 'Investment in Dollars' }); lowchart.setTitle({ text: 'Low Frequency Items' }); } </code></pre> <p>I am in a bit of a time crunch any and all help greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload