Creating a d3 style chained function

前端 未结 0 922
孤独总比滥情好
孤独总比滥情好 2021-01-17 02:06

I get how to do chained functions like a = x().y().z(), but I was looking to make something like d3 shape functions with 2 sets of parens at the end. ex: d = d3.line().curv

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