latest codes for chartview