curran / d3-area-label

A library for placing labels in areas.
BSD 3-Clause "New" or "Revised" License
76 stars 4 forks source link

Specify extent #21

Open curran opened 7 years ago

curran commented 7 years ago

Sometimes we have an area that goes off screen to the left or right. We still want to be able to label these areas. What if we could pass in an extent within which areas can be placed? Currently we're using the extent of the X accessor. That could be the default behavior if no extent is specified.