i am working on a application, wherein it has a graph section. i need to show the images based on 1,0,-1. i have to bind the images respectively based on the response. In demo i am not able to display the images even though i gave google links. Please help me to bind the values along with the images through response.
HTML:
<tbody>
<tr>
<td scope="row">PSF. $8.25</td>
<td><img class="graph-arrows" src="../../../assets/images/up-arrow.png"></td>
<td><img class="graph-arrows" src="../../../assets/images/double-arrow.png"></td>
<td><img class="graph-arrows" src="../../../assets/images/down-arrow.png"></td>
</tr>
<br>
</tbody>
Ts:
this.propertiesPerMonth = [{
"costPSF": { "market": 1, "region": 0, "national": -1 }
},
{
"variances": {
"expenses": [
{ "expense": "Janitorial", "market": 1, "region": 0, "national": -1 },
{ "expense": "Electricity", "market": 0, "region": 0, "national": -1 },
{ "expense": "HVAC", "market": -1, "region": -1, "national": 1 },
]
}
}
]