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.

Possible to "flip" the Area/Line charts to show the lowest values on top?

See original GitHub issue

Hello,

is it possible to achieve something like this? (Note the higher the YAxis value is the lower the line goes).

screen shot 2017-03-02 at 17 32 23

I tried to play with YAxis domain and also AreaCharts baseValue but none of them did the trick.

Thanks.

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
ryanand26commented, Jan 26, 2018

I think it’s now possible to invert the axis using the ‘reversed’ prop.

4reactions
martin-svkcommented, Mar 3, 2017

If anyone has this need as well:

I needed to have this working now, so i did a simple trick with inverting my numeric Y value in dataset value * -1 and then used formatters to make it positive again when rendering in Y axis and tooltips, but it would be better if this had a native setting, because this just feels very hacky.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Sort Your Bar Charts - Depict Data Studio
Option B: Re-Sort the Bars within the Chart · Click on the category labels on the left. · Right-click and select the option...
Read more >
Change the plotting order of categories, values, or data series
In the Axis Options category, under Axis Options, select the Series in reverse order check box. Top of page. Change the plotting order...
Read more >
Rotate charts in Excel - spin bar, column, pie and line charts
This post describes how to rotate a chart in Excel. You'll learn different ways to spin bar, column, pie and line charts including...
Read more >
Using line charts - Amazon QuickSight - AWS Documentation
Line charts show the individual values of a set of measures or dimensions against the range displayed by the Y axis. Area line...
Read more >
Create visualizations with Lens | Kibana Guide [8.5] - Elastic
Create area, line, and bar charts with layers to display multiple indices and ... and count(shift="1w") - count(shift="1m") , with the Top values...
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