Hello,
I am seeking help regarding a consistent technical issue with Pie Charts in Google Sheets when using Apps Script.
The Problem: When I try to programmatically update a Pie Chart, some visual elements update correctly (like the Chart Title and Donut Hole size), but other elements remain unchanged in the UI.
Specifically, the following options do not render visually:
Distance from center (offset): The slice does not move/explode from the center.
Slice Color: The specific color applied to a slice is ignored, and it keeps the default theme color.
Observations:
This is not a script error, as other properties (like the title) change successfully during the same execution.
Manual adjustments through the Chart Editor work perfectly, which suggests the issue is related to how the API handles the "slices" configuration object.
I have tried refreshing the page and clearing the cache, but the visual state of the slices remains stuck.
Has anyone encountered this behavior where only specific chart properties fail to sync with the UI? Is there a known workaround for forcing the chart to redraw these specific slice attributes?
Thank you for your time and assistance.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/Lp_hFrAQ06w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/CACrgDdpjPggc8KwrQ2eH9ZfPToXVPMYjnQmzuSf%2Bs_W4uc_gtA%40mail.gmail.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/Lp_hFrAQ06w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
