Closed timhall closed 9 years ago
Allows top|bottom label position as well as "di" function for additional customization.
top|bottom
(a)|(b): a for y-value >= 0 and b otherwise, where a and b are top, right, bottom, or left
(a)|(b)
a
y-value >= 0
b
top
right
bottom
left
function(d, i) { return d.x >= 0 ? 'right' : 'left'; }
Allows
top|bottom
label position as well as "di" function for additional customization.(a)|(b)
:a
fory-value >= 0
andb
otherwise, wherea
andb
aretop
,right
,bottom
, orleft
function(d, i) { return d.x >= 0 ? 'right' : 'left'; }