Questions tagged [combinedchart]

13 questions
3
votes
1 answer

Android MP Chart highlightValue not working, throws ArrayIndexOutOfBoundsException

I'm playing around with Android MP Chart lib to draw awesome charts. I'm trying to highlight values on my chart, but it does not puts the highlight to the right place, or throws ArrayIndexOutOfBoundsException. I've made a little dummy project for…
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
2
votes
3 answers

How to use Chart.js to draw mixed Financial / Candlestick and Bar Chart?

I'm trying to make a a combination of a candlestick chart (representing stock data) and a bar chart (representing volume). I already have them displayed on one chart but the display and layout I'm having trouble with. For one, the candlestick and…
1
vote
0 answers

Python Matplotlib, zorder not working in combined chart

I have read a lot of articles here regarding this problem. However, none of the solutions helped me with my problem. So please allow me to reopen this problem. I am trying to display a line chart and a bar chart in one graph. See the image here.…
Petr_k
  • 13
  • 3
1
vote
2 answers

How to have charts of the same type (ie LineChart) on the same axis using Daniel Gindi's chart library?

I have a graph that will display multiple line charts and scatter charts on the same axis. They will all have identical x-axis. I cannot seem to have multiple lineCharts be inside the same axis. I have tried implementing CombinedChartView. I have…
danaq
  • 117
  • 11
1
vote
1 answer

ggplot2 to plot mean and sd of a variable side by side

I am trying to create a plot of the mean and sd (side by side) of a variable for two different groups in R to get something like this. where blue bars are means and orange bars are SDs. I use the ggplot2 package in R for this. If I use these codes…
1
vote
1 answer

Android Studio combined chart crashes

I'm having an error and app crash, when pressed on chart. With single LineChart or BarChart I can press on the view or zoom. With implementation com.github.PhilJay:MPAndroidChart:v3.0.2 Log: 12-12 22:01:50.108 3804-3804/com.example.jer.chart8…
jer
  • 323
  • 3
  • 5
1
vote
2 answers

Trying to combine multiple datasets into one bar graph in R

I'm trying to create a bar graph that has the same variables on the x-axis except separated by year. I want to show an increase/decrease over time but I'm not sure how to insert each dataset into the graph and have the years labelled. Each dataset…
Jess
  • 11
  • 1
  • 3
1
vote
1 answer

excel bubble chart and line chart combined

I have a table below I want to draw line chart to show the variation of price over date and also a bubble chart to show the volume of transactions on each date.The size of the bubble depends on the volume. The position of a bubble depends on the…
Gab是好人
  • 1,976
  • 1
  • 25
  • 39
0
votes
1 answer

How to manually add a boxplot in a pre-existing ggplot2 line plot

I create a line plot with ggplot with the following data and code: dat<-read.table(text= "2019 2641.621 2613.385 2020 2633.569 2605.428 2021 2656.257 2627.863 2022 …
e.moran
  • 49
  • 6
0
votes
1 answer

How do I Bind geom_line to Grouped geom_bar

I am stuck implementing the idea to combine the barplot containing fact, target and prognosis values with a line representing a fitted model based on fact and leading to prognosis values. I am trying the…
asd-tm
  • 3,381
  • 2
  • 24
  • 41
0
votes
1 answer

Jfreechart-fx: How to size subplots in a combined domain plot

I'm trying to implement a "subplot height resize button" for a combined domain plot in a char panel. So I have a controller like this one: package org.my.jfxtestplots; import java.io.IOException; import java.time.Instant; import…
Andrea
  • 13
  • 3
0
votes
1 answer

How to display 2 sets of stacked data in one barplot

So i'm creating an MI pack and i wanted to include a barplot that displays when something was submitted and who was at fault for lateness. I have 5 columns of data which can be split into two sections: Section 1 (submission time) = Pre 7am, 7am-9am,…
0
votes
1 answer

Combined-Chart (bar- and linechart) + xAxis.setValueFormatter

I'm having a hard time figuring out how to set specific values to the X-AXIS. For Example, I would like the X-axis to display DAY 0, DAY 1, …,DAY N. But clearly I am not understanding setValueFormatter, I read your documentation and I'm still having…
Ants
  • 390
  • 1
  • 3
  • 18