plotly / angular-plotly.js

MIT License
231 stars 78 forks source link

multiple Y-axis position. #179

Open Hamza23579 opened 2 years ago

Hamza23579 commented 2 years ago

Hi, I was trying to plot a multiple y-axis graph in my angular 12 project, and I got the result in the picture: image

the layout object was like this: image

the position of the seasonal Y-axis was inside the plot, and when I tried to change the value of the position to -0.15, it went to same place as the residual Y-axis.

Is there an error in the object that I constructed or is it some other problem ?

andrefarzat commented 2 years ago

@Hamza23579 I am not sure if this is an issue within angular-plotly.js or plotly.js itself. Have you tried it direct in the plotly and it worked?

Hamza23579 commented 2 years ago

No I didn't, I just saw the examples like this one: image Link [https://codepen.io/plotly/pen/OVqZEO] I can't test it direct in plotly cause I am getting my data from the Api to the client side.

mohitchauhan4u commented 1 year ago

Create test data then test it.

No I didn't, I just saw the examples like this one: image Link [https://codepen.io/plotly/pen/OVqZEO] I can't test it direct in plotly cause I am getting my data from the Api to the client side.