Not Stacking! #448

Closed
dnschnur opened this Issue Sep 28, 2012 · 2 comments

Projects

None yet

1 participant

@dnschnur
Member

Original author: marcelo....@gmail.com (June 24, 2010 18:30:25)

Hello Guys! Need your help, i`m a new programmer and i dont know why my bar graph do not stack

<script id="desfazimentosChar" language="javascript" type="text/javascript">
jQuery(function () {
var dados = <%= stbDadosChart.toString() %>;
var dadosCompras = <%= stbDadosChartCompras.toString() %>;
var dadosDesfazimento = <%= stbDadosChartDesfazimento.toString() %>;

jQuery.plot(jQuery(&quot;#placeholder&quot;),[ {label:&quot;Compras&quot;,data:dadosCompras},

{label: "Desfazimento",data:dadosDesfazimento},
{label: '<%= chartLabel %>',data:dados},], {

bars:{
show: true,
stackBar: true
},
xaxis: {ticks: <%= stbLabelsChart.toString() %>}
});
});
</script>

Tks

Original issue: http://code.google.com/p/flot/issues/detail?id=369

@dnschnur
Member

From Buddy...@gmail.com on July 15, 2010 16:04:04
from a quick look at your code, it appears it won't stack because you aren't using the correct syntax.

bars : {
show : true
},
series : {
stack : true
}

try that in place of your code.

@dnschnur
Member

From olau%iol...@gtempaccount.com on December 14, 2010 16:39:25
If you need more help, try the forum/mailing list.

@dnschnur dnschnur closed this Sep 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment