add errorbar support