(Geloest) [FTUI3] popup

Begonnen von Wolfgang Hochweller, 22 Oktober 2021, 13:18:13

Vorheriges Thema - Nächstes Thema

Wolfgang Hochweller

Kann ich popup dazu ueberreden, die von mir gewuenschte Groesse anzuwenden ?


    <ftui-popup id="pop1" timeout="0">
        <header>Innen</header>
        <ftui-chart  y-label="Grad" y1-label="Prozent" width="500px" height="450px"
             y-min=-20 y-max=40 y1-min=0 y1-max=100>
            <ftui-chart-data  label="Temperatur" log="logdb" file="HISTORY" spec="Eingang:temperature" [update]="Eingang:state:time"
                type="line" unit="°C" color="red" y-axis-id="y0" point-radius=1 ></ftui-chart-data>
            <ftui-chart-data  label="Feuchte" log="logdb" file="HISTORY" spec="Eingang:humidity" [update]="Eingang:state:time"
                type="line" unit="%" color="blue" point-radius=1 y-axis-id="y1"></ftui-chart-data>
            <ftui-chart-controls units="day, week"></ftui-chart-controls>
        </ftui-chart>
     </ftui-popup>

mr_petz

Hi, so vielleicht?:


<ftui-popup id="pop1" timeout="0" width="500px" height="auto">
  <header>Innen</header>
  <ftui-chart  y-label="Grad" y1-label="Prozent" width="500px" height="450px"
       y-min=-20 y-max=40 y1-min=0 y1-max=100>
      <ftui-chart-data  label="Temperatur" log="logdb" file="HISTORY" spec="Eingang:temperature" [update]="Eingang:state:time"
          type="line" unit="°C" color="red" y-axis-id="y0" point-radius=1 ></ftui-chart-data>
      <ftui-chart-data  label="Feuchte" log="logdb" file="HISTORY" spec="Eingang:humidity" [update]="Eingang:state:time"
          type="line" unit="%" color="blue" point-radius=1 y-axis-id="y1"></ftui-chart-data>
      <ftui-chart-controls units="day, week"></ftui-chart-controls>
  </ftui-chart>
</ftui-popup>


LG

Wolfgang Hochweller


Sailor

Ein herzerfrischendes Moin vom achtern Diek vorweg.

Ich habe seit einem update vor Kurzem beobachtet, wenn man aus einem popup 1 heraus ein popup 2 öffnet, welches kleiner ist als popup 1, dann beziehen sich die Werte width und height fuer die Tabellen in popup 2 immer noch nach der Größe des popup 1.
Dies hat zur Folge, dass alles abgeschnitten wirkt.

Ist das ein Bug oder ein Feature?

Gruß
    Sailor

******************************
Man wird immer besser...