Questions tagged [linechart]

A line chart or line graph is a type of chart, which displays information as a series of data points connected by straight line segments.

A line chart or line graph is a type of chart, which displays information as a series of data points connected by straight line segments. It is a basic type of chart common in many fields. It is an extension of a scatter graph, and is created by connecting a series of points that represent individual measurements with line segments.

2022 questions
5
votes
2 answers

matplotlib: How to combine multiple bars with lines

I have a very simple grouped-bar chart with 5 groups of 4 bars each. I used the example from the matplotlib documentation, which goes like this: import numpy as np import matplotlib.pyplot as plt ind = np.arange(5) avg_bar1 =…
matthaeus
  • 797
  • 2
  • 7
  • 17
5
votes
0 answers

Google charts legend pagiantion in material

I am looking to get legend pagination on the new google chars API. I saw it was possible before but not finding any documentation for it now. If it's not possible anymore, how can I get my linechart legends to expand the charts div? I set the div as…
LearningJrDev
  • 911
  • 2
  • 8
  • 27
5
votes
1 answer

JavaFX Chart axis label formatting

I wrote a simple program to monitor my ping. I'm currently using NumberAxis with auto ranging, and after each ping, I add the new data at the end, remove the first one and increment totalCount variable for X axis position. I would like the X axis…
Asalas77
  • 612
  • 4
  • 15
  • 26
5
votes
1 answer

Set Range for axis with google image charts

I am trying to change the range of graph using chxr. My code is
Penny
  • 824
  • 1
  • 14
  • 31
5
votes
2 answers

MPAndroidChart: LineChart fill does not stop at XAxis

I am using MPAndroidChart. When I use the LineChart setDrawFilled() method to fill in the space between the line and the x-axis, and manually adjust the range to be bigger than the default, the filled in portion will go past the x-axis as seen in…
gonfy
  • 444
  • 6
  • 16
5
votes
1 answer

telerik line chart only showing one month

I have a telerik line chart that works perfectly with any other data, however, when I send the following it only charts october. cant' figure out why... create line chart $("#leftLine").kendoChart({ dataSource: { data:…
user1813251
  • 329
  • 3
  • 18
5
votes
1 answer

Add timestamp format to line graph x-axes

I am newbie to d3.js, as well as to c3.js. I want dynamic timestamp in c3.js as shown in this d3.js example. It should change time format according to the range of time. I am following c3js.org's time series example. But not able to get dynamic…
S S
  • 920
  • 1
  • 17
  • 34
5
votes
2 answers

nvd3.js - unable to change color of line in line chart

I am trying to change the colors of different lines of the nvd3 line chart here but am unable to understand how to do so. I would like to change the colors of the 2 lines in the example to green and cyan. I tried nv.addGraph(function() { var…
Dinesh
  • 2,194
  • 3
  • 30
  • 52
5
votes
1 answer

Staggered transition in multi line graph

I'm new here and to d3.js/JavaScript in general. I would like to add a transition to a multi line graph so that each line (and associated label) is 'drawn' one after the other. I've managed to get this to work for the first line (and to a lesser…
user3194692
  • 105
  • 1
  • 1
  • 4
5
votes
6 answers

JavaFX LineChart / AreaChart wrong sorted values on x-axis (CategoryAxis)

When trying to build an application which contains an updateable LineChart or AreaChart I recognized strange behaviour - probably due to an error in application logic? The goal is to fill data into or update a chart when a button "Generate" is…
user2858153
  • 51
  • 1
  • 4
5
votes
1 answer

Avoid null in dataset for line chart

I'm trying to plot a LineChart using DefaultCategoryDataset and the problem I'm facing is, when I try to plot a null value in between two values either the connection between the two points is lost (i.e the line connecting the two points doesnot…
arshithp
  • 111
  • 1
  • 8
5
votes
1 answer

Google Line Chart: Different colors for specific ranges

https://developers.google.com/chart/interactive/docs/gallery/linechart?hl=ja#Configuration_Options How can I specify different colors for a single line dependent on the particular range? For example, one line should be blue from 0 to 10 and red from…
Ben
  • 1,550
  • 1
  • 16
  • 24
5
votes
2 answers

gradient color for Line Chart inside AchartEngine

I am Using AchartEngine to Draw a Line Chart. What I have Done: I want to Make The LineGraph with Using Achart Engine. But with Different Color Gradient enabled like we do in Barchart. I have Make the Line chart with No Worries. I know Gradient is…
Bhavesh Patadiya
  • 25,740
  • 15
  • 81
  • 107
5
votes
1 answer

JavaScript dynamic Line Charts with many points (~500,000)

I am surveying JavaScript charting solutions for building interactive dashboards. The dashboard is going to have 15 charts, each with 6 lines, and each line has ~5000 points (15 * 6 * 5000 = 450,000). And a new point will be appended (and an old…
anglee
  • 51
  • 2
5
votes
2 answers

JavaFx 2.x: BarChart with both axes as numbers

1) I want a BarChart where both axes are numbers(), but it seems like this isn't supported and that you need to have a category and a number axis. Is there a way to override the BarChart class to get both axes as Number, Number? 2)…
famedoro
  • 1,223
  • 2
  • 17
  • 41