The Data Source is the layer with the chart in the pop-up. If the chart is removed from the Pop-up, the Query Widget works.