2013-05-21 4 views
0

하이 차트 3.0 및 jQuery 9.1에서 간단한 html 페이지를 사용하고 있습니다. IE8을 제외한 모든 브라우저에서 작동합니다. 다음은 하이 차트 데모 라인 차트에서 복사 한 코드입니다.Internet Explorer 8에서 하이 차트가 작동하지 않습니다.

헤드 태그 파일

<!--[if lt IE 9]> 
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> 
<![endif]--> 
<!--[if gte IE 9]><!--> 
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> 
<!--<![endif]--> 


<script type="text/javascript"> 
$(function() { 
     $('#container').highcharts({ 
      chart: { 
       type: 'line' 
      }, 
      title: { 
       text: 'Monthly Average Temperature', 
       x: -20 //center 
      }, 
      subtitle: { 
       text: 'Source: WorldClimate.com', 
       x: -20 
      }, 
      xAxis: { 
       categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
        'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] 
      }, 
      yAxis: { 
       title: { 
        text: 'Temperature (°C)' 
       }, 
       plotLines: [{ 
        value: 0, 
        width: 1, 
        color: '#808080' 
       }] 
      }, 
      tooltip: { 
       valueSuffix: '°C' 
      }, 
      legend: { 
       layout: 'vertical', 
       x: -10, 
       y: 100, 
       borderWidth: 0 
      }, 
      series: [{ 
       name: 'Tokyo', 
       data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6] 
      }, { 
       name: 'New York', 
       data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5] 
      }, { 
       name: 'Berlin', 
       data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0] 
      }, { 
       name: 'London', 
       data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8] 
      }] 
     }); 
    }); 
</script> 

` IE8이 제공되는 오류 내가 뭘 잘못 나를 인도 해주십시오 enter image description here

입니다. 많은 감사합니다

+0

어떤 버전의 IE8이 있습니까? –

+0

버전 8.0.7601.17514 – Meenakshi

답변

1

내 컴퓨터를 다시 시작하고 작업을 시작했습니다. Windows가 일부 업데이트 설치를 기다리고있었습니다. 어떻게 도움이되었는지 확실하지 않습니다.

관련 문제