Questions tagged [stackedbarseries]
127 questions
3
votes
1 answer
How to set different colors to the bars in stacked bar chart in ireport?
I need to set a unique color to each bar in the stacked bar chart. Whatever the color I see in one bar it shouldn't be repeated in any other bar or any other stack.
For example:
I have 5 bars in the report. Each bar has 3 different stacks. I want to…

Puru
- 8,913
- 26
- 70
- 91
3
votes
2 answers
Sorting Stacked Bar Plot by Factor in dataframe
Amateur R user here. I looked pretty hard online to see if this question has been answered/asked but I have not found a good answer. I can't post an image since I do not have 10 "reputations"
I want to have a stacked bar plot that orders the x…

LeslieKish
- 414
- 1
- 4
- 11
3
votes
2 answers
How to plot bar plot in parallel to horizontal to box plot with fraction of area in boxplot?
I am working on data presentation and i need to plot boxplot with stacked barplot in parallel.
With colored in different shade colors with proportion of points covering area. How can i plot it?

Manish
- 3,341
- 15
- 52
- 87
3
votes
1 answer
Slow Drawing of Bar Chart in AChartEngine
I am working on an android app and using AChartEngine as charting library. I want that when bar graph is drawn it draws slowly so it would give us a look and feel that it is drawing with some kind of animation. How to implement such kind of…

Fahad Abid Janjua
- 1,024
- 3
- 14
- 35
2
votes
1 answer
how to create a stacked bar chart indicating time spent on nest per day
I have some data of an owl being present in the nest box. In a previous question you helped me visualize when the owl is in the box:
In addition I created a plot of the hours per day spent in the box with the code below (probably this can be done…

Sander
- 35
- 2
2
votes
2 answers
How to create a percentage stack plot for unequal group size in R?
I have 2 groups namely "A" and "B" of unequal sample size. The size of "A" is 19 and the size of "B" is 15 total size of data being 34. They have a categorical variable named "Drug1" to indicate how many people of group A and B takes that drug so…

Jan_vi
- 23
- 3
2
votes
0 answers
How to define x attribute in d3 stacked diverging bar chart so that bars come from the right?
I'm trying to create a diverging stacked bar chart. I have two svg areas - one for yes votes and one for no votes. I need the no votes (the bars on the left of the image: https://i.stack.imgur.com/NJveR.png) to start on the right side of the scale…

wisemantyr
- 23
- 4
2
votes
1 answer
Stacked Barplot using only numerics
I have a data frame which contains 3 columns. First a 'Position', the scond one 'Frac1' as for fraction 1, and finally Frac2" which is the difference between '1 - Frac1'.
I want to make a stacked barplot using 'Position' as 'x', values '0 to 1' as…

shrindella
- 81
- 4
2
votes
2 answers
Label ggplot Geom_Bar with total categorical value
With This CSV:
Year,Permanent Wetland Loss,Permit Wetlands CRE,Permit Conservation,ARM Conservation,ARM Restoration,ARM…

traggatmot
- 1,423
- 5
- 26
- 51
2
votes
1 answer
Using multiple color scales in stacked bar plots with ggplot
I have a dataset where individual samples belong to a large group and a smaller subgroup. Each group has several subgroups, but each subgroup can only belong to one larger group. Likewise, each sample can only belong to one subgroup, and thus one…

hmg
- 412
- 1
- 4
- 18
2
votes
0 answers
R stacked barchart label mismatch
I have molecular sequencing data of relative abundance (in %) of the various phyla in 9 different samples and I am trying to plot it as colour-coded barchart (where each phyla corresponds to a different colour). Simple enough on excel, but for a…

Ikol
- 21
- 2
2
votes
2 answers
Stacked histogram with time series data with gnuplot?
I have a lot of data like this
callr | method | call_count | day
------+-------------------------+------------
foo | find_paths | 10 | 2016-10-10
bar | find_paths | 100 | 2016-10-10
foo | find_all | 123 …

slashdottir
- 7,835
- 7
- 55
- 71
2
votes
0 answers
Google Chart - Centering Annotations
I simply want to "center" the annotation in the bars in this chart. You can see how the data appear at the end of the bar. Can that percentage be centered in the bar?
Try as I might, I cannot figure it out. I found a block of code that was described…

David Weisser
- 117
- 1
- 10
2
votes
1 answer
Side-by-side stacked bar charts with two color scales in ggplot2
I have a data set where I need to represent a stacked bar chart for two cohorts over three time periods. Currently, I am faceting by year, and filling based on probability values for my DV (# of times,t, that someone goes to a nursing home; pr that…

ymediceacuerdate
- 97
- 9
2
votes
1 answer
How to remove gaps in stacked bar
I'm trying to make gantt chart in C#, I'm using StackedBar chart type. The goal of this chart is to show, how "tasks" can be schedule on number of "machines". In my algorithm there shouldn't be free spaces between "tasks" on chart. Each "task" is…

Cirate
- 151
- 1
- 8