eigenhombre / i3d3

D3-based plotting and histogramming library
25 stars 5 forks source link

Histogram clipped earlier than axis after zoom #17

Open eigenhombre opened 10 years ago

eigenhombre commented 10 years ago

See also IceCube Mantis 6813.

From @sboeser:

In the attached screenshot, the right-most bin is not shown in full width. The histogram extends from 0 to 1. It is displayed correctly initially, but after zooming in, the right-most bin is clipped early (i.e. earlier than the y-axis).

Here is the histogram code:

i3d3.plot({data: [{type: "bars", bins: [1,2,3,4,3,2,1], range: [0,1]}, ], div: "plot1", size: [400, 200], })

screen shot 2013-12-19 at 11 59 35