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
3
votes
1 answer

C# charting: How to not draw an empty point in stacked area chart

How can I not draw an empty point in C# charting library? I do not want the last empty point with 0 value for 11/10 to be drawn in the chart, but inspite of setting it as Empty point it is drawn with a value of 0. Check out the chart here. Here's…
Puvi
  • 105
  • 2
  • 10
3
votes
1 answer

Dynamic Time Series Stacked Area Chart in Java

My requirement is to create a dynamic time series stacked area chart in a java desktop app. Something like this example, but i want Stacked Area chart. I have found lot of examples of stacked area chart but they all are based on static data.
sohailehmad
  • 2,042
  • 1
  • 14
  • 17
3
votes
1 answer

SAS Proc Gchart Stacked area plot

Hi I have a problem creating a graph in SAS. my data is as follow: Date, comp_1,comp_2, comp_3, total_value. My data is sorted by dates. the variable comp_ represent the value of the company at a specific data. This is my code at the moment: proc…
2
votes
1 answer

Is there a way to set a custom baseline for a stacked area chart in Plotly?

For context, what I'm trying to do is make an emission abatement chart that has the abated emissions being subtracted from the baseline. Mathematically, this is the same as adding the the abatement to the residual emission line: Residual = Baseline…
2
votes
1 answer

How to only plot the top n highest values in stacked bar chart in a pandas df?

I have a df that looks like: CD1 CD2 CD3 ... FG1 FG2 0 3.8 2.9 0 ... 0.1 0.1 1 0.1 0 4.1 ... 5.2 0 # 35 columns and 2 rows And I plot a stacked bar chart using: colors = plt.cm.jet(np.linspace(0, 1,…
startswithH
  • 309
  • 4
  • 14
2
votes
1 answer

Python - Altair - Stacked Bar Chart With Selection

I've followed and replicated with my dataset two tutorials, linked below Stacked Bar Chart : https://altair-viz.github.io/gallery/stacked_bar_chart.html and Selectable Data : https://altair-viz.github.io/gallery/interactive_cross_highlight.html…
Jibril
  • 967
  • 2
  • 11
  • 29
2
votes
1 answer

Holes with geom_area (ggplot2) for negative y-range

When doing a ggplot with geom_area, the negative y-range contains some holes as in the example below. I also got to code a very simple reproducible example, that illustrates this phenomenon: require(ggplot2) require(data.table) data <-…
Pablo
  • 21
  • 2
2
votes
1 answer

Gnuplot, stacked area and custom tic strings

So, I've got next problem. I'm writing a Perl plugin for my own Gnuplot wrapper, and I need to plot stacked-area chart, but here's problem with tics. I have the following datfile (date in epoch - for Perl functions): date c1 c2 c3 c4 c5 c6 …
genesi5
  • 455
  • 3
  • 17
2
votes
1 answer

how to generate top grading snapshot chart?

I want to generate a topgrading snapshot chart using any jquery library like shown below. But so far, I only succeeded in generating the top part of the chart ("Salary" in the example image). Here is my first attempt using Highcharts (code…
ghmulchandani
  • 304
  • 3
  • 19
2
votes
1 answer

JavaFX AreaChart - doesn't color area below last points

Why doesn't AreaChart cover all the area below the line? Here's the fxml code for my chart (it's really basic):
2
votes
1 answer

Horizontal stacked bar: one tick not displaying

Please can somebody tell me why the bar in top right corner is more elevated than all the others? When I use larger data-set it actually creates a stacked bar with multiple parts that seems not to be part of the chart and there is no right y axis…
2
votes
0 answers

How can I use DateAxis for x-axis in CategoryPlot (Using createStackedAreaChart() Method) in JFreechart

I generate a stackedAreaChart with value & date axis and it is generating fine, but I don't want to show each & every date because it is not looking fine or it is not possible to show each & every date for long duration. Here is my code: ArrayList…
2
votes
1 answer

plotly labels in R stacked area chart

I am trying to make a stacked area chart in R exactly like this ggplot2 one (below) only using plotly. Here is a link to my data. To generate a plotly version of the above ggplot2 chart, I first have to add the values of each column in my…
Jim
  • 715
  • 2
  • 13
  • 26
2
votes
1 answer

ggplot2 stacked area line charts producing odd lines and holes

I have a data set that's structured as follows: year color toyota honda ford 2011 blue 66 75 13 2011 red 75 91 62 2011 green 65 26 57 2012 blue 64 23 10 2012 red 84 …
Jim
  • 715
  • 2
  • 13
  • 26
2
votes
3 answers

geom_area fill not working ggplot2

I'm trying to do a stacked area plot in ggplot2. I seem to have followed the code correctly but the output is different. The code seems to work but the areas aren't exactly filled. Anything wrong with my code? or is it the ggplot2 package? Code…
odevsej
  • 31
  • 1
  • 4
1 2
3
13 14