Value Quality indication in charts

it would be nice to have in charts something (example: darker plot segment or using a different color) to make the user know if a segment of the line (or the bar) has a not expected quality.
quality could be passed to each value of the dataset using a specific column.