Added code for Chapter 4 - Creating custom cartesian chart