add some draw basic: legend, stacked bar, clustered bar, fix some small bugs and add ArrayUtilities file