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.

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 Not able to create a Pareto Chart. I have tried to create this by using a line chart stacked on top of a bar chart but I don’t see a way to move the Y axis labels to the right side of the line chart to create a makeshift combination chart.

Expected behavior Ability to create a Pareto chart or other combination charts. I’m not sure if it is best to create a stand alone Pareto chart component or stack a line chart on top of a bar chart and have an Input to move the Y axis to right side of the chart. I lean towards the Input method to allow flexibility for creating other types of combination charts but there are some UX considerations like tooltips on hover and perhaps scaling issues that might be problematic. Any suggestions?

Example: pareto-chart

What is the motivation / use case for changing the behavior? Ability to add a Pareto chart or other combination charts.

Please tell us about your environment: Mac OS 10.12.2, using https://github.com/Teradata/covalent

  • ngx-charts version: 5.0.0

  • Angular version: 4.0.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
JoshSchoencommented, Jun 5, 2017

@marjan-georgiev Great! I am committed to help with testing and upgrading any components as well so please reach out when that comes up. I see using this libraries for a lot of different projects. Knowing we are able extend the features in this way is awesome and I plan to help build that out where possible!

I will add the PR in the next few days after I refactor some code to fit this demo scenario.

Appreciate your time and all the work you have done.

1reaction
marjan-georgievcommented, Jun 5, 2017

Absolutely, please make any changes to the standard components you think are necessary to accomplish this.

To answer your questions:

  1. We will be making sure that all demos are updated as we make changes to the framework. As for custom charts built in other applications, ngx-charts follows semantic versioning, so any breaking change that we introduce will be released in a major version of the library.
  2. We don’t have many unit tests at the moment, but we do manually go through all charts in the demo page to make sure nothing is broken before we release.

Thanks, and looking forward to the PR!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Pareto Chart? Analysis & Diagram - ASQ
A Pareto chart is a bar graph. The lengths of the bars represent frequency or cost (time or money), and are arranged with...
Read more >
Pareto chart - Wikipedia
A Pareto chart is a type of chart that contains both bars and a line graph, where individual values are represented in descending...
Read more >
Pareto Chart | Introduction to Statistics - JMP
Pareto charts help people decide which problems to solve first. They are useful for identifying the most frequent outcome of a categorical variable....
Read more >
What Is A Pareto Chart? Definition & Examples - Tulip.co
A Pareto Chart is a graph that indicates the frequency of defects, as well as their cumulative impact. Pareto Charts are useful to...
Read more >
Create a Pareto chart - Microsoft Support
Pareto charts highlight the biggest factors in a data set, and are considered one of the seven basic tools of quality control as...
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