highcharts-core icon indicating copy to clipboard operation
highcharts-core copied to clipboard

Lang when download_chart

Open LukaszWakeapp opened this issue 1 year ago • 0 comments

Hi, I want to change labels language of the X axis. The X axis is a datetime and I would like the format: "day short_month" e.g. 17 Kwi

'xAxis': [{ 'type': 'datetime', 'lineWidth': 1, 'tickLength': 1, 'tickWidth': 1, 'gridLineWidth': 1, 'lineColor': '#EDEEEE', 'tickColor': '#EDEEEE', 'gridLineColor': '#EDEEEE', 'startOnTick':False, 'labels': { 'format': '{value:%d %b}' }, }],

I do not know how to set shortMonths: ['Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru']

I do not display the chart, I download it

chart.download_chart( format = 'png', filename = 'images/chart-visits.png' )

LukaszWakeapp avatar Apr 11 '24 12:04 LukaszWakeapp