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

Plot area in rcharts NVD3 lineChart

I want to plot the distribution of different populations with rCharts' NVD3 lineChart plot using the area=true option like in http://nvd3.org/examples/line.html. Here what I am working…
Jon Nagra
  • 1,538
  • 1
  • 16
  • 36
10
votes
2 answers

Highcharts - fire legendItemClick event

I want to fire the same event that it's fired when you select an item legend but from an external html button. Is it possible? I've created a jsfiddle to show it: http://jsfiddle.net/YcJF8/1/ . $('#container').highcharts({ …
A.Vila
  • 1,456
  • 4
  • 21
  • 32
9
votes
3 answers

Google Line Chart: drag to adjust value

I've recently dropped use of Graphael and and extensions package Ico. I think it's still a great library, it just needs better documentation and a proper API before it can be widely adopted. I've converted the areas with charting to use Google…
9
votes
1 answer

How to create a line chart using Matplotlib

I am trying to create a line chart for a sample data shown in screenshot. I googled quite a bit and looked at some links below and tried to use matplotlib, but I could not get the desired output as shown in the linegraph (screenshot) below, can…
Ritz
  • 1,193
  • 6
  • 15
  • 26
9
votes
0 answers

angular-nvd3 how to show data values for line chart

I want to create a LINE chart using angular-nvd3, with each data point has label on top and displaying the data value. I was able to find the option "showValues" and it can work for the discreteBarChart, but that options doesn't seem to work for…
WABBIT0111
  • 2,233
  • 2
  • 18
  • 30
9
votes
4 answers

How do I remove the dots in LineChartView iOS charts

I'm learning ios-charts. I was using the tutorial found here. The first picture shows the result I am getting. How do you remove the blue circle dots so that it only shows a smooth line like what is shown in the second picture? Here is snippet of…
lil9porkchop
  • 231
  • 2
  • 6
9
votes
4 answers

JavaFX Chart Axis only shows last label

I have the following problem when using any JavaFX Chart: I dynamically add data to the chart and only the last X-Axis label shows up. I already noticed that the chart is displayed fine when animations are disabled. XYChart.Series
Heisenbug
  • 154
  • 2
  • 14
9
votes
2 answers

D3 linechart string domain x-axis

I'm relatively new to D3, and I can't figure out why something isn't working. I want to draw a line-chart with d3, and this works fine, but I have problems with the axes. With the following code it goes wrong somewhere and I don't see how to…
Vincent Hogendoorn
  • 700
  • 1
  • 7
  • 23
9
votes
1 answer

D3js - Creating and easily updating a multi-line chart

I've created a little test line chart using D3, but since I am quite new to the library I am not sure what the best way would be to add multiple lines to a chart, at the moment I only have one line displayed in this fiddle. I would like to display…
Odyss3us
  • 6,457
  • 18
  • 74
  • 112
8
votes
1 answer

How to change the color of Chart.js points depending on the label

I have a line Chart.js chart where the labels are the days of week. I would like to change the point background depending on what day it is (Monday - Sunday). I am able to change the background color depending on the data values but that's not what…
Liga
  • 3,291
  • 5
  • 34
  • 59
8
votes
3 answers

Google Charts API Smooth Line Chart

Does anyone know how to create a line chart with a smooth line instead of a jagged line? I think my chart would present much better to end users with a smooth line. Here's an example…
fishbone
  • 83
  • 1
  • 3
8
votes
2 answers

Android - Fill the color between two lines using MPAndroidChart

I am using setFillFormatter, but it's not helping me and, setfillColor() crosses the second line(black) as there is no way to stop the first line(Yellow) at Y values of the second line. I want to implement something like…
Amit
  • 3,422
  • 3
  • 28
  • 39
8
votes
1 answer

c# how to draw line chart

I am trying to create line chart to display the data. Currently I have the code to display bar chart. Here it is using System.Windows.Forms.DataVisualization.Charting; private void CreateChart() { var series = new Series("Finance"); //…
Harshit
  • 5,147
  • 9
  • 46
  • 93
8
votes
1 answer

How to display value of only one datapoint in line chart

By default while displaying line chart in chart.js. The tooltip shows values for all datasets present. How to display value of only one dataset point when we hover mouse over that dataset point instead of all dataset points
ssvas
  • 91
  • 3
8
votes
2 answers

NVD3 Line Chart X Axis Ticks Are Missing

I am using NVD3 to display line chart here: http://jsbin.com/xodaxafiti/2/edit?js,output But it seems like NVD3 auto-hide some tickLabels on XAxis, but only those ticks near the edge, i.e. 2-3Oct and 27-28Oct (except the first and last tick). I know…
yonasstephen
  • 2,645
  • 4
  • 23
  • 48