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).
linegraph
571
questions
0
votes
0
answers
37
views
Rearranging dataset for graphing two y variables in R [duplicate]
I am trying to rearrange a dataset to create a line graph with two y-variables that will use the same scale, meaning that there will only be one y-axis. One of my variables has significantly higher ...
0
votes
1
answer
66
views
Unable to format date axes on excel
I have various dates from 1995 to now in my excel database, I am trying to count no of entries for each date and plot the date(x-axis) vs count(y-axis) plot
So first I create a pivot on date column ...
2
votes
1
answer
64
views
How do I make the line start at the middle instead of the beginning of the column?
I'm creating a line chart using chartjs (v3) (and react-chartjs to integrate) and I'm having some bad times to customize the line to start at the middle of the first column (and also finishes at the ...
0
votes
2
answers
72
views
Treating Date and Time for a River Discharge Graph
I downloaded discharge data for a river from a government website, they had formatted the date and time data as so please see format.
This is my code
library(ggplot2)
ggplot(CHEM_RESULTS, aes(x= `...
0
votes
0
answers
68
views
Using viridis Colormap For Matplotlib Plot Lines [duplicate]
I want to use the viridis colormap, yet it keeps reporting "AttributeError: Line2D.set() got an unexpected keyword argument 'cmap'". Here is what I attempted to do:
import pandas as pd
...
1
vote
1
answer
34
views
Secondary y axis R ggplot2
I need a graph with a secondary y axis like this, but I'm having some issues:
I have tried a lot of changes in my code, but it seems like the axis scales are not working, and now this is what I got:
...
1
vote
0
answers
36
views
Is it possible to compare multiple line graphs to give a sort of ' similarity rating'
So I am trying to measure data from a smartphone ambient light sensor (ALS). My goal is to be able to be able to look at the data and be able to infer the location of the device.
To do this my plan is ...
1
vote
1
answer
323
views
Change the Chart Style for a Line Chart in Excel with Openpyxl
I have this following code to export a set of dataframes and then convert them to tables in excel and applying a color format, then it creates Line Graphs for every table, everything works but I'm ...
0
votes
1
answer
108
views
Using Vega to group lines based on nested objects in an array
I am trying to draw multiple lines in opensearch vega based on the nested object keys inside and array.
My response from opensearch looks like below:
My X axis is Date and I should have multiple Y ...
0
votes
1
answer
19
views
Stacked line graph while preserving the visualization of each (separate) line graph
I have the following data.table:
> df
# A tibble: 18 × 3
std near off
<dbl> <dbl> <dbl>
1 0.3 0.849 0.904
2 0.4 0.850 0.916
3 0.5 0.859 0.924
4 0.6 0.872 0....
0
votes
1
answer
54
views
How can I insert a line graph (ylim = 27. 30) into another diagram with 2 line graphs (ylim=0,120) without distortion?
I need to visualize data of different character (temperature, light intensity, rel. humidity) for a kind of climate diagram. My problem, I believe, lies within the different ylims, which prevent an ...
0
votes
1
answer
18
views
Cant View Overlapping Data Labels in Highcharts Line Graph
I am working with some code that generates barcharts in highcharts and am specifically trying to get all data labels to show up even when points in a series are close or overlapping (depending on the ...
0
votes
0
answers
61
views
Chart.js display data labels as integers on x axis
I am working on a chart which reads data from a .csv file and displays the emisivities of four surface types against wavelenghts between 3.660 and 14.559. Example of my source dataframe (in total 531 ...
0
votes
0
answers
29
views
How to plot a line graph with highlighted time periods on time series graph [duplicate]
I have two datasets, rainfall and datetimes (durations) for when an event had occurred, both measurements were taken in 2020.
I want to plot them both on the same graph, with rainfall as a line with a ...
0
votes
0
answers
17
views
Cumulative data in line chart - only 1 out of 2 is working but in the table if separated it will be working well
First, I will explain the full scenario of my graph;
I need to create 2 cumulative data from 2 different file (which is same format but different revision). 1 will be the 'based line' and the latest ...
0
votes
0
answers
20
views
Timeseries graph with dual Y axis with different scales
I have stumbled upon an error in my code that reads as follows: 'Error in scale_y_axis1(labels = scales::comma): could not find function "scale_y_axis1"'. Can you please help me figure out ...
0
votes
2
answers
378
views
In the MPAndroidChart, how do you set the labels on the x-axis (time) with a fixed interval?
I've been trying for a week different things I found on SO, including setting the granularity and the axis min and max values. Look at how neatly distributed the values on the y-axis are, the interval ...
0
votes
1
answer
30
views
Highcharts image export with HTML labels not working
JS Fiddle: https://jsfiddle.net/xtds1wLh/6/
This is just an example JS Fiddle
Here I have specified: useHTML: true in xAxis labels
and have also specified: allowHTML in exporting
Render looks good but ...
1
vote
0
answers
88
views
Adding significance values between groups on line plot in R (ggplot)
I've created a line plot that displays weight data over time in a diet study. I am trying to add significance values between each group at the end of the time period. My data is similar to the ...
0
votes
0
answers
29
views
I have to show 8 labels on x-axis from 10 or more data from response. I am using Line chart Chart.js
I am getting 10 data from response and need to place 8 x-axis labels. It is placing 5 labels only. I provided this on scales
x: {
border: {
color: "#655B96",
...
0
votes
0
answers
48
views
How can I fix my x-axis to show all the years that is within my dataset on my graph as well as take away the .0 .5 at the end of each year label?
I'm having issues on being able to show all the years on my graph that are represented in my dataset such as 2008,2009,2010,2011,2013,2014,2015,2016,and 2017.
It is only using the years 2010 2012 2015 ...
0
votes
1
answer
94
views
react-chartjs2: How to hide the labels (not legend that appears on top) that appears OVER the graph line (not the x / y axis) in a Line Graph? [duplicate]
How I want the graph to look:
How it currently looks:
Code for the component:
function LineGraph() {
ChartJS.register(
CategoryScale,
LinearScale,
PointElement,
LineElement,
...
0
votes
0
answers
95
views
How to implement a Dynamic Chart using MESA library?
I have been learning how to use MESA Agent Based Modelling library in python to help my PhD student supervisor. I am simulating the activity and bone formation phase of the bone remodelling process. I ...
0
votes
2
answers
2k
views
mui-x line chart unable to render a partial data series alongsdie a complete data series
I'm unable to render data from my stateFullTime array where the first two elements are null as I don't have data in those years. Ideally, I would want the state line series to begin at (x: 2011, y: 53....
0
votes
0
answers
54
views
Making a graph with ggplot2 out of an excel file with multiple groups
I want to make a line plot with ggplot2 from an excel file of 5 different groups, related to the beta methylation values compared to the probes.
i tried different scripts from other websites but i ...
0
votes
1
answer
155
views
How to show zero values for those with count in other months of line chart and don't show for those 0 at all months in power bi
As shown here in the image the categories that doesn't have value shows the category in the line chart where in it should only show those with values greater than 0, and show 0 values for categories ...
1
vote
3
answers
66
views
Not able to hide the (indicator) box which is next to the label in Line Graph
If there is no value in graph API response, then graph should not be plotted and also all the legends/label should be hidden
(Multiple y-axis)
When there is no value in y-axis, I am able to hide the ...
0
votes
1
answer
85
views
Creating a line graph for multiple variables
I am just wondering if someone can help.
I am working in R markdown and got the following set of data and same set every year for 5 years in the form of other sets of columns besides this set. ...
0
votes
0
answers
29
views
Line Thickness Detection using image processing techniques
I have a line graph image. I want to find the thickness of the line in the graph. What are possible options to find the thickness of the line in graph image?
solutions I thought of:
1)I thought of ...
0
votes
1
answer
223
views
How to add different colors setCircleColorHole in line graph of MPAndroidChart android?
There are method to add single circle hole color in the graph for all points.
setCircleHoleColor(Color.RED);
I am adding multiple circle colors using setCircleColors in LineDataSet like this :
...