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
31
votes
3 answers

Implementing Target lines, in SSRS column Charts

I have a column graph, that shows a trend of consumption over time, The y-axis being consumption and x-axis being time in month, I have to implement a target consumption. I implemented a target, by adding data field with a Line chart type, this is…
Brian Paul
  • 651
  • 2
  • 12
  • 21
29
votes
6 answers

Drawing a simple line graph in Java

In my program I want to draw a simple score line graph. I have a text file and on each line is an integer score, which I read in and want to pass as argument to my graph class. I'm having some trouble implementing the graph class and all the…
user1058210
  • 1,639
  • 7
  • 29
  • 49
24
votes
3 answers

Plot multiple lines in one graph

Trying to use ggplot to plot multiple lines into one graph, but not sure how to do so with my dataset. Not sure whether I need to change the datastructure or not (transpose?) Data looks like this: Company 2011 2013 Company1 300 350 Company2 …
Chrisvdberge
  • 1,824
  • 6
  • 24
  • 46
21
votes
4 answers

How to display highchart series line marker symbol from tooltip formatter?

By default highcharts display the line marker symbol in the tooltip. $(function () { $('#container').highcharts({ xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] …
Sas
  • 271
  • 1
  • 3
  • 5
19
votes
1 answer

matplotlib plot set x_ticks

How would I set the x_axis labels at the indices 1,2,3....n to be something different. lam_beta = [(lam1,beta1),(lam1,beta2),(lam1,beta3),....(lam_n,beta_n)] chunks = [chunk1,chunk2,...chunk_n] ht_values_per_chunk =…
anonuser0428
  • 11,789
  • 22
  • 63
  • 86
17
votes
5 answers

Change Line Colour with Plotly Express

I have a plotly express figure: fig = px.line(data, x="DateTime", y="Gold", title="Gold Prices") I want to change some details, like so fig.update_layout( line_color="#0000ff", # ValueError: Invalid property specified for object of type…
Robin Andrews
  • 3,514
  • 11
  • 43
  • 111
17
votes
1 answer

D3.JS time-series line chart with real-time data, panning and zooming

FIDDLE <<<< this has more up to date code than in the question. I am trying to create a real-time (live-updating) time-series chart in d3, that can also be panned (in X) and zoomed. Ideally the functionality that I want is if the the right-most…
rex
  • 3,133
  • 6
  • 35
  • 62
15
votes
1 answer

Representing "No value" in array in Google visualization

For the below array i get a smooth curve. data.addColumn('string', 'x'); data.addColumn('number', 'Cats'); data.addColumn('number', 'Blanket 1'); data.addColumn('number', 'Blanket 2'); data.addRow(["A", 1, 1, 0.5]); …
Gokul N K
  • 2,428
  • 2
  • 32
  • 40
14
votes
4 answers

Line graphs on iOS

Anyone know how to create line graphs on iOS without using Core-Plot but using inbuilt frameworks? Desperately searching for an answer.
Joel Joseph
  • 192
  • 1
  • 1
  • 9
14
votes
5 answers

Ignore cells on Excel line graph

I am trying to draw a line graph in Excel 2010. The y column data source has some gaps in it and I want these to be ignored for the graph. Seems to default these to zero. I know the "Hidden and Empty Cell Settings" exists, but this is only giving…
t0mmyw
  • 737
  • 3
  • 10
  • 22
12
votes
1 answer

MPAndroidChart define exact/fixed interval between values on x-axis (time)

I'm using in the app MPAndroidChart library and I have line graph like this now: On X axis I have seconds and I want to have the same interval between values on X axis. Now I have 19:03 and 19:20 but I want 19:05, 19:10, 19:15 (so have 300 seconds…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
12
votes
2 answers

How to show the marker points in line graph using c#

I am using Line graph in my application and is working fine. I tried to draw the marker points in line graph,but the marker points are not displaying. In line chart marker properties, I have chosen markerSize as 5,markerStyle as Circle,MarkerColor…
sowjanya attaluri
  • 903
  • 2
  • 9
  • 27
11
votes
1 answer

Overlapping axis labels in R

I have an issue where I have overlapping axis labels and can't seem to get a solution to fix this. p <-…
coder_007
  • 187
  • 1
  • 2
  • 9
10
votes
7 answers

How to create a dynamic line graph like Google Finance has?

I'm looking to create a dynamic zoomable line graph for a web page I'm doing. I was told to "make it like Google's one" (though by a sales guy who in turn is parroting the client, so he's aiming high. They'll all come right back down to earth once I…
DaveDev
  • 41,155
  • 72
  • 223
  • 385
10
votes
1 answer

Creating a 1D heat map from a line graph

Is it possible to create a 1D heat map from data in a line graph? i.e. I'd like the highest values in y to represent the warmer colours in a heat map. I've attached an example image of the heat map I'd like it to look like as well as data I…
bs10reh
  • 135
  • 1
  • 1
  • 4
1
2 3
37 38