mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-31 16:20:45 +00:00
Introduce a moxieapps-Highcharts Time wrapper (useUTC/timezone/timezoneOffset) and Highcharts.Options.setTime(Time), and switch the vertical wind chart and the device-mapping chart to render datetime axes in the browser's local time zone. With the bundled Highcharts 12.1.2 the browser-local zone is selected via useUTC=false (equivalent to timezone=undefined); the v11-only special value "local" is no longer valid in v12. Also ensure the global time option is applied via Highcharts.setOptions(...) before the affected Chart is constructed, since setOptions only affects charts created afterwards. Assisted-By: Claude (claude-4.8-opus)
Patches to GWT Highcharts Wrapper API
Show reset zoom button
Added method to org.moxieapps.gwt.highcharts.client.BaseChart to provide highcharts functionality in Java API:
/**
* Patch, to provide highcharts functionality in Java API.
*/
public native void showResetZoom() /*-{
var chart = this.@org.moxieapps.gwt.highcharts.client.BaseChart::chart;
if (chart) chart.showResetZoom();
}-*/;
Other changes
Some other change in the following classes are not documented yet:
org.moxieapps.gwt.highcharts.client.BaseChartorg.moxieapps.gwt.highcharts.client.Series