I'm trying to plot a stacked column graph. Instead of the various components being one on top of the other, they are appearing one next to the other.
Here's the property I'm using
var stackedProps= {
type: "serial",
titles: [{
text: "STACKED CHART",
size: 24,
alpha: 5
}],
valueAxis: [{
stackType: "regular",
axisAlpha: 0.3,
gridAlpha: 0
}],
graphs: [{
balloonText: "<b>[[title]]</b><br><span style='font-size:14px'>[[category]]: <b>[[value]]</b></span>",
fillAlphas: 0.8,
lineAlpha: 0.3,
title: "AAAA",
type: "column",
color: "#000000",
valueField: "AAAA"
}, {
balloonText: "<b>[[title]]</b><br><span style='font-size:5px'>[[category]]: <b>[[value]]</b></span>",
fillAlphas: 0.8,
lineAlpha: 0.3,
title: "BBBB",
type: "column",
color: "#000000",
valueField: "BBBB"
}
};
My understanding is that the property stackType: "regular" is responsible for stacking the items one on top of the other.
Could I please request help to identify the mistake?
valueAxes(plural) - martynasmavalueAxisworks while the plural form doesn't plot the graph - usert4jju7valueAxisproperty of both of these types of graphs to valueAxes` (the plural form). What is working now isvalueAxesfor stacked column &valueAxisfor the normal column graph. if I change the column graph property tovalueAxesthe graph doesn't plot. - usert4jju7