Questions tagged [stacked]
377 questions
2
votes
1 answer
Changing colours of individual bars in a stacked barplot R
I have data on infection levels (graded 1-3 by severity) in different cell lines. I have created a stacked barplot but I can only change the colours of all the bars, when I'd like to separate lines by colour. I'd like the 2 WT to have a red palette,…

Ellen Masters
- 25
- 5
2
votes
1 answer
How to to add stacked bar plot hatching in pandas? (...or how to get BarContainer vs AxisSubplot in pandas plot vs. matplotlib?)
I have a code example using matplotlib.pyplot.plot() that works and that that I want to replicate to make hatched bar segments on a stacked bar chart. However, I have been making all of my other graphics using pandas.DataFrame.plot() instead of…

thanksfolks22
- 41
- 6
2
votes
3 answers
stacked waterfall charts in highcharts
We have a requirement for stacked waterfall charts (we are using highcharts.com).
http://fiddle.jshell.net/8JP8T/ gives an option for creating waterfall charts but we need to create stacks. Anyone has done this before?
Thanks !!

toamitkumar
- 39
- 1
- 5
2
votes
1 answer
Display a summary bar next to the individual categories of a stacked barchart
With the following code I can create the chart underneath:
library(ggplot2)
ds <- as.data.frame(mtcars)
ds$gear <- as.factor(ds$gear)
ds$carb <- as.factor(ds$carb)
d1 <- ds[ds$carb %in% c("1","2","3"),]
ggplot(d1, aes(fill=gear, x=carb)) +
…

Philipp Staudacher
- 155
- 2
- 11
2
votes
1 answer
google charts move annotation position to center of stacked chart
I am using Google Chart's column graph chart. The chart is a stacked column chart with annotations for every data point of the stacked column. The annotation are at the top of the inside of the bar but I would like them to be centred inside of the…

Anish Alexander
- 23
- 7
2
votes
0 answers
spotfire - is there a way to create stacked water fall chart?
In spotfire can we create a waterfall chart with stacked bars?
Each bar should be stacked with a diff column
Do we have this option in Spotfire?

BULB
- 143
- 4
- 13
2
votes
2 answers
How to create StackedColumn chart in ASP.NET?
I have a dataset that I want rendered as a stacked column chart using the built-in charting in VS 2010. The data looks like this and is returned from SQL Server from a stored procedure:
numTrades Type symbol
3 BreakEven GBPCHF
7 Loss …

Mark Allison
- 6,838
- 33
- 102
- 151
2
votes
1 answer
Python, tkinter, plotting 3 stacked group-by histogram in the same subplot
I am new in python and I did a tkinter interface where questions are asked and then it plots graphics in another window.
I am working on big csv files using panda library.
The problem I have is when, on my graphics windows, I try to plot 3…

hlet
- 31
- 2
2
votes
1 answer
Stacked area plot and dates in matplotlib
Here is my code:
import datetime as dt
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
dates = ['2014-12-15','2015-11-07','2016-01-10']
x = [dt.datetime.strptime(d,'%Y-%m-%d').date() for d in…

user1700890
- 7,144
- 18
- 87
- 183
2
votes
1 answer
stacked graphs with Dygraphs
I'm trying to create a stacked graphs with Dygraphs using "stackedGraph: true".
When I have hard copied data to html file, everything works great:
exp:
var gStacked = new Dygraph(
document.getElementById("Stacked"),
"X,Y,Z\n"+
…

evlahos
- 41
- 3
2
votes
2 answers
GNUplot: how to plot rowstacked bar chart using color codes in data?
I have the following sample data:
col1 2 0 1 1
col2 1 1 0 0
col3 1 1 1 0
col4 1 1 2 1
col5 1 1 1 1
col6 2 0 1 1
col7 1 1 2 2
col8 1 1 2 1
columns #4 and #5 are the color codes for columns #2 and #3. For example, I want '1' for green, 2 for white,…

zagpoint
- 85
- 1
- 10
2
votes
1 answer
Matlab: 3D stacked bar chart
I'm trying to create a 3D stacked bar chart as in this question: 3D stacked bars in Matlab. However unlike that question I want to use 3 datasets instead of 2. I think I have a (probably simple) problem where the bars don't shift up correctly or…

Gabriel H
- 309
- 1
- 5
- 18
2
votes
1 answer
ggplot2 stacked area line charts producing odd lines and holes
I have a data set that's structured as follows:
year color toyota honda ford
2011 blue 66 75 13
2011 red 75 91 62
2011 green 65 26 57
2012 blue 64 23 10
2012 red 84 …

Jim
- 715
- 2
- 13
- 26
2
votes
1 answer
Akka.NET F# API and actors with stacked behavior
Akka and its Akka.NET port support switchable behaviors (http://getakka.net/docs/working-with-actors/Switchable%20Behaviors), and not just in a simple form of letting an actor to become an actor with different behavior but also in a form of…

Vagif Abilov
- 9,835
- 8
- 55
- 100
2
votes
1 answer
How to create Stacked ColumnCharts with different colors in Flex
I am trying to create a stacked column chart that will show three different values on a column with different colors. Please let me know how to achieve that.
Thanks,
AM

AMS
- 21
- 2