Draw plot type line or bar