How to tell graph what persistence to use?

I’m using Openhab 2 and have jdbc persistence set up for all temperature items every 5 minutes and mapdb for all items for everychange, everyday and restorestartup.

My temperatures are correctly registered in the database, I can see the values being stored every 5 minutes.

However when I want to chart a graph with http://IPADDRESS:8080/chart?groups=gTemperature it shows me 1 value per temp item, not a graph. So it looks like the graph is taking the mapdb persistence for making the graph.

How can I make a graph based on the jdbc persistence data? Can I pass that in the url ?

my persistence files look like:
Mapdb
Strategies {
// for charts, we need a cron strategy
everyMinute : "0 * * * * ?"
everyFiveMinutes : "0 0/5 * * * ?"
everyDay : “0 0 0 * * ?”
}

Items {
* : strategy = everyChange, everyDay, restoreOnStartup
}

For JDBC:
Strategies {
// for charts, we need a cron strategy
everyMinute : "0 * * * * ?"
everyFiveMinutes : "0 0/5 * * * ?"
everyDay : “0 0 0 * * ?”
}

Items {
// * : strategy = everyChange, everyDay, restoreOnStartup
gTemperature* : strategy = everyFiveMinutes

}

I did try making jdbc my default persistence through paper UI but that didn’t help.