Questions tagged [stacked-area-chart]

A stacked area chart is a type of chart (or graph) that is used to display graphically quantitive data.

A stacked area chart or stacked area graph displays graphically quantitive data. It is based on the line chart. The area between axis and line are commonly emphasized with colors, textures and hatchings.

Stacked area charts are used to represent cumulated totals using numbers or percentages over time.

209 questions
1
vote
1 answer

Google stacked area chart not working

I want to accomplish google stacked area chart. Here is the js fiddle: Js Fiddle I also tried adding the options for stacked area: var options_fullStacked = { isStacked: 'relative', height: 300, legend: {position:…
Ankush Rishi
  • 2,861
  • 8
  • 27
  • 59
1
vote
1 answer

How to reorder the x axis on a stacked area plot

I have the following data frame and want to plot a stacked area plot: library(ggplot2) set.seed(11) df <- data.frame(a = rlnorm(30), b = as.factor(1:10), c = rep(LETTERS[1:3], each = 10)) ggplot(df, aes(x = as.numeric(b), y = a, fill = c)) + …
Lina
  • 304
  • 2
  • 10
1
vote
3 answers

How can I prepend data to a D3 stacked area graph without weird animation glitches?

I have a stacked area graph that animates when the data changes. The data shows values for a given date range (e.g., Dec. 10-15). When I add expand my date range to include an earlier date (e.g., Dec. 9-15), the data array has additional data…
MindJuice
  • 4,121
  • 3
  • 29
  • 41
1
vote
0 answers

d3 update multiple graphs audio

I'm trying to update multiple charts with the audio frequency data. I managed to get one working but I simply cant figure out how to add another area chart that is also updating (even to the same data). If I add another one it just stays flat (no…
1
vote
1 answer

how to graph using geom_area?

Does anyone know why my data is not graphing? data_frame univ_apps ---------------------------- timeappreceived chr May_12_2002, March_4_2002 bs_ms_phd factor 1 for bs 2 for ms 3 for phd appid int rn89 qw23 et43 sample…
James Rodriguez
  • 119
  • 3
  • 10
1
vote
0 answers

How to add negative values to JavaFx Area Chart?

I'd like to draw a difference (area) chart, something like this: How would d3.js difference chart example work with json data? where my chart is centered around horizontal (y=0) axis. JavaFx's Area chart seems to know how to fill only the area below…
igorludi
  • 1,519
  • 2
  • 18
  • 31
1
vote
0 answers

How to use stack area High chart using Dynamic values?

This is my code where I fetch data var compdata = new Array(); compdata = ''; compdata = JSON.parse(compdata); var dlen = compdata.length; var cmname = new Array(); var cmdate = new Array(); var crank = []; var…
rji rji
  • 697
  • 3
  • 17
  • 37
1
vote
1 answer

StackedAreaChart's default coloring policy after 8 colors on subsequent data repopulations

I am trying to understand how the StackedAreaChart colors its series, in order to color series consistently in my application when data is replaced with entirely new data. Initially, I thought StackedAreaChart cycles through 8 default colors. In…
Museful
  • 6,711
  • 5
  • 42
  • 68
1
vote
1 answer

Graph Anomalies Stacked Area Chart ggplot2

I'm trying to create a stacked area chart of negative and positive values showing the composition of the long and short weights of sectors in a portfolio. These values can vary between negative and positive, so ideally I would like something…
jtanman
  • 654
  • 1
  • 4
  • 18
1
vote
1 answer

StackedAreaChart locks up with empty series

I run into a java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:418) problem in an application where data sets can occasionally be empty(from SQL result sets), seriesMay in this example: import…
1813222
  • 302
  • 3
  • 12
1
vote
2 answers

JavaFX - StackedAreaChart and method setLowerBound

I hava some problem with Class StackedAreaChart and setLowerBound. When I set autoRangingProperty to true, everything is OK http://i62.tinypic.com/2q0n3ht.png But when I turn off autoRanging and set some params I hava some…
KrzysiekR
  • 45
  • 1
  • 8
1
vote
1 answer

custom colors in filecurves stacked graphs Gnuplot

Now I am working on filecurves with 19 legends. The as default the graph have similar colors and not stacked correctly on the few bar on the right graph. This is my data: a b c d e f g h i j k l m n o p q r …
indi60
  • 867
  • 4
  • 17
  • 34
1
vote
1 answer

Highcharts drilldown in stacked area chart

Is it possible to have a stacked area chart with drilldown? I want to drilldown to another series on clicking on an area. Any simple example would be highly appreciated. JS FIDDLE: http://jsfiddle.net/UKC83/1/
Adnan
  • 2,986
  • 7
  • 43
  • 63
1
vote
2 answers

Flot chart stacked curved lines

Has anyone used a stacked flot chart with the curved lines plugin? They do not appear to be compatible because the curved lines plugin adds an additional data series which adds to the total stack value, basically duplicating each series, creating a…
user3595174
  • 21
  • 1
  • 5
1
vote
1 answer

Highlight important points on jsD3 area graphic

I have a jsD3 area graphic, data contains daily values of some metric, for many days I have the same values, so my graph have peaks at certain points when the values goes up or down, and horizontal line for the dates the value is the same. How to…
edteke
  • 562
  • 5
  • 22