Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 NVD3 历史柱上显示相应的值。我已经尝试过离散栏中的代码。但我无法显示这些值。
这是 DiscreteBar 的示例:
但我希望历史酒吧也一样
historicalBarChart没有showValues(true)方法(与其他一些 nvd3 图表类型不同)。所以,你必须自己实现它。这个答案显示了如何做到这一点。
historicalBarChart
showValues(true)