plotly / angular-plotly.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BarOption is too big

Hamza23579 opened this issue · comments

Hi,
I implemented plotly Js on my Angular 12 project, the plots are working fine, but the barButtons where we can choose either to zoom or move etc.. was displayed too big compared to the demos I saw.

Is there a parameter that I am missing ? I looked in the source code for the parameter and found just parameters to add, to remove or customize the bar buttons
Screenshot (4)
.

Hello @Hamza23579. This is a really weird thing to happen. Maybe is a css conflict?
Do you mind checking if the icon css class or any other class inside the graph is impacted by the page's css ?

yes indeed, it was css conflict between our classes.
we must not use a global class with the name of icon.
I think there should be a list of reserved class names so no one can make the same error (with this class or with other classes) .
image