I am trying to create a chart with secondary axis and having trouble doing so. I can’t find a direct reference in documentation apart from this:
I have found similar question with a solution on how we can create the chart with secondary axis:
The above example works but the secondary axis are off and graph doesn’t look correct:
In this image above, there are 2 graphs. One created by Plotly & Other created in Excel.
You can see how line graph is ploted nicely compared to Plotly graph.
I think this is because of the way the secondary Y axis are being calculated as highlighted.
I have tried playing around with tick0=0, dtick=0.25 as per this doc:
This also doesn’t work because it only affects both left Y axis as I want something dynamic like in excel.
Have anyone have this issue and found a solution for this?
I appreciate your help.