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.
我有 3 个按钮在同一个应用程序中显示 3 个不同的条形图。当我单击任何按钮时,它会显示与其他人显示的颜色相同的条形图。现在我想以 3 种不同的颜色显示这 3 个条形图。这怎么可能?任何帮助将不胜感激。
为此,您必须将每个条添加到单独的系列中。
使用该XYSeriesRenderer.setColor功能并将其设置为每个不同的颜色Barchart。
XYSeriesRenderer.setColor
Barchart