Fix Line Graph Legend Position (Close #100) #107
Loading…
Reference in New Issue
No description provided.
Delete Branch "b72zhou-line-graph-legend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix Line Graph Legend Positionto Fix Line Graph Legend Position (Close #100)I got rid of other unused variables/props in the component. I also modified the LineGraph legend so that it is only displayed centered at a fixed space from the graph because I found it more simple than having a left and top offset of the graph and legend. Let me know if that is good with you @b72zhou Otherwise, LGTM! 🚀
I just noticed a small thing.
@ -183,3 +129,1 @@
flexDirection: legendPosition === "right" ? "row" : "column-reverse",
}}
>
<div className={styles.container}>
What is
styles.container
for? Where is thecontainer
class?sry a class was there but deleted, got rid of it