HighCharts-GXT/GWT Project The official HighCharts-GWT/GXT adapters blog

Event Handling

Using Highcharts builtin functions

If you want to use a built-in function such as Highcharts.dateFormat *remember* to put the prefix $wnd as follows (this is because jquery is used to resolve the Highchart javascript object):

hc.setOption(new OptionPath("/chart/events/click"),
  new RawStringType(
    "function(e) {" +
    "	console.log(" +
    "		$wnd.Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', e.xAxis[0].value)," +
    "		e.yAxis[0].value" +
    "	)" +

This role (to use the $wnd prefix) is always valid to access functionalities exposed by external JS libs due to jquery adoption in the highcharts-adapter.js file.