I have following code for generating dynamic windrose in highchart:
the second and third <td>
only accepts numbers and my var=val is an array of numbers. But I need to show "N", "S", "E", "W" in first <td>
. How can I generate an array so that my ui:repeat display "N", "S", "E", "W" in first <td>
and their corresponding values in second and third <td>
. My second and third <td>
showing correct value using ui:repeat. I just need to show to string in first <td>
.
Any suggestions please.
<ui:repeat value="#{cc.attrs.wind_rose_data_table}" var="val" varStatus="status">
<tr>
<td class="dir">"N"</td>
<td class="data">#{val[0]}</td>
<td class="data">#{val[1]}</td>
</tr>
</ui:repeat>