Struggling with persistence/empty chart in sitemap

Im trying to show charts in my sitemap …
I have the database connection working allright … I can see that data is stored in to my (mysql) database… But nothing shows up on the sitemap… just empty sheets…

Greatful for help!

My persistence file (mysql.persist)

Strategies {
        // if no strategy is specified for an item entry below, the default list will be used
        everyMinute     : "0 * * * * ?"
        every15Minutes : "0 */15 * * * ?"
        everyHour   : "0 0 * * * ?"
        everyDay    : "0 0 0 * * ?"
        default = everyChange
}

/*
 * Each line in this section defines for which item(s) which strategy(ies) should be applied.
 * You can list single items, use "*" for all items or "groupitem*" for all members of a group
 * item (excl. the group item itself).
 */

Items {
    // persist all items once a day and on every change and restore them from the db at startup
 Temperature, Brandv1_temp, Brandv2_temp, Brandv3_temp   : strategy = every15Minutes, restoreOnStartup
    * : strategy = everyChange, everyDay, restoreOnStartup
}

And my sitemap code:

        }
Frame label="Temploggning"{
        Text label="Yttertemperatur" icon="temperature" {
        Switch item=Loggintervall label="Intervall" icon="clock" mappings=[0="Timma", 1="Dag", 2="Vecka"]
        Chart item=Temperature period=h refresh=300 visibility=[Loggintervall==0, Loggintervall=="Uninitialized"]
        Chart item=Temperature period=D refresh=300 visibility=[Loggintervall==1]
        Chart item=Temperature period=W refresh=300 visibility=[Loggintervall==2]
                }

For reference… I got it to work by just uninstalling the JDBC Mysql-bindning and than re-install it…strange… but now it works!

1 Like