score:1

Accepted answer

you can achieve it by putting this code into a separate file (example highcharts.options.js):

export default function(h) {
  h.setoptions({
    lang: {
      loading: "загрузка...",
      months: [
        "январь",
        "февраль",
        ...
      ],
      weekdays: [
        "воскресенье",
        "понедельник",
        ...
      ],
      shortmonths: [
        "янв",
        "фев",
        ...
      ]
    }
  });
}

and inside your component import it and initialize like that:

import highchartoptions from "./highcharts.options";
highchartoptions(highcharts);

demo:


Related Query

More Query from same tag