charts
charts copied to clipboard
DataSeries could have constructor with list of pojos and two methods that provide data
Originally by @mstahv
DataSeries could have constructor with list of pojos and two methods that provide data. This would make it pretty neat to pass a list of entities from backend and two lambda expressions to instantiate a DataSeries for a chart.
Imported from https://dev.vaadin.com/ issue #14892
Originally by @mstahv
Attachment added: EntitySeries.java
(1.3 KiB)
A prototype implementation for the enhancement idea