Function EpcGraphUrl

Outputs the URL for the EPC graph

EpcGraphUrl([ENERGY_EFFICIENCY_CURRENT],[ENERGY_EFFICIENCY_POTENTIAL],[ENVIRONMENTAL_IMPACT_CURRENT],[ENVIRONMENTAL_IMPACT_POTENTIAL],[MARKET])

Parameters

# Type Passing Default Name Description/Comments
1 integer required 0 ENERGY_EFFICIENCY_CURRENT The energy efficiency rating
2 integer required 0 ENERGY_EFFICIENCY_POTENTIAL The energy efficiency potential rating
3 integer required 0 ENVIRONMENTAL_IMPACT_CURRENT The environmental impact rating
4 integer required 0 ENERGY_EFFICIENCY_POTENTIAL The environmental impact potential rating
5 integer optional 1 MARKET The market: 1 = Residential, 2 = Commercial

Returns

The EPC graph url


Examples

Example of outputting the EPC graph URL for a property

{{EpcGraphUrl(ALIAS.EERCURR,ALIAS.EERPOT,ALIAS.EIRCUR,ALIAS.EIRCUR,ALIAS.MARKET)}}

Example of outputting the EPC graph html image for a property

<img src="{{EpcGraphUrl(ALIAS.EERCURR,ALIAS.EERPOT,ALIAS.EIRCUR,ALIAS.EIRCUR,ALIAS.MARKET)}}" width="200">