first display chart fn