How to SetBarWidth in TGraph?

TGraph can draw a bar chart but how to SetBarWidth in TGraph or TGraphError?

I suppose TGraphError will use the X error bar as the bar width but it does not.

Can you post a small macro showing what you are doing ?