I discovered this as well. We managed to get around it using data tags. Since you don't have any other code available, we will make some assumptions. Let's say you have a chart. It's id is configured as my_chart . I then created a panel such as this:
<panel><html><div id="my_chart_settings" style="display:none;" data-thisisacustomthingy="true" /> </html></panel>
This item will store the "custom" settings for that chart. Now, in your extension JS, you can reference the data tags.
_(mvc.Components.toJSON()).chain().filter(function(el){
var myId = $(el).attr("id"),
custom_settings = $("#" + myId + "_settings").data();
var my_option = custom_settings["thisisacustomthingy"];
});
Without knowing much more than what you have presented, I can't say for certain that this will work 100% out of box. But it should get you starting point. It is more obtuse, but still gives you options.
Find me on Slack/IRC if you want to discuss in real time.
... View more