fixed quality chart and seperated quality chart legend from each chart