Hello Team,
I am using Fusion Chart xt trail version v3.6.0.
and i am using jquery mobile and when after successful login i am rendering fusion chart donut.
but chart is not coming properly, as i planned to purchase.
i am attaching the screen shot of the same.
can you please look in to this at the earliest so i can think of purchasing it.
my code :
JAVASCRIPT :
/**
*
*/
$(document).ready(function () {
$.ajaxSetup({
cache: false
});
$('#tableContainer1').hide();
$('#backclick').on('click',function(){
$('#tableContainer1').hide();
$("#chartContainer").show();
});
$.ajax({
url: "FetchDashboardData",
cache:false,
type: 'POST',
data: {
},
success: function( data )
{
FusionCharts.ready(function () {
var myChart = new FusionCharts("Doughnut2D", "myChartId", "100%", "500", "0", "1");
var charData = "{\"chart\": {\"caption\": \"INTELLECT DASHBOARD\",\"subCaption\": \"IBG\",\"numberPrefix\": \"$\",\"use3DLighting\": \"1\",\"numberprefix\":\"\",\"showborder\":\"0\",\"enablesmartlabels\":\"1\",\"startingangle\":\"310\",\"showlabels\":\"1\",\"showpercentvalues\":\"1\",\"showlegend\":\"1\",\"centerlabel\":\"$label: $value\",\"centerlabelbold\":\"1\",\"enableMultiSlicing\":\"0\",\"showtooltip\":\"0\",\"decimals\":\"0\",\"usedataplotcolorforlabels\":\"1\",\"theme\":\"fint\",\"smartLineColor\":\"#000000\",\"smartLineThickness\":\"2\",\"smartLineAlpha\":\"60\",\"isSmartLineSlanted\":\"0\",\"legendNumColumns\":\"2\"},\"data\": "+dynamic data comes here from database+"}";
myChart.setJSONData( charData );
myChart.render("chartContainer");
});
}
});
});
JSP :
this is in body of the JSP.
<div data-role="main" class="ui-content" data-type="horizontal" style="text-align:center;">
<div id="chartContainer">Please Wait, Chart Is Loading...</div>
After click on submit , if login is successful then fusion chart page i am calling
I tested it in iphone6 , please test and contact me if you resolve it at the earliest.
Name : Sahil Verma
Contact : 7276453222
email :
[email protected]
Thanks in Advance.