Image url visibility not changing with Switch

I am making the transition to OpenHab2 and I have found a small issue with my rrd4j chart.

I am using some rrd4j charts to plot some weather data over time (temp, pressure, humidity, etc). I have a switch that I use to switch between plot time periods (hour, day, week, etc). This functions by changing the visibility of the images. This was functional on OpenHab1, but on OpenHab2 the visibility does not change until I refresh my Web browser. I know the image URL is updating and that my persistance is functional because I can see new data pop up in the chart. Any ideas?

Here is the relevant section of my sitemap:

Text item=Weather_Pressure {
Frame {
Switch item=Weather_Pressure_Chart_Period label=“Period” mappings=[0=“Hour”, 1=“Day”, 2=“Week”]
Image url=“http://localhost:8080/rrdchart.png?items=Weather_Pressure&period=h” refresh=6000 visibility=[Weather_Pressure_Chart_Period==0, Weather_Pressure_Chart_Period==“Uninitialized”]
Image url=“http://localhost:8080/rrdchart.png?items=Weather_Pressure&period=D” refresh=30000 visibility=[Weather_Pressure_Chart_Period==1]
Image url=“http://localhost:8080/rrdchart.png?items=Weather_Pressure&period=W” refresh=30000 visibility=[Weather_Pressure_Chart_Period==2]
}
}

You are using basic UI I assume? There is a refresh problem with this UI.
No problem of refresh with classic UI or HABroid.

You are correct. Just tested with classic and it works just as before. Thanks!

Refresh problems are a major issue with Basic UI and it is apparently not so easy to fix…

Since I’m still seeing this behavior, I assume it’s still an issue?

The classic UI works, but doesn’t show sliders :-/

Is there any way just to issue a javascript refresh/reload of the page?

Thanks!

Ron

Hi - just wondering if there’s a plan to fix refresh with basicui?

IMHO that is already done, at least if you are using a snapshot version. I’m on #644

I may have confused two separate issues. I have image widgets not refreshing in basic UI (whether on Safari or Chrome). They refresh just fine in classic UI. This is on the latest snapshot

Dan