Hi, 

I'm writing XML for an AnyChart component and I am having troubles setting the 
value of a node attribute to a dynamic element, i.e. 

// The method accepts a DTO
private function createSemiCircularGaugeXML( gauge:GaugeDTO ):XML

// I can write it here
<text>{gauge.label}</text>

// But not here as an attribute
<scale minimum="{gauge.min}" maximum="{gauge.max}" major_interval="10"/>

What's the proper syntax for adding dynamic data as an attribute? Am I doing 
this wrong? Is there some proprietary way of doing it for AnyChart? I couldn't 
figure it out from their documentation.

Any tips would be very helpful. 

Thanks,

Matt

Reply via email to