diff --git a/WP-GPX-Maps.js b/WP-GPX-Maps.js index 9812131..984f0db 100644 --- a/WP-GPX-Maps.js +++ b/WP-GPX-Maps.js @@ -448,6 +448,7 @@ function _wpgpxmaps(params) plotOptions: { area: { fillOpacity: 0.1, + connectNulls : true, marker: { enabled: false, symbol: 'circle', @@ -467,10 +468,12 @@ function _wpgpxmaps(params) } } }, + credits: { + enabled: false + }, yAxis: [], series: [] }; - if (graphEle != '') { @@ -495,11 +498,13 @@ function _wpgpxmaps(params) if ( chartFrom1 != '' ) { yaxe.min = chartFrom1; + yaxe.startOnTick = false; } if ( chartTo1 != '' ) { yaxe.max = chartTo1; + yaxe.endOnTick = false; } hoptions.yAxis.push(yaxe); @@ -554,11 +559,13 @@ function _wpgpxmaps(params) if ( chartFrom2 != '' ) { yaxe.min = chartFrom2; + yaxe.startOnTick = false; } if ( chartTo2 != '' ) { yaxe.max = chartTo2; + yaxe.endOnTick = false; } hoptions.yAxis.push(yaxe); @@ -583,7 +590,10 @@ function _wpgpxmaps(params) for (i=0; i'.$data.''; } - } @file_put_contents($gpxcache, @@ -303,6 +302,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
+ '. $error .'