Hello,
i use your (corrected) example on
dhtmlx.com/docs/products/dht … chart.html.
div id="mychart_container" style="width:800px;height:400px;border:0px solid #A4BED4;" align="center"></div>
<script>
var mychart = new dhtmlXChart({
view: "stackedBar",
container: "mychart_container",
value: "#mbused#",
label: "#mbused#",
width: 60,
xAxis: {
title: 'Account'
},
yAxis: {
title: 'MB'
},
gradient: "3d",
color: "#66cc33"
});
mychart.addSeries({
value: "#mball#",
color: "#ff9933",
label: "#mball#"
});
</script>
‘dhtmlxchart.js’ and ‘dhtmlxchart.css’ are called on top of page, but i get the JavaScript error ‘addSeries is not a funtion’.
Why this?
Regards, Carsten