My sitemap looks like that:
> Frame label="Outer Frame" visibility=[OuterSwitch==0, OuterSwitch=="NULL"]{
> Frame label="Inner Frame" visibility=[InnerSwitch==0, InnerSwitch=="NULL"] {
> Chart item=Value1a period=D refresh=300000 visibility=[PeriodSwitch==0, PeriodSwitch=="NULL"]
> Chart item=Value1a period=W refresh=600000 visibility=[PeriodSwitch==1]
> Chart item=Value1a period=M refresh=600000 visibility=[PeriodSwitch==2]
}
> Frame label="Inner Frame" visibility=[InnerSwitch==1] {
> Chart item=Value2a period=D refresh=300000 visibility=[PeriodSwitch==0, PeriodSwitch=="NULL"]
> Chart item=Value2a period=W refresh=600000 visibility=[PeriodSwitch==1]
> Chart item=Value2a period=M refresh=600000 visibility=[PeriodSwitch==2]
}
> Frame label="Inner Frame" visibility=[InnerSwitch==2] {
> Chart item=Value3a period=D refresh=300000 visibility=[PeriodSwitch==0, PeriodSwitch=="NULL"]
> Chart item=Value3a period=W refresh=600000 visibility=[PeriodSwitch==1]
> Chart item=Value3a period=M refresh=600000 visibility=[PeriodSwitch==2]
}
> }
> Frame label="Outer Frame" visibility=[OuterSwitch==1]{
> Frame label="Inner Frame" visibility=[InnerSwitch==0, InnerSwitch=="NULL"] {
> Chart item=Value1b period=D refresh=300000 visibility=[PeriodSwitch==0, PeriodSwitch=="NULL"]
> Chart item=Value1b period=W refresh=600000 visibility=[PeriodSwitch==1]
> Chart item=Value1b period=M refresh=600000 visibility=[PeriodSwitch==2]
}
> Frame label="Inner Frame" visibility=[InnerSwitch==1] {
> Chart item=Value2b period=D refresh=300000 visibility=[PeriodSwitch==0, PeriodSwitch=="NULL"]
> Chart item=Value2b period=W refresh=600000 visibility=[PeriodSwitch==1]
> Chart item=Value2b period=M refresh=600000 visibility=[PeriodSwitch==2]
}
> Frame label="Inner Frame" visibility=[InnerSwitch==2] {
> Chart item=Value3b period=D refresh=300000 visibility=[PeriodSwitch==0, PeriodSwitch=="NULL"]
> Chart item=Value3b period=W refresh=600000 visibility=[PeriodSwitch==1]
> Chart item=Value3b period=M refresh=600000 visibility=[PeriodSwitch==2]
}
> }
Iām using all tree visibility switches (which are also shown on the sitemap) to select which chart is displayed.
This setup works on ClassicUI and BasicUI, however on HABDroid only the labels āOuterFrameā and āInnerFrameā are displayed. Am I missing something?
BTW: If anaybodyhas a better setup with the same functionality, Iād be happy to get a hint.