Home › Forums › Add-ons › Repeater Field › How to Create donut chart using repeater field data › Reply To: How to Create donut chart using repeater field data
I did my best using the code provide, it was a guess. I am just trying to show you how you would insert the field values into the data.
The content inside of data-bs-chart=""
is a JSON object. The JSON object can be constructed as a PHP array and then converted to a JSON object. This allows you to insert the values PHP array where they are needed.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.