I am using the nocode chart builder. I would like to modify the fontSize or any other sub property
I know i can change title by sending
&title=new text in the url. But i’ve also tried sending something like
&data1Color=purple and these dont change the ‘sub properties’.
Changing the data array and chart title is easy enough. do we have access to the other properties when we’ve made the chart api template?
Currently this isn’t possible using the no-code template API. Replacing title and data are common operations, but we haven’t added query parameters for every sub-option.
If you want to heavily customize parts of your chart, it may be best to use the standard API instead of the no-code API. It will require you to edit a JSON config, though.
You can export your no-code chart to a Chart.js config by adding
?format=raw to your no-code endpoint.
Then, extract the “chart” value from the raw JSON:
This can be pasted directly into the chart sandbox to try out different customization options (you can use a formatter to make the JSON more readable).
When you generate the chart URL in your app, you can override data, title, colors, and any other option to look how you want.
Hope this helps, but also happy to help out with a specific example.
This makes sense. Thank you!
This is great
I tried the Chart Maker several months ago, but I ended up going back to the sandbox editor because I couldn’t see any obvious way to modify a template.
EXACTLY what i was looking for. thank you!
We’ve just added an “Export chart to full editor” button under the Advanced tab:
This should make things a bit easier!