两行之间的填充区域 - Chart.js v2
我正在尝试使用
已经有了答案here,它解释了如何扩展 chartjs 来做到这一点.但我知道这个功能现在是 V2 中的原生功能(来自 github 上的这个线程问题页面),问题是我找不到与此相关的文档.
There is already an answer here, that explains how to extend chartjs to do this. But I know this feature is now native in V2 (from this thread on the github issues page), the problem is I just can't find documentation referring to this.
文档中有关于此的部分吗?有人知道如何使用此功能吗?
Is there a section about this in the doc? Anyone know how to use this feature?
谢谢!
推荐答案
这是一个小插件,可以在任意两个数据集行之间进行着色.
Here is a small plugin that can do shading between any two dataset lines.
https://stackoverflow.com/a/41733045/852977
相关文章