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.
我想知道当线条高于/低于阈值时是否可以在 Flot 中更改线条的颜色。平滑的过渡/渐变会更好,但如果它必须是突然的,我想我可以忍受。
这是我希望图表看起来如何的快速n-dirty示例:
您无法获得平滑的过渡,但您可以使用阈值插件获得突然的过渡。