Questions tagged [stackedbarseries]

127 questions
0
votes
1 answer

Group Stacked Bar Plots together in ggplot2

I want to combine stacked bar plots that add up to 1 (proportion), Column values indicate parts of proportion, Estimate is the corresponding proportion values of A,B,C that adds to 1, Treatments are the categories I want to maintain. Within each…
Marvin.J
  • 1
  • 2
0
votes
1 answer

R ggplot2 problems with stacked barplot with 3 variables mixed with mirror density chart

Dear Stackoverflow community, Once again, I have a question concerning the ggplot2 possibilities of R. Before I start with explaining my problem, an example of a dataframe is provided here below: age <- c(12, 13, 14, 15, 12, 13, 14, 15, 12, 13, 14,…
Roontje
  • 7
  • 5
0
votes
3 answers

How can I create quantitative stacked bar graphs in Tableau Public?

I have data that looks like this: Subcategory Title Value Sub1 Name1 2 Sub1 Name2 5 Sub2 Name3 4 Sub2 Name4 1 Sub3 Name5 2 Sub3 Name6 7 Sub4 Name1 7 Sub4 …
William Gunn
  • 2,925
  • 8
  • 26
  • 22
0
votes
1 answer

How to annotate stacked bar chart with the sum of each bar (Matplotlib)?

I have a grouped bar chart and each bar is stacked. I have annotated each section of the stack with its individual value and now I would like to sum those values and annotate the total value(height) of each bar. I would like this annotation to be on…
0
votes
1 answer

How to partially reorder the stack of each bar in stacked bar plot?

Some of my data contain NA values and I want these values to appear at the top of each bar. library("phyloseq"); packageVersion("phyloseq") library(ggplot2) library(scales) data("GlobalPatterns") TopNOTUs <- names(sort(taxa_sums(GlobalPatterns),…
0
votes
0 answers

Stacked bart chart 4 variables with ggplot

I am very new to this and I wanted to add that the various ways in which I tried to reshape/melt the data. My data in three different variations: Version 1: year,type,total,action,perc 2015,v,"1,199,310",crime,42.16 …
Dan C.
  • 9
  • 2
0
votes
1 answer

how to generate stackedBar chart using apache poi 4.0 XDDFChartData, XDDFBarChartData ; in excel sheet using java, i dont want to use jfree

I need a sample code in Java, currently I am able to draw line and pie charts charts after reading values from sheet, and I also want to generate a StackedBar chart. I added a snipplet of code for pie chart which I have attempted which is for .ppt…
Rajesh Bhardwaj
  • 85
  • 3
  • 10
0
votes
0 answers

hierarchical bar graph using flot js

I've been searching for hours if the hierarchical bar graph is supported in flot but I can't find a good documentation or answer. I find some examples using multiple xaxis(xaxes) but this seems different from what I want. See image below: Now, my…
Lenonskie
  • 193
  • 1
  • 2
  • 11
0
votes
1 answer

Stackedbar JavaFX Not Showing UP

help me please i was try to create javafx stacked bar on myproject. i'm so confused to create that bar, it's not common for me. i have read any ask question and any answer on stacked over flow but, my program still not showing up. this is my code.…
0
votes
1 answer

Remove NA's from a stacked bar chart created using likertplot function from the HH package

I am creating stacked-bar-charts using the likertplot function from the HH package to display summary results from a recent student survey. The code I have used to produce this plot is: likertplot(Subgroup ~ . | Group, data = SOCIETIES_DATA, …
0
votes
0 answers

How to add line series in stacked bar chart in javafx

I have a stacked bar chart with only two series data. Now i want to add two series line dataset into the same chart. How to do it in javafx.
user387600
  • 99
  • 3
  • 15
0
votes
1 answer

ggplot stacked bar graph with bars relating to two different variables with percentages

I would like to create a stacked bar graph with ggplot where the heights of the bars depend on the values of one variable (voter turnout in %) and the stacks of the bars individually add up to 100% of another variable (voteshare in %). So for the…
0
votes
1 answer

Adjusting text label and adding total count label for paired stacked bar graph in ggplot2

I am trying to add the total count (Sum in the dataframe, supplied in the code below) above each bar in a paired, stacked bar graph in ggplot2. I've attached an image of the graph, which was produced in RStudio. For instance, above the "Female" and…
0
votes
1 answer

Stacked bar chart in Qlik Sense: one bar for one field

I have this table: Survey1: LOAD * inline [ Respondent, AnswerToQuestion1, AnswerToQuestion2 resp1, 1, 1 resp2, 1, 2 resp3, 2, 1 resp4, 2, 1 resp5, 2, 3 resp6, 2, 1 resp7, 2, 1 resp8, 3, 2 resp9, 3, 2 ]; I want to get a 100% stacked bar chart from…
ZygD
  • 22,092
  • 39
  • 79
  • 102
0
votes
1 answer

QML StackedBarSeries x-axis labels using data column

I have a data set in an QSqlQueryModel that looks like this +-----------+-----------+------------+ | date | sent | recv | |===========+===========+============+ | 2013-4-21 | 3839088 | 140036219 | | 2013-4-22 | 146037305 |…
strnmn
  • 555
  • 1
  • 6
  • 30
1 2 3
8 9