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
8
votes
1 answer

d3js line chart error - drawing weird area

I haven't been able to find someone with a similar problem, and no clues to solve my problem reading the docs and other problems so I hope that some one can help me here. This is my code (which is copied from the documentation example) var margin =…
miguelfg
  • 1,455
  • 2
  • 16
  • 21
8
votes
2 answers

how to disable the x axis and y axis line in google api line chart

im using google api for line graph in my web application. in that line chart i dont want x axis line and y axis line, but i cant to fine how to remove the lines except the graph. could you please help me. i used this example for my practice
Hariprasath
  • 828
  • 4
  • 15
  • 41
8
votes
3 answers

Google Charts - Curved Line Chart incorrectly dips below 0

I have a Google line chart, I set 'curveType': 'function' so the graph is curved and has a nice appearance. My problem is that when a data point has a value of 0, followed by a following high value, the chart dips below 0 so that the curve can fit…
SteveEdson
  • 2,485
  • 2
  • 28
  • 46
8
votes
1 answer

How to set labels for X and Y axis in dual line chart using aChartEngine in android?

Hi all I am very new to chart applications. I created dual line chart using aChartEngine for my android application. I cant set labels for y-axis in my chart. I got chart like this..... How can i do this can anybody help me? Thanks in advance.
malavika
  • 1,331
  • 4
  • 21
  • 54
7
votes
2 answers

Add labels x axis and y axis for streamlit line_chart

I would like to add labels for the x and y-axis for my simple line_chart in streamlit. The plotting command is st.line_chart(df[["capacity 1", "capacity 2"]]) which plots a line_chart with 2 lines (capacity 1 and capacity 2). Is there a simple…
user3550552
  • 167
  • 1
  • 13
7
votes
1 answer

How can I get a Google Visulization LineChart to display vertical gridlines?

I am using javascript to display a Google Visulization LineChart in my web application. How can I get it to display vertical gridlines? I've read about using chg to set them, but as far as I know that only applies when making the chart using the…
Anthony
  • 99
  • 6
7
votes
1 answer

MPAndroidChart - Linechart - shrink part of the graph with no X values

Is it possible to do something like this: ? I have in the app LineChart with the time values (seconds) on X axis and temperature on Y axis. And it's possible that I don't have a data for some bigger time interval (day and more for example) and it…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
7
votes
4 answers

How to align Chart.JS line chart labels to the center

I'm using Chart.JS 1.0.2 to create a line chart: What I'm trying to do is move the labels that are on the bottom of the chart the center of each rectangle (instead of being aligned with the vertical grid lines): There is no documentation about…
DMEM
  • 1,573
  • 8
  • 25
  • 43
7
votes
1 answer

How to solve draw gradient below line - PhilJay/MPAndroidChart/issues/104?

github link I would like a gradient and, if possible, choose components colors and orientation. is this issues solved?
Thamays
  • 2,978
  • 26
  • 31
7
votes
1 answer

Scrollable x-axis in Chart.js

I would like to use Chart.js library for drawing charts on my website, but I intend to feed the chart large amounts of data (>1000). However, when I feed the data to chart.js line chart, the chart is not made scrollable, but the values are pushed…
stepanbujnak
  • 651
  • 6
  • 16
7
votes
2 answers

Combined line & bar geoms: How to generate proper legend?

The legend for d2 looks fine; for d1, I would like to show just the hoizontal line against a white/transparent backgounnd. df = data.frame( Date = c("2012-11-30", "2012-12-03", "2012-12-04"), d1 = c(9, 5, 11), d2 = c(4, 6, 3) ) ggplot(df,…
u17
  • 2,776
  • 4
  • 31
  • 43
6
votes
1 answer

Plotly: How to change line style using px.line?

I have dataframe tha tlooks similar to this: >>>Hour Level value 0 7 H 1.435 1 7 M 3.124 2 7 L 5.578 3 8 H 0.435 4 8 M 2.124 5 8 L 4.578 I want to create line…
Reut
  • 1,555
  • 4
  • 23
  • 55
6
votes
1 answer

How can I get multiple charts(bar and line) with ng2-charts?

I have bar chart and I want to draw average line on this bar chart. My solution: In data sets, I add element with type as 'line': https://stackblitz.com/edit/ng2-charts-bar-template?file=src%2Fapp%2Fapp.component.ts public barChartLabels: Label[] =…
Minh Tien Tran
  • 1,038
  • 9
  • 11
6
votes
1 answer

Is possible to create horizontal scrolling line chart with a locked y axis on JAVAFX?

I'd like to create horizontal scrolling linechart with a locked y axis on JAVAFX. I have been searching an example or something similar but I did not find anything with JAVAFX. I try to put the linechart into a scrollpane but all is moving right and…
padro
  • 115
  • 1
  • 10
6
votes
1 answer

How to create multiple y-axis Line chart in danielgindi iOS chart?

I want to create a graph with multiple y-axis. Duel y-axis graph is possible in danielgindi chart but I want more the two y-axis graph. Like below image: let set1 = LineChartDataSet(values: yVals1, label: "DataSet 1") set1.axisDependency =…
Saurabh Jain
  • 1,688
  • 14
  • 28