<link rel="stylesheet" type="text/css" href="../../../dhtmlxWindows/codebase/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_skyblue.css">
<script src="../../../dhtmlxWindows/codebase/dhtmlxcommon.js"></script>
<script src="../../../dhtmlxWindows/codebase/dhtmlxwindows.js"></script>
<script src="../../../dhtmlxWindows/codebase/dhtmlxcontainer.js"></script>
<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>
<style type="text/css" media="screen">
html, body{
height:100%;
padding:0px;
margin:0px;
}
</style>
<script>var dhxWins,
pieChart;
function doOnLoad() {
dhxWinsParams = {
image_path: "../../../dhtmlxWindows/codebase/imgs/",
wins: [{
id: "w1",
left: 230,
top: 230,
width: 420,
height: 340
}]
};
dhxWins = new dhtmlXWindows(dhxWinsParams);
pieChart = dhxWins.window("w1").attachChart({
view: "pie",
value: "#sales#",
color: "#color#",
pieInnerText: "#sales#",
legend: {
width: 75,
align: "right",
valign: "middle",
template: "#month#";
}
});
pieChart.parse(month_dataset, "json");
};
</script>