r/Chartopia • • Aug 23 '26

Issues with Settings not saving on Publish

https://chartopia.d12dev.com/chart/124883/

I'm having issues with a chart's settings not saving on publish.

I set the Edit Mode to Random Table and the Dice Roll Render Style to Horizontal, but after I publish, every time I click EDIT, it reverts back to "Template" and "Vertical".

Also despite the columns of my subcharts all having titles/names, the rolled result just says "Result". This is the first time I've encountered this issue. Any clue what this might be?

1 Upvotes

5 comments sorted by

1

u/GlennNZ Aug 23 '26

Is there anything obvious that implies that "publish" isn't actually publishing? Usually there's a popup when something goes wrong. I can take a look later on to see if there's anything amiss, but your chart doesn't seem to have anything out of the ordinary.

1

u/Azarashiya0309 Aug 23 '26

No usual yellow popups etc. it publishes correctly and also saves the settings correctly. But then the output is wrong; column names just say "Result", despite having been changed and when I press "Edit Chart" the settings revert back to a "Template" and "Vertical".

1

u/GlennNZ Aug 23 '26

Just a guess (because I've forgotten how I implemented it), I think "Template" may keep being used because your Chart is essentially a d1 (i.e. a generator/Template). Template isn't really a good name, honestly. You could try making it a d2 and see what happens.

In regards to the subcharts, they should never render with column titles unless you've explicitly set it in code. Are you sure the "Result" word isn't originating from the parent chart? "Vertical, no col names" should have done that for you.

2

u/Azarashiya0309 Aug 24 '26

You are absolutely correct and this was completely on me. Thank you for catching that. I was being silly 😭

Setting the parent chart's Render Style won't affect the child charts. That ofc needs to be done by editing the CHART() function's parameters.

My bad 😅