Why macd histogram is shown as line, not bar on pi chart?

MACD HISTOGRAM is showing in bar's only , check the below screenshot, 

Make sure you have added correctly.

You must be confused between MACD historgam and MACD but that’s ok