-
To be able to completly set my own css style to plots I asked myself if its possible to remove the plot auto-generated class. |
Beta Was this translation helpful? Give feedback.
Answered by
mbostock
Jan 29, 2022
Replies: 1 comment
-
I am not aware of a more simple way. Plot requires a className in order to apply its stylesheet. We do not support disabling this stylesheet, but we do allow you to set whatever className you want as the top-level option (as you noted). Lines 83 to 95 in 5ce6cc0 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not aware of a more simple way. Plot requires a className in order to apply its stylesheet. We do not support disabling this stylesheet, but we do allow you to set whatever className you want as the top-level option (as you noted).
plot/src/plot.js
Lines 83 to 95 in 5ce6cc0