The development team has not been able to reproduce this issue and has not received any additional user reports.
解决办法
Save the project. The issue does not occur when running the script after the initial run.
In the Contents pane, right-click the layer that is missing a chart. Select New Chart and both the missing chart and the new chart are displayed in the Contents pane.