Questions tagged [stacked]

377 questions
3
votes
1 answer

Google chart stacked column chart. How to style each individual stacked item (data series)

I've built a google chart stacked column chart. I am able to annotate each stacked item. When it comes to styling each column item, only the last stacked item is effected. working code for the last stacked item: // Create the data table. var data =…
Jin
  • 55
  • 7
3
votes
1 answer

Creating bar borders for a stacked histogram in R

I have a set of data: DF <- read.table(text="Rank F1 F2 F3 1 500 250 50 2 400 100 30 3 300 155 100 4 200 90 10", header=TRUE) library(reshape2) DF1 <- melt(DF, id.var="Rank") I want to create a stacked…
Head and toes
  • 659
  • 3
  • 11
  • 29
3
votes
1 answer

HighCharts stacked column range

I'm having a problem getting Highcharts Column Range charts with multiple data series to display as I would like. Please refer to http://jsfiddle.net/jbreadner/6qsvjark/1/ There are two charts shown here, the "Top Chart" and "Bottom Chart". The top…
Jeff Breadner
  • 1,366
  • 9
  • 19
3
votes
2 answers

gnuplot stacked filledcurves can't show the corrects sum

Currently I working on Gnulot stacked filledcurves. I have problem to make my graphs stacked. This is my data: prog reli perf avail sec cons topo scale qos 2011 138 90.3 21.0 63.5 45.5 48.5 6.8 4.0 5.5 2012…
indi60
  • 867
  • 4
  • 17
  • 34
3
votes
1 answer

Excel chart changing all data labels from value to series name simultaneously

I am having this problem in excel stacked column chart while trying to change the labels. My graph has multiple columns and hundreds of stacked values (series) in each column. By selecting chart then from layout->data labels->more data labels…
tod
  • 1,539
  • 4
  • 17
  • 43
3
votes
1 answer

How to update data in stack bar chart in D3

I am able to populate a stacked bar chart first time, but my requirement is to update the stacked bar chart with new data on button click. On button click, i m making call to backend and getting the data, Could you please guide me as how to update…
gunjan
  • 125
  • 3
  • 11
3
votes
3 answers

Highcharts stacked bar negative / positive total

I have a stacked bar chart like this: http://jsfiddle.net/XFX5T/ I would like to know if it's possible to have the total of the negative + positive values as the stacked label. if the total is positive, show the label at the top of the bar. if the…
null
  • 68
  • 1
  • 6
3
votes
1 answer

ggplot2: barplot of fractions of single level of the factor in each bin

For example we have usual stacked bar plot: ggplot(diamonds, aes(x=color, fill=cut))+geom_bar(position="fill") And I want to make same plot but leave on it only one of "Cut" - types. For example "Ideal" (purple one). Thus, it should be something…
yerba
  • 105
  • 1
  • 6
2
votes
1 answer

Highcharts How To Select Column From Stack

In Highcharts, is there any way to select an entire column from a stacked column chart? If not, is there at least a way to style the whole column?
2
votes
1 answer

Creating Stacked Bar Column Chart with CODE BEHIND

I need to create a Stacked column chart as shown in the picture. X-Axis : Component name Y-Axis : Number of bugs Stacks : For each component I need to create stacked charts which tell me: ---> For each component category(Audio/Video) I need to…
Nandu
  • 375
  • 2
  • 5
  • 8
2
votes
1 answer

Force bars/rows in stacked bar chart (ggplot showing percent, zero decimal places) to be of same lenght?

I am new to R and I need to create a stacked bar chart which shows percent within bars (stacks) and goes from 0 to 100 percent. I have over 7000 rows and 12 vectors that range from value 1 trough 5 (the value 9999 is to be excluded from the chart).…
Thalelia
  • 23
  • 5
2
votes
1 answer

sorting stacked bars by highest value of certain rating

I'm trying to sort a stacked barchart object created by ggplot by having the item with the highest "Excellent" value first. My current code doesn't seem to sort it that way: R_POPS_testdataset_forstackedbars <- read_csv("R-POPS testdataset…
Mal Vane
  • 75
  • 4
2
votes
0 answers

MATLAB: Specifying order of stacked bars in barplot

I am trying to make a stratigraphic column using the bar function with the stacked option enabled and I am running into an issue with the bar function changing the order that the bars are stacked relative to the order they are in the variable that…
Ben Jahnke
  • 21
  • 2
2
votes
1 answer

PYTHON - Display percent of 100 in stacked horizontal bar plot from crosstab from matplotlib in pandas

This is my piece of code. Everything is okay except it display 0% which is wrong. Here is my piece of code. What is wrong? import matplotlib.pyplot as plt ax= pd.crosstab(df4['State'], df4['Status_new']).apply(lambda r: r/r.sum()*100, axis=1) ax_1…
piva1970
  • 25
  • 3
2
votes
3 answers

Stacked column charts in ASP.NET 4.0

Can some one please tell me how to make a Stacked Column Chart with the code? I've no dataset to bind, just plain values to display in a stacked column chart. I'm using normal .NET Chart controls provided by Visual Studio 2010 in .NET Framework 40.…
Manish
  • 31
  • 2
  • 3
  • 7