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:
Source: stackoverflow.com
Related Query
- highcharts-react-official, how to implement setOptions from the official documentation, in react?
- How can I remove the white border from HighCharts pie chart?
- How can I delete all of the points from a highcharts series
- Highcharts - how to remove "Open in Highcharts Cloud" from the export menu
- How do I remove the color swatch from my HighCharts legend without affecting the column?
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- How to remove the value and number labels from Highcharts angular gauge
- Highcharts basic bar graphs. How to remove strokewith from the bars
- How to get the highlighted point from shared tooltip formatter, Highcharts
- How to use Highcharts to implement this dynamically shifting from right to left effect?
- How Can I Hide a Pie Chart's Slice in HighCharts Without Removing It From the Legend?
- how to display 2 same highcharts without duplicate the code
- How can I pass values from Highcharts event callbacks (click, mouseOver, mouseOut) back to React component member function?
- how to animate the move of a point from a position to another in a HighCharts scatterplot
- How do I use dates from a LinkedHashMap for the x-axis on a Highcharts line graph (using Thymeleaf)?
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- How to fix values from an array on the y-axis in Highcharts
- Highcharts - How do I keep both line points in from splitting between the two bar charts
- How to call Highcharts tooltip formatter function from outside the config object?
- Highcharts - how to access category of multiple axis of the point from tooltip
- How to remove the decimal .00 from the default highcharts configuration?
- How to get access to the chart from HighchartsReact component to ResponsiveGridLayout component when I'm using functional react component
- Highcharts - Scatter plot: How to send information from clicks to a function with information about the click as parameters
- Highcharts Chart Bar - How can I display in the chart, only one column from my HTML table?
- How to implement similar line chart using the Highcharts library?
- Highcharts - How to separate the functionality of the navigator from the graph
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- How to drop the decimals from Highcharts 3D columns and tooltip?
- How can i change the color of a tile which was clicked of a treemap in highcharts using react
More Query from same tag
- Bring marker to front of grid line in Highcharts
- multiple series in Highcharter R stacked barchart
- Pagination in column chart with Previous, Next controls?
- Highchart : Unable to populate data from JSON
- How to show first and last date ticks in the navigator - Highcharts?
- Highcharts manipulate with points on the graph
- Highchart UTC date always set to January, 1 1970
- How make to fill space after column was hidden in column chart using highchart?
- web interface using jQuery for Java application
- Interactive row filtering in highcharts/highcharter stacked barchart
- highchart in popover - bootstrap 4
- How to enable vertical scroll bar for legends in highcharts implemented in angular 8
- How to structure Angular with Highcharts and lots of dynamic data
- Highstock- limit grid lines for y axis
- Angular2 highchart-more
- How do I send javascript on ajax request?
- HighCharts.js TickInterval dynamic change
- High and low line on candlestick chart
- Trying to update name and date in a highcharts column chart
- Highcharts - Xrange chart events issue
- Highchart - Min max and Mean chart
- HighChart Graph aligned wrong on Xaxis .. not able to reproduce on JSFiddle
- Highstock dual x-axis with scrollbar
- Highcharts Multiple Bar Colours in X-Range
- R Highcharter: Different display and value for clicked category
- Exporting multiple Highcharts that are generated by looping to a single pdf
- Colorize yAxis labels and chart lines in HighchartTable
- Highcharts : compare current value/previous value to get the rate
- JavaScript / JSF2 data (rectangle) visualization in a cartesian coordinate system
- Show form view of existing id after click on menu button in odoo 8?