fix (graphs.graph) fixes bug with showLegend config option