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.

Bar Chart y1 and y2

See original GitHub issue

I am trying to build a bar chart having some data, but i want for every bar to provide its starting Y1 and its finishing Y2, is there a way to do such as the following :

datasets: [
  {
    label: 'My First dataset',
    backgroundColor: 'rgba(255,99,132,0.2)',
    borderColor: 'rgba(255,99,132,1)',
    borderWidth: 1,
    hoverBackgroundColor: 'rgba(255,99,132,0.4)',
    hoverBorderColor: 'rgba(255,99,132,1)',
   data: [{'Y1':65,'Y2':45},
             {'Y1':60,'Y2':41},
             {'Y1':80,'Y2':25},
             {'Y1':55,'Y2':30},
             {'Y1':75,'Y2':41},
             {'Y1':66,'Y2':25},
             {'Y1':55,'Y2':22}
  }
]
};

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:24 (16 by maintainers)

github_iconTop GitHub Comments

3reactions
benmccanncommented, May 13, 2019

That PR is quite close to being merged. I’d imagine it will be part of the next release (2.9.0). I don’t have an estimated date for when that might happen

2reactions
simonbrunelcommented, May 21, 2019

@bobalazek @marcuswindecker @hoangngk and everyone on this thread: #6056 has just been merged. Feel free to checkout master, build and test that new feature. Any feedback / bug reports will be really appreciated before we release it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding the Dual Y Axis in Charts - Oracle Help Center
screenshot showing chart with y2 axis displayed below and to the right of the y1 axis. Change Chart Type to Bar, and then...
Read more >
d3.js, grouped bar chart with two Y axes, series related to Y1 ...
I want each of the series to be relative to its own Y axis (primary or secondary) based on the information passed from...
Read more >
Tip : How to remove Y1 and Y2 axis labels on dual ...
In this tip, you would learn how to remove these values. While exploring this example, I've revisited-how to setup conditional colors to the...
Read more >
Bar Charts
Multiple Variable Bar Chart; Interactive Bar Chart; Full Manual; More ... specify a rectangle requires two corners of the rectangle, <x1,y1> and <x2,y2>...
Read more >
plotyy with bars side by side - MATLAB Answers - MathWorks
I would like to plot "y1" and "y2" as bars side-by-side against the common data set "x" on the x-axis. The left hand...
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