function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Angelo RendonAngelo Rendon 

Why are lightning chart axis displayed differently?

I have a dashboard with various reports shown as charts in lightning in two environments. One is my dev and another is a test environment. Now for some odd reason, the charts are displayed a little differently between the two environments even though the the settings look identical in classic.
The issue is that we have two variables on the Y-axis. In the one environment, the two variable are displayed as so:

User-added image

The two scales are even height but different values and on opposite sides. This is not what I want. In the other environment is looks as so:

User-added image

With both variables on one side, separated by a comma. In classic, the chart options are the same! One interesting thing is that for the chart that looks how i want (comma separated), i can click the edit button in lightning, but I cannot click that button for the other environment. Any help on this would be greatly appreciated!
Hi Angelo!

Same boat as you on this one. What I got back from Support was "In Classic, all groups of data share the same Y-axis, while in Lightning, 2 groups of data will have 2 separate Y-axis, one on the left hand side and the other one on the right hand side." 

If you know of any way to get around this, please let me know.

Garrett SteagallGarrett Steagall
Hey all,

Not the greatest workaround, but this worked for my purposes so I thought I'd share.

On the chart editor, you can check "Show Reference Line" and set the "Reference Line Value" to the highest value from the first axis. You can hide the reference line by making it white, as well.

Hope this helps someone else, but you can also upvote this idea:

- G
John BrodrickJohn Brodrick
This is not a good feature... I don't know why you would ever want two axes on the same report.  This is horribly confusing for my users.
Lexa KoenigLexa Koenig
Has anyone had any luck with a workaround for this issue? I also discovered the Reference Line workaround, but making a high reference line distorts the chart when there are numbers significantly below that reference line.