Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Stacked column charts with Angular directives

$
0
0

I'm using Angular directives to create my charts. I'm attempting to build a stacked column chart.  My Dojo link is here: http://dojo.telerik.com/@CloudTools/AxAbu

Normally I bind to remote json data, but I've created a static json array just to facilitate the discussion.

When I create this chart and omit the "stack: true" command from k-series-defaults, I get the values that I'd expect from each series and the value axis displays appropriate numbers.  But when I stack the series, the value axis numbers seem incorrect.  For example, in the Dojo link, you can see that the first number on the value axis is 5,000, and the maximum value axis number is 30,000 even thought the total message count on any day never exceeds 100.

Also, in the stacked column display I'd expect to see different colors for the values for each series.  However I only see green for Spam value.

I'm guessing I'm just building the stack configuration all wrong.

Is there some different way I need to format the data, rather than just flip the {stack} value?


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>