You might consider writing your own factory function for obtaining
scales (and use it consistently). Create a scale as usual, and attach
appropriate additional behaviors/state (such as a function) per
instance. That seems most practical, seeing this as a wrapping
problem instead of trying to globally modify a base that does not
exist.
Sean
> --
> You received this message because you are subscribed to the Google Groups
> "d3-js" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
d3-js+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.