This issue relates to my confusion in this issue, but the problem remains unresolved: No matter what I do I can't set global config for highcharts.
I created a file:
// app/highcharts-configs/application.js
export default function (defaultOptions) {
defaultOptions.credits.href = null;
defaultOptions.credits.text = null;
defaultOptions.credits.enabled = false;
return defaultOptions;
}
I can see that it's loaded:

But the Highchart(stock) does not honour credits.enabled = false (see the highcharts link in bottom right):

If I just pass
credits: {
enabled: false,
},
To the option of given chart, it works ok. Just not globally.
Maybe this stems from the addon calling Highcharts.setOptions() which might work only for HighCharts, but does not for HighStock?
This issue relates to my confusion in this issue, but the problem remains unresolved: No matter what I do I can't set global config for highcharts.
I created a file:
I can see that it's loaded:
But the Highchart(stock) does not honour
credits.enabled = false(see the highcharts link in bottom right):If I just pass
To the option of given chart, it works ok. Just not globally.
Maybe this stems from the addon calling Highcharts.setOptions() which might work only for HighCharts, but does not for HighStock?