selecting right part of bar chart make the user defined background color change