merefield asked if it’s possible to retroactively change a poll to a pie chart format by modifying the inserted text. Falco provided a solution requiring the use of the rails console. To update a poll, run the following commands:
p = Poll.last
p.chart_type = 'pie'
p.save
merefield expanded on this solution, providing a way to quickly find the poll on the rails console if it’s located in the first post of a topic. The steps involve finding the topic and post IDs, then using those to locate the poll:
Fantastic to see pie charts! I guess it’s not possible to retro-actively change a Poll to pie chart format e.g. by sneakily inserting chartType=pie into the inserted text? (I couldn’t get it to respond to that change, even on Post Rebake). I was attempting to update some old Polls that would benefit from that presentation. Thanks!