Questions tagged [stackedbarseries]

127 questions
1
vote
1 answer

Change StackedBarChart Colors based on key values

I would like to modify stackedBarChart's colors using key values. I know how to do this for piecharts, but am unable to accomplish the same for stackedBarCharts. For piecharts, essentially my approach is similar to the answer stated here The lines…
stretchr
  • 615
  • 2
  • 9
  • 24
1
vote
2 answers

D3 stacked bar chart with time

I have problem working with d3 and date time. Is there an example that shows stacked bar chart with time dimension ? I would like to visualize users' activities such as riding on a bus, walking, etc. as a bar chart. The existing ones are based on…
1
vote
1 answer

Gnuplot: how to make a histogram with only some bars stacked, others not?

Say I have data that I want to separate into different bars, but one of the is subdivided, as in. For instance: A1 : 4 B1 : 1 2 A2 : 3 B2 : 2 3 And then I want to have (only) the B bars to be stacked. For the data above the graph should look…
Eduardo Bezerra
  • 1,923
  • 1
  • 17
  • 32
1
vote
1 answer

How to drilldown a stacked column highchart to show all stacks instead of clicked

I am trying to get my stacked column highchart display all stacks on drilldown . In my example below, when i click on a stack it only drills down to that stack level. I have tried this myself but i have been unable to get it to work. My expected…
1
vote
1 answer

Correct for missing values in a Stacked area plot using ggplot2

I've been trying to recreate this post on a combination of stacked bar/area plot. I have some problems with missing values though. Here's my data: https://www.dropbox.com/sh/pnkspwnn1qslm6u/JapTKCwqMS What I run is; …
jO.
  • 3,384
  • 7
  • 28
  • 38
1
vote
1 answer

JFreeChart: RangeAxis in percentage stacked bar chart is in [0,1] instead of [0,100]

In JFreeChart, I am using the setRenderAsPercentage(true) option for StackedBarRenderer . Although the plot itself looks fine (all bars span the whole plot), the range axis labels are not showing percent values (i.e. 0 to 100) but probabilities…
rainer198
  • 3,195
  • 2
  • 27
  • 42
1
vote
1 answer

In Jasper iReport 4.5.0, how do I get the Label Mask on a chart to save?

I'm using iReport 4.5.0, which is so far more pleasurable than CF's buggy report builder... the problem is that some elements that I can set in the designer using the Properties side bar don't appear to write any XML, and hence don't save. I'm using…
0
votes
0 answers

geom_bar multiple criteria to sort and color

I have a data.table that Im plotting with geom_bar. The data.table has multiple pieces of information (aa, codon, pos) by which the counts (value/contig) can be grouped. For now, Im plotting contig (y) at each pos (x) by aa_codon. rn aa codon pos…
0
votes
1 answer

D3 Stacked Bar Chart with 3 columns of data

I am trying to graph this set of data (showing a snippet of a larger set) link to photo of chart shown below month_started Member_casual count_of_rides 7 casual 435,289 8 casual 407,009 9 …
eleena
  • 1
  • 2
0
votes
1 answer

While plotting bar plot in python, how can I make it stacked for 2 columns and not stacked for one column in a pandas data frame of 3 columns?

I have a data frame with 4 columns in it. say column1, column2, column3, column4. column1 is total of column3 and column4. I want to plot a bar plot with column3 and column4 stacked, but column1 & column2 as single non stacked ones. how can I do…
RCN
  • 101
  • 10
0
votes
1 answer

Excel Bar Graph width

I've data ranges (not excel table, just data ranges) mapped from different links having keys on rows and monthly value on columns, Column M1 M2 M3 Key1 11 21 31 Key2 12 22 32 Key3 13 23 33 and I'm tryin to create a 100% stacked bar…
Makarand
  • 11
  • 6
0
votes
2 answers

How can I sort the stacked bar charts in Highcharts by the sum of positive response?

Can someone look at my bar chart and let me know how can I sort the stacks by the total positive response rate (sum of the top two green categories that are above 0%)? https://jsfiddle.net/samwhite/tqLya8h1/1/ let selection =…
Shaun
  • 461
  • 5
  • 13
0
votes
1 answer

Stacked Bar Graph with Multiple Columns of Integers in R

Looking for some help with what I am assuming is a very simple task. From my data below, I want to create a stacked bar graph, with the fill = colnames(df_Consumers)[2,4]. I'm trying to get the x-axis to be df_Consumers$Month, the y-axis as…
krish86
  • 37
  • 6
0
votes
3 answers

Stacked bar graph in R: re-ordering the data

I've produced a bar graph, however I want the data to be switched. I want the blue area (the live cells) on the bottom and the dead cells on the top. I tried reorder, reordering it by making it a factor but it all didn't work. Who can help me? Code…
Kim
  • 1
  • 1
0
votes
0 answers

How to create a distribution Bar Plot in Python

I have a pandas dataframe that looks like this: Player_id Draft_Year Rnd Pick Tm ... Vert Leap (in) Broad Jump (in) Shuttle 3Cone 60Yd Shuttle 0 2015Jameis Winston 2015 1 1 TAM ... 28.5 103.0 …
Jswojcik
  • 19
  • 4
1 2 3
8 9