Code for customized bar chart refactored.
Customized scatter plot implemented.
Code for drawing texts refactored.