line chart legend change