You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/10/28 03:08:41 UTC

[GitHub] [incubator-superset] junlincc commented on issue #11088: Wrong scale in dual axis line chart?

junlincc commented on issue #11088:
URL: https://github.com/apache/incubator-superset/issues/11088#issuecomment-717666688


   @lke27 if you take a closer look at your first graph where both lines perfectly aligned, there are actually two sets of gridlines. 
   
   <img width="824" alt="Screen Shot 2020-10-27 at 7 55 23 PM" src="https://user-images.githubusercontent.com/67837651/97385190-6db60480-188e-11eb-96d5-c811ea84a9f3.png">
   
   @betodealmeida had a PR couple years ago to align gridlines in multi-lines chart to create better visual. in order to do so, y axis got stretched or compressed. in your second graph, y(price) is higher the y(index) on the left side of the graph, they overlap in the middle, and y(index) is higher than y(price) on the right side. 
   <img width="768" alt="Screen Shot 2020-10-27 at 7 59 15 PM" src="https://user-images.githubusercontent.com/67837651/97385455-ef0d9700-188e-11eb-8b5f-daf672e40e22.png">
   
   in theory, a rebased number y2 axis should overlap with y1 axis, but that will compromise either the perfectly aligned grid, or a set of nice/rounded index number. See below. 
   
   <img width="513" alt="Screen Shot 2020-10-27 at 7 45 55 PM" src="https://user-images.githubusercontent.com/67837651/97385657-59bed280-188f-11eb-9b6a-54f99c0c9977.png">
   
   We certainly can provide a solution to give user the option to create the first chart in above screen shot where two lines are overlap with messy index, if that's helpful. 
   
   
   @mistercrunch 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org