Updated bar method
Added plot type line