DHTMLX Docs & Samples Explorer

pie3D

Source
<script src="../../codebase/dhtmlxchart.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxchart.css">
<script src="../common/testdata.js"></script>
<script>
window.onload = function() {
    var chart = new dhtmlXChart({
        view: "pie3D",
        container: "chart",
        value: "#sales#",
        color: "#color#",
        label: "#month#",
        tooltip: "#sales#";
    });
    chart.parse(month_dataset, "json");
}
</script> <div id="chart" style="width:400px;height:250px;border:1px solid #A4BED4;"></div></td>