fix(graphs.graph) Fixed legend bug
fix(graphs.graph) Fixed bug in component function