Implemented update of chart titles on legend item change