jquery - Kendo Chart, overlay of two series -



hello, got kendo ui bar chart 2 series.
default series display side side.

with "stacked: true" 2 series stacked.
(first value + second value)

... seriesdefaults: {     type: "column",     stack: true       <-- make stacked }, ... 

so far good. want 1 series above other, overlay in way.
(first value - second value)

i created fiddle.
hope understand mean :-)

is possible configuration or have manipulate data before in chart!?

as far have seen, telerik doesn't support overlaid series data in bar charts beyond standard stack. might try asking on over support forums.

if, on other hand, talking taking series1 values minus series2 values, then, yes, can done, have write code it. this:

var dataset = new array(10, 15, 20, 10, 15, 20); var dataset2 = new array(2, 2, 4, 6, 5, 20); var dataset3 = new array(); //dataset1 - dataset2 for(var = 0; < dataset.length; i++){     dataset3.push(dataset[i] - dataset2[i]); } 

here's fiddle that, , showing rest of putting chart.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -