SetData problem

I'm trying to use the fitContrubutor and i god this error 

Could not find symbol 'setData'

i got this

on strings

<string id="estimatedPowerChart">EstimatedPowerChart</string>
<string id="estimatedPowerData">EstimatedPowerData</string>
<string id="estimatedPowerUnits"> </string>

on fitcontributor

<resources>
  <fitContributions>
    <fitField id="0"
        displayInChart="true"
        displayInActivityLaps="false"
        displayInActivitySummary="true"
        sortOrder="0"
        precision="0"
        chartTitle="@Strings.estimatedPowerChart"
        dataLabel="@Strings.estimatedPowerData"
        unitLabel="@Strings.estimatedPowerUnits"
        fillColor="#0fc491" />
  </fitContributions>
</resources>


On the view file:

using Toybox.FitContributor;
using Toybox.ActivityRecording;

var estimatedPower;
var session;

function setupField(session) {
  estimatedPower = session.createField("estimated_Power", 0, FitContributor.DATA_TYPE_FLOAT, {
      :mesgType=>FitContributor.MESG_TYPE_RECORD,
      :units=>"W"
  });
  estimatedPower.setData(0.0);
}

on compute:

estimatedPower = lastPower.toFloat();
estimatedPower.setData(lastPower.toNumber());
return estimatedPower;


what i'd doing wrong??

on manifest file i have only

user profile

fit contributor