Historical data for new Dashboard graphs

Hi,

is there any way to get the saved data (setCapabilityValue) directly from Homey for the widget used in the new Dashboard?

I would like to create some graphs and I would like to avoid saving data for them separately.

Thanks.