Questions tagged [linegraph]

A line graph is a type of chart which displays information as a series of data points called markers connected by straight line segments. It shows how something changes in value (as time goes by, or as something else happens).

558 questions
8
votes
1 answer

Plotting multiple columns in a pandas line graph

I am trying to plot a multiple columns in a line graph with 'Month' as the X axis and each 'Count' as a new line. I want it to have 5 lines, 'Count-18..Count-14'. I tried plotting 1 line as a test but when I run the following code I get the…
Jgallagher
  • 101
  • 1
  • 1
  • 5
8
votes
3 answers

How to not draw zero values on a linechart while showing their X axis values on MPAndroidChart?

I'm using MPAndroidChart to display my data in a line graph. For each date I have its own value. This works just fine. What I want to do now is to not draw the 0 values, but instead draw the line between 2 adjacent non-zero values (like a…
limlim
  • 3,115
  • 2
  • 34
  • 46
8
votes
12 answers

Graph rendering using 3D acceleration

We generate graphs for huge datasets. We are talking 4096 samples per second, and 10 minutes per graph. A simple calculation makes for 4096 * 60 * 10 = 2457600 samples per linegraph. Each sample is a double (8 bytes) precision FP. Furthermore, we…
user29688
  • 328
  • 2
  • 11
7
votes
1 answer

Amcharts SerialChart multiple line graphs different category value member paths (Silverlight)

EDIT I rewrote my question to make it more understandable after the conversation below with Tony (thanks!). GOAL Render multiple line graphs (let's say 2) in the same chart. The charts have different x/y value pairs. For one x-value, I do not know…
Wolfgang
  • 211
  • 1
  • 2
  • 10
6
votes
2 answers

creating a common legend for bar plot and line

I'm very new to R so I apologise in advance if this is a very basic question. I'm trying to plot a graph showing discharge and suspended sediment load (SSL). However, I want to make it clear that the bar plot represents discharge, and the line graph…
catlovingtaco
  • 123
  • 10
6
votes
2 answers

Cocoa: create graphs

Is there a framework out there that will allow me to create simple bar and line graphs?
Matt S.
  • 13,305
  • 15
  • 73
  • 129
5
votes
1 answer

How to hide legend selectively in a plotly line plot?

I'm struggling to hide the legend for some but not all of the lines in my line plot. Here is what the plot looks like now. Plot: Essentially I want to hide the legend for the light grey lines while keeping it in place for the coloured lines. Here's…
Ravi
  • 69
  • 1
  • 7
5
votes
1 answer

determine the coordinates where two pandas time series cross, and how many times the time series cross

If I were to graph two time series, let's say they both have an upward positive trend from left to right, is there anyway to use pandas to find where the two lines intersect and how often? For example: How often do the two time series intersect:…
yoshiserry
  • 20,175
  • 35
  • 77
  • 104
5
votes
2 answers

How to create line chart in iPhone application?

I am creating a budget application in iPhone, to budget for personal incomes and expenses. Client's need is I want to see line graph (like stock market line report). Red line for (monthly / weekly / daily) expenses Green line for (monthly /…
sagarkothari
  • 24,520
  • 50
  • 165
  • 235
4
votes
1 answer

Plotly: How to output multiple line charts in single figure?

I am trying to plot line chart using plotly for multiple dataframes in a single graph. My code is: import plotly.express as px labels=category_names[:10] for category in category_names[:10]: df_b=df1[df1['Country/Region']==category] …
Mansi Shukla
  • 377
  • 3
  • 23
4
votes
1 answer

Gradient effect for Line Graph in iPhone

I'm trying to generate a graph with gradient/shading effect. Now I'm able to draw line graph and applied gradient effect to that graph. It is applying to whole view not to the graph. Now I'm getting image like this. But I want like this. I want…
4
votes
2 answers

Program labels on line graph to avoid line ggplot2

I'm curious if there is a way to overlay labels on a line graph on ggplot2 to avoid going through the line. I've used vjust, which works in most instances, but when there is a large increase or decrease between two dates the line goes through the…
4
votes
1 answer

Amending colours of points and lines in ggplot R

Example code: library(ggplot) par(mfrow=c(1,1)) dates15=seq(as.POSIXct("2015-01-01 00:00:00"), as.POSIXct("2015-12-31 23:45:00"), by="15 min", tz="GMT") ex1=rnorm(35040, 150, 2) point=rep("Control", 35040) red=c(1000:2000, 4000:5000,…
sym246
  • 1,836
  • 3
  • 24
  • 50
4
votes
2 answers

Creating a Simple Line Graph in iPhone

I would like to create a simple Line Graph like the following, I googled to find out some sample and I got CorePlot which looks too heavy. Can anyone suggest me how to create a kind of line graph like below or tutorial is also most welcome. Please
Perseus
  • 1,546
  • 4
  • 30
  • 55
3
votes
0 answers

Android: How can i put an image as a point style in a line graph?

I am plotting line graph using achart in which I need to put an image instead of a point style. How can i do that? Please help me? protected void setRenderer(XYMultipleSeriesRenderer renderer, int[] colors, PointStyle[] styles) { …
sravanthi V
  • 136
  • 11
1
2
3
37 38