Hi Gurus,
I'm using amchart in my page, here viewers can download the result which is shown in a pie chart. Its working great in all browsers as I expected,But not in IE11 :(.
I couldn't figure out the solution. Kindly help me out to find a solution for this issue.
Here is the code.
<p class="Three-Dee1">Your result:</p>
<div id="chartdiv"></div>
<img id="image1" src="http://www.cross-tab.us/geetanjali/BMI/Combo/hand3.png">
<script type="text/javascript" src="http://www.cross-tab.US/geetanjali/BMI/Combo/amcharts.js"></script>
<script type="text/javascript" src="http://www.cross-tab.US/geetanjali/BMI/Combo/pie.js"></script>
<script type="text/javascript" src="http://www.cross-tab.us/geetanjali/BMI/light.js"></script>
<script type="text/javascript" src="http://www.cross-tab.us/geetanjali/BMI/Combo/amexport_combined.js"></script>
<style>
.Three-Dee{
Position:relative;
bottom: 20px;
left: 10px;
font-family: Segoe UI Light;
line-height: 1em;
color: #7FBA00;
font-weight:bold;
font-size: 25px;
}
.Three-Dee1{
font-family: Segoe UI Light;
line-height: 1em;
color: #C94F00;
font-weight:bold;
font-size: 35px;
}
#chartdiv {#chartdiv {
width: 100%;
height: 400px;
font-size: 11px;
font-family:Segoe UI Light;
}
width: 100%;
height: 400px;
font-size: 11px;
font-family:Segoe UI Light;
}</style>
<script>
function button_click()
{
if(document.getElementById('chartdiv')!=null){document.getElementById('chartdiv').style.display='inline';}
}
var chart = AmCharts.makeChart("chartdiv", {
"type": "pie",
"theme": "light",
"marginBottom": 0,
"height": 350,
"fontFamily": "Segoe UI Light",
"legend": {
"markerType": "circle",
"valueText": "$[[value]]",
"position": "right",
"marginRight": 80,
"fontFamily": "Segoe UI Light",
"autoMargins": false
},
"dataProvider": [{
"country": "Books",
"litres": 22
}, {
"country": "e-Books",
"litres": 33
}, {
"country": "Research requests",
"litres": 44
}, {
"country": "Chat",
"litres": 33
}],
"valueField": "litres",
"titleField": "country",
"labelText": "[[title]] $[[value]] ([[percents]]%)",
"balloonText": "[[title]] $[[value]]([[percents]]%)",
"exportConfig": {
"menuTop":"0px",
"menuRight":"125px",
"menuItems": [{
"icon": 'http://www.cross-tab.US/geetanjali/BMI/Combo/download3.png',
"format": 'png'
}]
}
});
</script>