title: Forge Autodesk_Error_Customtooltip
body: <p>Does anyone know how to fix the error. My goal is to put some graphs in a customtooltip.</p>
  <p>I have taken the variables from the example on the web. I don't know what is causing me to not be able to see the customtooltip.</p>
  <p>Thank you</p>
  <pre class="lang-js prettyprint-override"><code>const dataVizExtn = await viewer.loadExtension(&quot;Autodesk.DataVisualization&quot;);
  const DataVizCore = Autodesk.DataVisualization.Core;
  const DataVizUI = Autodesk.DataVisualization.UI;
  
  function onSpriteHovering(event) {
      const targetDbId = event.dbId;
      var id = targetDbId;
      var xcoord = 262.76056690205695;
      var ycoord = 357.1343908626808;
  
      var hoveredDeviceInfo = {
          id,
          xcoord,
          ycoord
      }
  
      var currentDeviceData = {
          &quot;Device-01&quot;: {
              &quot;CO₂&quot;: &quot;495.71 ppm&quot;,
              &quot;Humidity&quot;: &quot;34.33 %RH&quot;,
              &quot;Temperature&quot;: &quot;21.18 Celsius&quot;
          }
      };
  
      var chartData = {
          &quot;Device-01&quot;: {
              name: &quot;&quot;,
              properties: {
                  &quot;CO₂&quot;: {
                      dataUnit: &quot;ppm&quot;,
                      seriesData: [{
                              value: [1612396800000, 492.55117490452676],
                              label: {}
                          },
                          {
                              value: [1612400400000, 494.27072441289187],
                              label: {}
                          }
                      ],
                      yAxis: {
                          dataMin: 450,
                          dataMax: 680
                      }
                  },
                  &quot;Humidity&quot;: {
                      dataUnit: &quot;%RH&quot;,
                      seriesData: [{
                          value: [1612396800000, 34.58961659380417],
                          label: {}
                      }],
                      yAxis: {
                          dataMin: 25,
                          dataMax: 50
                      }
                  },
              }
          }
      };
  
      const bocadilloemergente = new DataVizUI.CustomToolTip(hoveredDeviceInfo, chartData, currentDeviceData);
  }
  
  </code></pre>
  <p>Error in the console:
  <a href="https://i.stack.imgur.com/zui9q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zui9q.png" alt="enter image description here" /></a></p>