Questions tagged [stackedbarseries]
127 questions
1
vote
2 answers
D3.js stacked bar chart growing to negative direction
I am new to D3 and javascripts. I am trying to build an animated vertical stacked bar chart. I found an example here for a horizontal stacked bar chart. After tweaking it, I got a vertical stacked bar chart, however, growing downwards. Here is my…

Rui
- 95
- 1
- 14
1
vote
1 answer
R - Highcharter: Drilldown on stacked column graph
I've created a stacked column chart in Highcharter using R and I am trying to be able to drilldown into it.
I.e. In the picture attached, I want to be able to drill down in the red section of column CRDT. So far, I can only get it so each color…

Kevin
- 1,974
- 1
- 19
- 51
1
vote
2 answers
Chart.js stacked bar ordering depending on value
I have a stacked bar but I want to order the bars based on the summed value of my two datasets. Does any one have any idea how to do this using chart.js functionality?
See here
data: {
labels: stores,
datasets: [
{
…

Thanos
- 142
- 1
- 8
1
vote
1 answer
d3.js horizontal stacked bar chart with 2 vertical axes and tooltips
I have a task to make a d3 graph that should look like the picture below
I started to mock up the graph in codepen: http://codepen.io/Balzzac/pen/YNZqrP?editors=0010 , but I ran into 2 problems that I don't know how to solve:
1) how to make…

Мария
- 135
- 12
1
vote
2 answers
MPAndroid Chart - Stacked Column Bar Chart - Spacing between column
Im using MPAndroidChart Library, in Android app.
I want have Spacing/Divider of 2dp/px between column entries. (Vertical spacing)
https://i.stack.imgur.com/Gqgwo.png
Pls. help me how to setup it.
which is like 'setBarSpacePercent()' for horizontal…

progdevy
- 11
- 3
1
vote
1 answer
Matplotlib: how to create stacked bar plot from pandas data frame?
Starting from the following
df = pd.DataFrame( {'Item':['A','A','A','B','B','C','C','C','C'],
'Name': ['Tom','John','Paul','Tom','Frank','Tom', 'John', 'Richard', 'James'],
'Total':[3,3,3,2,2,4,4,4,4]})
print df
Item Name
0 A …

emax
- 6,965
- 19
- 74
- 141
1
vote
1 answer
How to filter data and populate D3.js stacked bar chart?
I have data in csv in the format below which shows up in a d3 stacked bar graph with City as x axis, population as y axis and stacked on year.
Country City Year Population
US Dallas 2010 1000
US Dallas 2011 1200
UK London 2010 700
UK …

Glenn
- 111
- 3
- 13
1
vote
1 answer
Json.data to Angular Stacked Bar chart
I am trying to push some data into Angular Stacked Bar chart array. Anyone who could advice me with this?
I have a function
myService.getWorkload().then(function(res) {
json = res.data;
});
Then I have a Stacked Bar chart:
$scope.chart = {
…

Blix
- 289
- 2
- 17
1
vote
0 answers
How create event click in stacked column of chart oxyplot?
I am trying to create an event just click on the column and not knowing how to do.
Someone has a tip ?
I am making an android app using Xamarin .
Thank you.

Lucas Augusto
- 11
- 2
1
vote
1 answer
How to create StackedBarSeries with custom tooltip without losing standard colors
I have a StackedBarSeries in Silverlight 4 charting (latest release).
I have created a DataPointStyle called MyDataPointStyle for a custom tooltip. By itself this breaks the standard palette used for the different bars.
I've applied a custom palette…

Simon_Weaver
- 140,023
- 84
- 646
- 689
1
vote
1 answer
JQPLOT Stacked Bar Chart array input issue
I am trying to plot a stacked bar chart and i am dynamically passing the data to the chart
When i pass the input
[1, 0] [0, 1] [0, 0] [0, 1] ["2015-02-16", "2015-02-15"]
in the variables s1,s2,s3,s4,dateArr (code snippet below)
i get the proper…

usr30911
- 2,731
- 7
- 26
- 56
1
vote
1 answer
Adding more complexity to stacked barchart in ggplot
It's a bit cluttered, I know, but I'm trying to further divide the data that makes up my stacked bar chart.
Here's what it looks like so far:
A =…

Slim
- 11
- 2
1
vote
1 answer
Flot Chart not stacking properly
I have this problem with my stacked bar chart.
It is not stacking properly.
Please refer to the bar being pointed by the red arrow.
When I try to click on the lower bar, the upper bar is selected instead.
Could you please help me?
The following is…

Kim Honoridez
- 917
- 2
- 15
- 28
1
vote
2 answers
Producing same graph from raw and summarized data
Same plot from raw and summarized data
For the following data structure
dsN<-data.frame(
id=rep(1:100, each=4),
yearF=factor(rep(2001:2004, 100)),
attendF=sample(1:8, 400, T, c(.2,.2,.15,.10,.10, .20, .15,…

andrey
- 2,029
- 2
- 18
- 23
1
vote
0 answers
Paired Stacked Multibar
Starting form the example on Grouped / Stacked Multi-Bar I draw this graph using nvd3.js:
When I click on the Stacked control, the second series is not drawn from the start of the axis:
I dont understand why is that. Here is a jsfiddle example of…

user1498339
- 629
- 4
- 9