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.
任何人都有如何将背景设置为在 Rgraph 中显示为渐变的示例?像这样的东西:
http://support.softwarefx.com/JavaAPI/CfxJava65_api/SoftwareFX/ChartFX/images/GradientBackgroundObject.png
谢谢
今天在 RGraph 论坛上回答了这个问题:
[以前只有一个链接,但这里有一些示例代码]
new RGraph.Bar({ id: 'cvs', data: [6,8,6], options: { colors: ['#888'], backgroundColor: 'Gradient(white:purple)', backgroundGrid: false, marginInner: 80 } }).draw();