charts functional