LineChart with time scale d3.time.format will resize fluidly with window. lineWithFocusChart never has errors on draw, but while resizing it throws many:
d3.js:8756 Error: Invalid value for <rect> attribute width="NaN"
Sometimes the error stops on mouseup, but many times it keeps throwing after resize is done, which amounts to a memory leak.
I am looking for a working example of this chart type showing date/time in responsive layout, or recommended method for handling time data with focus brush resizing.
Things I have tried:
using parseDate() on my data - no change
use different timescale - no change
set chart transition to 0 - no change
the dates are Javascript date objects - ie new Date() resizing using nvd3:
nv.utils.windowResize(function () {
chart.update();
});