title: How to get a variable in Thymeleaf when a map is already involved?
body: <p>In my project I have a SVG-graph (I hope that is the right word), in which I display data from a hash map. To make this more dynamic I need a single variable for my calculation.</p>
  <p>In this case I need help to to change the 2020 to a variable year which I set in the Java back end. But how it can get there?</p>
  <pre><code>&lt;circle th:each=&quot;einnahmenUmsatz : ${plotDatenEinnahmen}&quot; 
          th:cx=&quot;${100*einnahmenUmsatz.getKey().getMonthValue() + 1200*(einnahmenUmsatz.getKey().getYear()%2020)}&quot; 
          th:cy=&quot;${375-20*einnahmenUmsatz.getValue().getNumber().intValue()/1000}&quot; 
          th:data-value=&quot;${einnahmenUmsatz.getValue().getNumber().intValue()}&quot; r=&quot;4&quot;&gt;
      &lt;title th:text=&quot;${einnahmenUmsatz.getValue()}&quot;&gt;&lt;/title&gt;
  &lt;/circle&gt;
  </code></pre>