Hello,
I get data from reading an URL so I save them (prepared) to a Arraylist (type PieSegment). How can I add the PieSegments from the Arraylist with (for example a loop) to my Piechart?
BR and thank you very much.
Marco
- Marco Dotzler asked 4 years ago
- You must login to post comments
Hi Marco,
This can be done using next code:
final PieRenderableSeries pieSeries = sciChartBuilder.newPieSeries().build();
final ArrayList<PieSegment> pieSegments = ...;
pieSeries.getSegmentsCollection().addAll(pieSegments);
Best regards,
Yura
- Yura Khariton answered 4 years ago
- You must login to post comments
Please login first to submit.