easychart icon indicating copy to clipboard operation
easychart copied to clipboard

Allow passing options to Highcharts.setOptions()

Open soroush-op opened this issue 4 years ago • 0 comments

This is related to https://github.com/daemth/easychart/issues/69 and How to pass options to Highcharts.setOptions() issue for Drupal Easychart module.

Here, a new setGlobalOptions() method is added to Easychart which allows setting options such as lang.thousandsSep option in Highcharts (The default thousandsSep is space character.) Currently, the only way to set such options is to call Highcharts.setOptions() directly and not through Easychart:

Highcharts.setOptions({
  lang: {
    thousandsSep: ','
   }
  });

Thanks!

soroush-op avatar Oct 07 '20 18:10 soroush-op