added Dual Chart code