For drilldown series name we have such a function ? I read API, but nothing about drilldown. I need to translate like in your example, name of drilldown series.
drilldown: {
series: [{
type: 'pie',
name: 'Angular versions',
id: 'esempla-documents',
data: [
['Active', 360],
['Spre stergere', 100],
['Blocate', 40],
]
}]
}
And here not Angular versions, for example, but something else, depends by language.
Works fine, thanks !
Last question and sorry for troubles ^_^
How can i acces this.language variable in formatter function and can we also change not only tooltip, but current name of axis through same approach ? ( where's now 123, 1345)
Here's live code : https://stackblitz.com/edit/highcharts- ... mponent.ts
You can update the chart with chart.update. If you want to update a series or the yAxis, you could use series.update or yAxis.update methods after your language changes.
All works great, dawid, thanks. But last one question, how can i redraw only drilldown series name if they are equal with "deleted", for example?
To clarify: If it's deleted, yes? I want to display "Bin". Else, if it's "active", i want to display "Active". I need this, cause i got drilldown data from backend API and they are written as in database. Thanks for help!