Added check for zero ViewBox width when calculating automatic downsampling ratio. (Prevents zero-division when downsampling is set before Plot is properly created and drawn within a container).
Merge pull request #58 from JNevrly/plotdataitem_downsampling_fix

PlotDataItem downsampling calculation fix