Commit 9d8d0181 authored by Moreau Nicolas's avatar Moreau Nicolas
Browse files

show cursor position on x axis

parent 14214d27
......@@ -1186,13 +1186,13 @@ var SAMPPNGPublishControl = (function (Control) {
toptitle = "";
}
else if (_origin.startsWith("CASA")) {
xtitle = "Frequency (Ghz) - " + _specsys;
xtitle = "Frequency (GHz) - " + _specsys;
ytitle = "Flux density (" + _bunit + ")";
coeff = Math.PI / 180. / 4.86e-6;
toptitle = "B: " + round(_bmaj*coeff, 1) + "x" + round(_bmin*coeff, 1) + " PA " + round(_bpa, 0) + "°";
}
else if (_origin.startsWith("GILDAS")) {
xtitle = "Frequency (Ghz)";
xtitle = "Frequency (GHz)";
ytitle = "Flux density (" + _bunit + ")";
toptitle = "";
}
......@@ -1568,6 +1568,7 @@ var SAMPPNGPublishControl = (function (Control) {
title: {
text: xtitle
},
crosshair : true,
reversed : true,
events: {
setExtremes : function(event){
......@@ -1784,6 +1785,7 @@ var SAMPPNGPublishControl = (function (Control) {
title: {
text: xtitle
},
crosshair : true,
reversed : false,
},
yAxis: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment