Questions tagged [stacked-chart]

For questions about stacked charts, i.e. charts where multiple data series are superimposed.

Stacked are charts in which you collect multiple data series and display their cumulative values. These can be stacked histograms, stacked areas, or a number of other arrangements.

Stacked areas Stacked areas adding up to 100% 3d example Stacked area chart

Typical questions involve how to get this sort of layout from various plotting engines and how to affect details like legends, orientation, color palette, grouping, etc.

674 questions
0
votes
1 answer

Side by Side Bar Charts for similar quantities in Tableau

I am new to Tableau but have rather simple visualization in need. Suppose I have a table with 3 columns of, {Val_A, Err_Model_AB (in %), Err_Model_AC (in %)}, and 100 rows. The parameter Val_A takes random values from [0,1] and the 'Err_Model's go…
KPJ
  • 25
  • 1
  • 4
0
votes
2 answers

Stacked Barplot in R with ggplot2

I have got a question about creating a stacked barplot in R with ggplot2. What I want to create is a stacked bar plot in which every bar is placed "on top" of the other. x = c(100,200,400,600,800,1000,1250,1500) y1 = c(1,2,3,4,5,6,7,8) y2 =…
ChrisG
  • 333
  • 1
  • 3
  • 10
0
votes
0 answers

Highcharts stacked bar - add vertical column on right side

http://www.highcharts.com/demo/bar-stacked How to add vertical column to the right side of this chart. On left side, where fruit is listed, I need to have months and on right side I need to have sales (sum of stacked columns) and also if possible…
ilija veselica
  • 9,414
  • 39
  • 93
  • 147
0
votes
1 answer

achartengine heap chart display bars when series value is equal to zero

I recently started using achartengine 1.2.0 for new type of chart, the HEAP one. It works great in general but I've found a one issue with the way the chart handles zero values in series. I do have a chart with 7 bars (each bar is one day of week)…
shadovraven
  • 36
  • 1
  • 6
0
votes
1 answer

highchart stacked column, display extremely small values in shift lable

i am currently using [highchart js lib][1] to create a stacked column chart for my project. here is my exact code: $(function () { $('#container').highcharts({ yAxis: { min: 0, title: { …
sefirosu
  • 2,558
  • 7
  • 44
  • 69
0
votes
0 answers

How do i make stacked blocks to start from bottom?

I have stacked chart which has goal and target. I want them to show in a way that target reaches toward the goal. Also, if it exceed the goal, then i should know where the goal was. `http://jsfiddle.net/7tx295dx/`
GAURAV SHAH
  • 1
  • 1
  • 2
0
votes
0 answers

matplotlib stacked bar plot missing bars

I am attempting to make a stacked bar plot in python, however the final product seems to be missing bars. I believe the first bar should total around 36, but it doesn't. I'm not sure what I am doing wrong. Here is a simplified version of my…
user3266890
  • 465
  • 5
  • 15
0
votes
3 answers

Stack Multiple Lattice Plots

I have the following data set: structure(list(Male = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L),…
Gavia_immer
  • 67
  • 1
  • 10
0
votes
1 answer

Fill to x-labels affects the color of stacked bar chart in Flot

I am using FlotChart and Flot Tick Rotor [jquery.flot.tickrotor] plugins. I tried to tweak the rotor to provide some lines between my x-axis labels by drawing some rectangles. However, the last bar on my stacked graph is also filled with the color I…
Kim Honoridez
  • 917
  • 2
  • 15
  • 28
0
votes
2 answers

Highcharts age stacking

I want to make a stacked column chart with age intervals. I have a two-dimensional array containing an age key and a value. The idea is: every single age is stacked on top of each other within their interval, and thereby represent the accumulated…
Anfaje
  • 335
  • 4
  • 14
0
votes
1 answer

D3: Stacked bar chart- heights are too big for bars

I'm trying to make a D3 stacked bar chart with 3 stacked bars for each category. It looks like my data is being mapped correctly so that there is an x, y, and y0 for each figure but for some reason the bar heights are really big. you can see here…
NewToJS
  • 2,011
  • 4
  • 35
  • 62
0
votes
0 answers

HighCharts : after data update, unable to redraw bars, unless if I click (switch visualization) on the categories for stacked chart, in the legend

My HighCharts plot is not displaying stacked bars correctly. Actually, the bar charts are visualized but after an update on the data the plot is blank and gets populated only by a click on the categories that are shown in the legend. This trigger…
fstab
  • 4,801
  • 8
  • 34
  • 66
0
votes
1 answer

How to achieve spaces between stacked bar chart, center aligned

I am using matplotlib and a stackedbarchart program for it that someone wrote to graph a stacked bar chart. My graph: x-axis has 8 income distributions, one for each bar y-axis is the % of people in each income distribution. person type-a is the…
As3adTintin
  • 2,406
  • 12
  • 33
  • 59
0
votes
1 answer

Stacking LineSeries - Ordered Data requirement

I am plotting 7 time series using a LineSeries and I want to stack them. I am getting the same exception as is described on the Shinobi forum on the page linked below. *** Terminating app due to uncaught exception 'NSRangeException', reason: '***…
androider
  • 333
  • 5
  • 13
0
votes
1 answer

Key colours JFreeCharts

I'm generating stackedbarcharts and piecharts using jfreecharts. Both types of charts use the same labels. For example I have John, Mike, Sandra, Pushpalika in both. Is there a way I can ensure that the colour used to represent each person is the…
stretchr
  • 615
  • 2
  • 9
  • 24