Forum Replies Created by sana

Viewing 3 posts - 1 through 3 (of 3 total)
  • in reply to: Data Null #27464

    Also plz refer how to apply null concept in multiple charts in one function

    in reply to: Data Null #27463

    I am refer this jsfiddle but problem is our data get into database as a java code how to call into js its problem
    plz check our code.

    window.onload = function() {

    var chart1 = new CanvasJS.Chart(‘piechart’, {
    theme : “light2”,
    animationEnabled : true,
    exportFileName : “Service Transaction”,
    exportEnabled : true,
    title : {
    text : “Transaction Wise”
    },

    data : [ {
    type : “pie”,
    showInLegend : true,
    legendText : “{label}”,
    toolTipContent : “{label}: {y}%“,
    indexLabel : “{label} {y}%”,
    dataPoints :
    <%out.print(dataPointsTrxn);%>
    } ]
    });
    chart1.render();

    var chart2 = new CanvasJS.Chart(‘piechart1’, {
    theme : “light2”,
    animationEnabled : true,
    exportFileName : “Service Amount”,
    exportEnabled : true,
    title : {
    text : “Amount Wise”
    },
    data : [ {
    type : “pie”,
    showInLegend : true,
    legendText : “{label}”,
    toolTipContent : “{label}: {y}%“,
    indexLabel : “{label} {y}%”,
    dataPoints :
    <%out.print(dataPointsAmt);%>
    } ]
    });

    chart2.render();

    }
    plz check our code and plz suggest me also i apply this code on js fiddle its not working

    in reply to: print charts #27443

    thank you

Viewing 3 posts - 1 through 3 (of 3 total)