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).
Questions tagged [linegraph]
558 questions
-1
votes
2 answers
Firestore Document values in Android Line Graph
I have a collection named PuckData where I store some int values(temperature, light) and timestamp. I would like to display those values in line graphs with Android Graph Library(jjoe64). The first graph will be temperature(yAxis)-timestamp(xAxis)…

diamond
- 13
- 1
- 6
-1
votes
1 answer
d3.v4.js Line graph zoom - lines get out of the graph + I want xAxis to change respectively
I have a multiline graph. The zooming is working fine except that when I zoom in, the lines get out of the graph and I want to fix that. Also, I don't know why the dates on my xAxis stay static and doesn't change respectively when I zoom in.
My code…

user9026955
- 35
- 8
-1
votes
2 answers
Add legend to ggplot2 graph when different x and y values are used for each line
My question is very similar to Add legend to ggplot2 line plot except I have the situation where I have multiple colours - 1 for each condition, but they aren't plotted to a common x-axis value. Instead, I have 2 x-axis values and the one used…

Bob
- 295
- 2
- 4
- 14
-1
votes
1 answer
How to break graphview datapoint to get value of Y axis only?
I want to break the dataPoint to get only values of Y axis.
right now the result i get when my code runs is :
Diastolic Reading: [25.0/89.0] mmHg
however i want to display it as:
Diastolic Reading: 89.0 mmHg
series_D.setOnDataPointTapListener(new…

Pohur
- 5
- 1
- 7
-1
votes
1 answer
I am not able to get all X and Y axis points in nvd3 graph. Am I missing out any options?
as graph shown in image I am not able to get all the X and Y intersection points on axis. As well as I want to highlight intersection points with dark circle. Help will be appreciated
code to fill the chart is:
options :
chart: {
type:…

Vaibhav Agrawal
- 29
- 1
- 10
-1
votes
1 answer
Excel Charts: Is it possible to add specific text to the bars on a chart?
I have the following chart:
Which shows the daily purchases of each day in August 2015 against the daily purchases of each day in August 2015 in the bars, the lines show the total purchases in August 2014 for each day (i.e. on the 2nd day it'll add…

Ben Smith
- 809
- 5
- 21
- 46
-1
votes
1 answer
How to plot several line plots in one
I would like to plot my figure using R (ggplot2). I'd like to have a line graph like image 2.
here…

user1677032
- 31
- 6
-1
votes
1 answer
How to plot a curved line in MATLAB using a set of points
I'm trying to draw ROC curves using an existing set of values using the following command
plot(X1,Y1,'--rs',X2,Y2,'-*g');
Where X1,Y1,X2 and Y2 are matrices that have the same size
However, the lines produced by this command are straight ones.
How…

Abdulaziz Aldyaf
- 19
- 1
- 2
-1
votes
2 answers
How to show the graph with high data in a given space?
I am using Line Graph of Core Plot in my project. The thing is when I kept the data of my X-axis and Y-axis like: 1,2,3....10, everything worked fine. But now the data is like: X-axis: 0, 150, 500.... and on Y-axis: 0,1000,2000 and so on.
So now my…

user3153627
- 1,385
- 1
- 8
- 11
-2
votes
1 answer
Create multiple line for line graph in R
I try to create a multiple-line graph to compare three different countries. Here is my data list.
library(tidyverse)
tabl3 = tribble(
~timeperiod, ~China, ~USA, ~Vietnam,
"Q1_2020", 59683.16, 16027.11, 42.46,
"Q2_2020", 85788.56, …

Chang Dang
- 1
- 3
-2
votes
2 answers
Im trying to create a line graph in R using ggplot
I am new to R and programming in general, I have a data frame similar to this but with a lot more rows:
yes_no <- c('Yes','No','No','Yes','Yes','No','No','No','Yes','Yes','No','Yes','No','Yes','No','Yes','No','Yes','No','Yes')
age <-…

Kishan
- 3
- 1
-2
votes
1 answer
Can't make a Line Graph with ggplot2 with missing values
I wanted to make a line graph but it doesn't seem to work this way. Just want a continuous line graph with this data that has missing values in the column "total_index", but i can't get it to work. If anybody has done it before give me a light…

luka1156
- 181
- 1
- 8
-2
votes
2 answers
No legend in ggplot line graph
I am trying to generate a legend for a line graph I have created using ggplot. From what I have been reading, the legend should be made automatically given I have changed the aesthetics of the graph and included the linetype within the aes function…

Courtney
- 147
- 1
- 1
- 5
-2
votes
3 answers
How do I change a bar graph to a line graph in python?
I'm really new to python but I made a program which produced data I want on a line graph. I know how to use bar graphs, but I haven't found any method (I can understand or can use without throwing an error) to make a line graph.
Here is an example…

Evan Kilroy
- 1
- 1
- 4
-2
votes
2 answers
How to read .txt file with x and y values and convert it into an array?
I need to convert a .txt file into arrays and will then plot it in a graph.
My problem is this:
I have a text file containing x,y values:
23, 92
26, 16
45, 14
32, 11
43, 17
46, 58
image here for x and y values
and so on.....(so many values)
and i…

Johanna
- 7
- 7