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
6
votes
2 answers

Android AChartEngine - Unable to change textColor of Y-Axis Labels

While using AChartEngine (JAR 1.0.0) for Android, I see a method that allows me to change the color of text for X-Axis (mRenderer.setXLabelsColor(Color.BLACK)) Unfortunately I am unable to find a corresponding method for the Y-Axis labels! Also is…
Ahmed Faisal
  • 4,397
  • 12
  • 45
  • 74
5
votes
1 answer

Fail to Render Line Chart in EXTJS 4 if Using Ext.data.Store with Proxy

I have problem rendering Line Chart in EXTJS 4. I have Viewport that contain accordion Layout. In that layout, I create very simple Chart. Here is my code: var chartBox = Ext.create('Ext.chart.Chart', { width: 500, height: 300, style:…
impropositum
  • 141
  • 2
  • 8
5
votes
1 answer

javafx line chart spread out categories along gridlines

I have built a Line Chart using SceneBuilder. I seem to have little control over the axes values. The x-axis is the one giving me the most trouble. I am adding the series data in lines like this, within a loop: openSeries.getData().add(new…
Eddie T
  • 101
  • 5
5
votes
1 answer

How to create empty label by using “Charts”?

Following is using “Charts” for swift 4.0 to show line chart. But the last label will not show normally , and i want to add empty label x-axis to fix this issue. I try to add " " to chartView.xAxis.valueFormatter, but it doesn't add an…
Peggy
  • 372
  • 1
  • 6
  • 27
5
votes
2 answers

How to adding multiple lines to Line Chart by using "Charts" for swift 4.0?

I would like to use cocoapods "Charts", and want to have multiple lines in LinChart for swift, But I can not find out solution for swift 4.0. I try to use this website to show, but it wont't show anything following is my code: let dollars1 = [10.0,…
Peggy
  • 372
  • 1
  • 6
  • 27
5
votes
2 answers

Chart.js - displaying multiple line charts using multiple labels

I need to draw a chart with 2 lines using Chart.js. Each of this line has a different label set. i.e. Chart 1: 1 -> 2 2 -> 4 3 -> 8 4 -> 16 Chart 2: 1 -> 3 3 -> 4 4 -> 6 6 -> 9 This following sample obviously does not work as it…
Mike Nathas
  • 1,247
  • 2
  • 11
  • 29
5
votes
2 answers

How do I get my area filled beneath my d3 line chart to be a gradient?

I'm using d3 v4. I would like to create a line chart where the area beneath the graph is an area filled by a gradient going from dark at the top to light at the bottom. I thought this was the way to configure such a gradient …
Dave
  • 15,639
  • 133
  • 442
  • 830
5
votes
1 answer

Arrange path order of line plot in >4.x Plotly

I need to plot a path that does not strictly go from left to right but cross' itself on the y-axis, however since I upgraded to plotly 4.7 I cannot not do this. It was no problem in fx. 3.6 Does anyone know, how to tell plotly how to order the…
mtcarsalot
  • 301
  • 2
  • 8
5
votes
2 answers

Highlight Line Series on legend hover

Really liking chart.js, but I am struggling to create custom events (not overly experienced so still learning) I am trying to highlight a complete line, or bar series when the legend tooltip is hovered, essentially show all elements in a dataset to…
MarkJWiggins
  • 209
  • 2
  • 4
  • 9
5
votes
1 answer

Google Visualisation Line Chart - Multiple Lines

I have a line chart, h-axis is date, v-axis is double. I need to display two lines: lineA: [ [2016-1-1 00:00, 1.1] [2016-2-1 00:00, 1.1] [2016-3-1 00:00, 1.1] ] lineB: [ [2016-1-1 00:00, 2.1] [2016-2-1 08:00, 2.1] [2016-3-1…
Giannis
  • 5,286
  • 15
  • 58
  • 113
5
votes
1 answer

Creating a categorical line chart in D3.js (V4)

I'm relatively new to D3.js and I'm visualising the 'PassengersIn' & 'PassengersOut' values from my busdatasimple.json file. For reference, one of the JSON objects looks like this; { "BusNo": "1", "Date": "21 November 2016", "Time":…
TomPlum
  • 135
  • 1
  • 14
5
votes
1 answer

MPAndroidChart: LineChart with cubic bezier displays wrong (spikes and loops)

I am trying to make a LineChart with a cubic plot. The result is like in the screenshot below: the cubic bezier displays wrong and has "spikes". Can someone help me make it appear correctly? This is my config : LineDataSet lineDataSet = new…
Malcom
  • 283
  • 3
  • 11
5
votes
1 answer

How to create this chart with ZingChart

I am trying to create a chart that looks/functions like this with ZingChart. I have tweaked a bar chart every way I can think of but I'm still not coming close. Is this chart possible with ZingChart?
Shayna Symons
  • 451
  • 3
  • 7
5
votes
1 answer

Google Line Chart: Change color when line down

https://developers.google.com/chart/interactive/docs/gallery/linechart Hello, guys, I would like to know that is there a way to change the color of the line when it is moving down. I have googled but I was not able to find anything. like e.g the…
Gardezi
  • 2,692
  • 2
  • 32
  • 62
5
votes
5 answers

MP Android Chart-How to fix the number of X-Axis values in the Line Chart?

private void plotchart(String s[], float[] f1) { chart.setBackgroundColor(Color.rgb(63, 81, 181)); chart.setDescription(""); // enable touch gestures chart.setTouchEnabled(true); chart.setScaleEnabled(false); …
Samarth Kejriwal
  • 63
  • 1
  • 2
  • 7