title: Dynamic Tooltip Text amChart
body: <p>I have a Gantt chart made with amCharts and it works fine. 
  As showed below, I set the TooltipText from my ColumnSeries.</p>
  
  <pre><code>var series1 = chart.series.push(new am4charts.ColumnSeries());
  series1.columns.template.width = am4core.percent(80);
  series1.columns.template.tooltipText = "Load nº: {Load}\nStart: {openDateX}\nEnd: {dateX}\nType: {PartType}";
  </code></pre>
  
  <p>This part is OK. But now I need dynamically change the TooltipText according to an rule. I read on the documentation about the adapters and i wrote this code.</p>
  
  <pre><code>series1.columns.template.adapter.add('getTooltipText', function(text, target) {
      var data = target.tooltipDataItem.dataContext;
      if (data.Load != null )
         return "Load nº: {data.Load}\nStart: {data.openDateX}\nEnd: {data.dateX}\nType: {data.PartType}";
      else
          return "Start: {data.openDateX}\nEnd: {data.dateX}";
  });
  </code></pre>
  
  <p>But this code is not working. 
  The Tooltip doesn't appear anymore. What I'm doing wrong? Can anyone help me?</p>