Draw histogram by polygon