Commit 554dff01 authored by Moreau Nicolas's avatar Moreau Nicolas
Browse files

modifs for highcharts

parent 976dc4a1
......@@ -2016,7 +2016,12 @@ var SAMPPNGPublishControl = (function (Control) {
title: {
text: xtitle
},
reversed : false
reversed : false,
plotBands: [{ // visualize the weekend
from: 0,
to: 200,
color: 'rgba(68, 170, 213, .2)'
}]
},
yAxis: {
title: {
......@@ -2175,8 +2180,16 @@ var SAMPPNGPublishControl = (function (Control) {
width: 16,
height: 16
},
data: highChartData
} );
data: highChartData,
fillColor: {
linearGradient: [0, 200, -0.5, 5],
stops: [
[0, Highcharts.getOptions().colors[0]],
[1, Highcharts.Color(Highcharts.getOptions().colors[0]).setOpacity(0).get('rgba')]
]
}
}
);
//~ summedAverageSpectrum = sumArr(averageSpectrum, start, end, cdelt3prim);
......
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