D3 range returning half of graphHeight instead of 0 when all domain input values are 0

后端 未结 0 1672
半阙折子戏
半阙折子戏 2020-12-01 13:06

When domain values are different the code works fine.

But when all the domain values are 0, the bar height becomes 140 which is half the graphHeight instead o

相关标签:
回答
  • 消灭零回复
提交回复
热议问题