# WidthInPixels Gets chart width in pixels. ``` int  WidthInPixels() const ``` Return Value Width in pixels of the chart assigned to the chart instance. If there is no chart assigned, it returns 0.