By default, surnames are shown for everyone on the chart. You can control this in two ways:
In editing mode, right-click on a person (or open the menu on the toolbar above their entry) and tick Flip use of surname to hide their surname on this chart. Untick it to show the surname again.
On the Layout tab of the Chart Properties panel, uncheck Always include surnames. This hides most surnames — only people who have children retain theirs, as a visual anchor for family groups.

Note — When Always include surnames is off, Flip use of surname does the reverse — it forces a surname to be shown.