question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Line charts with uppper and lower boundaries

See original GitHub issue

I’m submitting a … (check one with “x”)

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here

Current behavior I’d like to contribute a pull request adding optional upper and lower boundaries to line charts.

Expected behavior Consider this chart showing the fuel consumption of my cars when driving at different speeds. The average fuel consumption doesn’t tell the whole story. It’s interesting to add the minimal and maximal fuel consumption because this shows the influence of traffic conditions. This type of use case is fairly common. image

I’ve implemented a proof of concept: https://github.com/stephanrauh/ExploringAngular/tree/master/charts/complexCharts/src/app/line-range-chart However, when submitting the pull request, I’d prefer to add this as an option extending the current line charts (as opposed to adding a new chart type).

Reproduction of the problem It’s a new feature.

What is the motivation / use case for changing the behavior? Optionally adding additional information to the line charts.

Please tell us about your environment: Not relevant - it’s a new feature.

  • ngx-charts version: x.x.x 3.0.3

  • Angular version: 2.x.x Not relevant - it’s a new feature.

  • Browser: [all] Not relevant - it’s a new feature.

  • Language: [all] Not relevant - it’s a new feature.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
marjan-georgievcommented, Jan 6, 2017

This is a great feature!

Your implementation also looks spot on. Please go ahead with the pull request.

We should also modify the tooltip (the one on individual circles) to show these min and max values.

0reactions
stephanrauhcommented, Jan 10, 2017

Now it looks even better 😃. I’m a bit unhappy with my implementation of the circle tooltips. I had to pass the min and max as separate parameters, which doesn’t match the style of the rest of the implementation. Maybe you need to have a look at this (circle-series-components.ts, getTooltipText(), line 144 and line 137/138).

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Complete Guide to Line Charts | Tutorial by Chartio
Line charts are a fundamental chart type generally used to show change in values across time. Learn how to best use this chart...
Read more >
Upper limit and lower limit in excel line charts
i am using a dynamic range in that chart(using offset function). i tried plotting the limits as a line chart but that doesnt...
Read more >
A DIFFERENT Excel Bar Chart with Upper and Lower Bounds ...
Get 1 Free Month of my Skillshare Online Courses :https://www.skillshare.com/r/user/mellontraining?gr_tch_ref=on&gr_trp=onIn this Excel ...
Read more >
Upper and Lower Control Limits in Excel
In this Excel tutorial you will teach yourself how to create a chart with upper and lower control limits.
Read more >
Display a line chart with a range | Software Development Notes
This code adds plot lines for upper, median and lower bounds. This displays each result in a separate color by default.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found