fixed input param in chart gen