Closed lyndon-bird closed 10 months ago
I'm looking to adjust a charts datetime based on timezone. This can be done via the time object in highchart(). Is there a way to also do the same using hchart()?
https://api.highcharts.com/highcharts/time
Example with timezone adjusted using highchart() :
highchart(hc_opts = list(time=list(useUTC=F))) %>% hc_add_series(weather, 'line', hcaes(x=date, y=mean_temperaturec)) %>% hc_xAxis(type='datetime', title=NULL)
Example with hchart (no timezone adjustment) hchart(weather, 'line', hcaes(x=date, y=mean_temperaturec))
Thanks in advance for help.
I'm looking to adjust a charts datetime based on timezone. This can be done via the time object in highchart(). Is there a way to also do the same using hchart()?
https://api.highcharts.com/highcharts/time
Example with timezone adjusted using highchart() :
highchart(hc_opts = list(time=list(useUTC=F))) %>% hc_add_series(weather, 'line', hcaes(x=date, y=mean_temperaturec)) %>% hc_xAxis(type='datetime', title=NULL)
Example with hchart (no timezone adjustment) hchart(weather, 'line', hcaes(x=date, y=mean_temperaturec))
Thanks in advance for help.