d3.js - ClojureScript NVD3 full-height shaded intervals -


my graphs indicate "no data" calculating holes in datasets, generating new fake dataset ranges nil max(all-y-values), making full-height background. make "area" dataset , apply svg pattern make this:

calculated shaded intervals

the problem arises when y-axis scale greater data, in other words when max(all-y-values) doesn't coincide top of graph.

i need make these shaded background intervals always full height of graph, , i'm willing rethink whole process of adding them.

my recent attempts have been trying follow "filling area above line" example described in d3 tips , tricks nvd3 documentation , various other resources, haven't seen working.

this "filling area above line" example link:

"filling area above line" d3 tips , tricks

any solution must either use clojurescript , om or @ least directly compatible them, since have proof of concept in above links , looking more.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -