create _tableToArray function
integrate column and pie charts
generate charts based on table's chart attribute
Update generate chart error