charts: template fix empty handlers option