added byTspan in _drawText candidate function, which uses d3textwrap and align middle vertically by setting text.y

This commit is contained in:
whyzdev
2016-12-07 07:48:47 -05:00
parent 4984f9e041
commit b96ae68aee
2 changed files with 56 additions and 16 deletions

View File

@@ -34,8 +34,8 @@ var conf = {
// width of activation box
activationWidth:10,
//text placement as: tspan | fo
textPlacement: 'fo',
//text placement as: tspan | fo | <else> only text as before
textPlacement: 'tspan',
};
exports.bounds = {