Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (4 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 78: | Rivi 78: | ||
} | } | ||
if (meri == "0") { | if (meri == "0") { | ||
searchStr += encodeURI("[[Vesistö:: | searchStr += encodeURI("[[Vesistö::!Meri]]"); | ||
} else if (meri == "1") { | } else if (meri == "1") { | ||
searchStr += encodeURI("[[Vesistö::Meri]]"); | searchStr += encodeURI("[[Vesistö::Meri]]"); | ||
| Rivi 87: | Rivi 87: | ||
searchStr += encodeURI('|?Viikko|?Leväbarometri|?Vesistö|limit=100'); | searchStr += encodeURI('|?Viikko|?Leväbarometri|?Vesistö|limit=100'); | ||
searchStr += '&format=json'; | searchStr += '&format=json'; | ||
jQuery.ajax({ | jQuery.ajax({ | ||
type: 'GET', | type: 'GET', | ||
| Rivi 106: | Rivi 106: | ||
} | } | ||
if (meri == "0") { | if (meri == "0") { | ||
searchStr2 += encodeURI("[[Vesistö:: | searchStr2 += encodeURI("[[Vesistö::!Meri]]"); | ||
} else if (meri == "1") { | } else if (meri == "1") { | ||
searchStr2 += encodeURI("[[Vesistö::Meri]]"); | searchStr2 += encodeURI("[[Vesistö::Meri]]"); | ||
| Rivi 314: | Rivi 314: | ||
hAxis: {title: i18n( 'Viikko', lang ), slantedText: false, maxAlternation: 1, textStyle: { fontName: 'Poppins', color: '#005854' }, titleTextStyle: { fontName: 'Poppins', color: '#005854', italic: false, bold: true } }, | hAxis: {title: i18n( 'Viikko', lang ), slantedText: false, maxAlternation: 1, textStyle: { fontName: 'Poppins', color: '#005854' }, titleTextStyle: { fontName: 'Poppins', color: '#005854', italic: false, bold: true } }, | ||
backgroundColor: { fill: "#<!--{$bgcolor|default:ffffff|escape:'html'}-->", stroke: "#c1e7f7", strokeWidth: 0 }, | backgroundColor: { fill: "#<!--{$bgcolor|default:ffffff|escape:'html'}-->", stroke: "#c1e7f7", strokeWidth: 0 }, | ||
chartArea: { top: 30, right: 50, bottom: | chartArea: { top: 30, right: 50, bottom: 60, left: 50, backgroundColor: "#<!--{$bgcolor|default:ffffff|escape:'html'}-->" }, | ||
series: { | series: { | ||
0: {type: "bars", color: '#005854' }, | 0: {type: "bars", color: '#005854' }, | ||
1: {type: "area", color: '#c7e3d2', areaOpacity: 1, lineWidth: 0.5 }, | 1: {type: "area", color: '#c7e3d2', areaOpacity: 1, lineWidth: 0.5 }, | ||
2: {type: "line", color: '# | 2: {type: "line", color: '#aaaaaa', pointSize: 10, lineWidth: 0, visibleInLegend: false }, | ||
3: {type: "bars", color: '#44E522', visibleInLegend: false }, | 3: {type: "bars", color: '#44E522', visibleInLegend: false }, | ||
4: {type: "line", color: '# | 4: {type: "line", color: '#005854', pointSize: 10, lineWidth: 1, visibleInLegend: false } | ||
}, | }, | ||
legend: { position: ' | legend: { position: 'in', alignment: 'center', textStyle: { color: '#005854' } }, | ||
isStacked: true | isStacked: true | ||
}; | }; | ||
| Rivi 371: | Rivi 371: | ||
hAxis: {title: i18n( 'Viikko', lang ), slantedText: false, maxAlternation: 1, textStyle: { fontName: 'Poppins', color: '#005854', italic: false, bold: false }, titleTextStyle: { fontName: 'Poppins', color: '#005854', italic: false, bold: true } }, | hAxis: {title: i18n( 'Viikko', lang ), slantedText: false, maxAlternation: 1, textStyle: { fontName: 'Poppins', color: '#005854', italic: false, bold: false }, titleTextStyle: { fontName: 'Poppins', color: '#005854', italic: false, bold: true } }, | ||
backgroundColor: { fill: "#<!--{$bgcolor|default:ffffff|escape:'html'}-->", stroke: "#e4e3de" }, | backgroundColor: { fill: "#<!--{$bgcolor|default:ffffff|escape:'html'}-->", stroke: "#e4e3de" }, | ||
chartArea: { top: 30, right: 50, bottom: | chartArea: { top: 30, right: 50, bottom: 60, left: 50, backgroundColor: "#<!--{$bgcolor|default:ffffff|escape:'html'}-->" }, | ||
series: { | series: { | ||
0: {type: "bars", color: '#005854' }, | 0: {type: "bars", color: '#005854' }, | ||
| Rivi 377: | Rivi 377: | ||
2: {type: "line", color: '#aaaaaa', pointSize: 10, lineWidth: 0, visibleInLegend: false }, | 2: {type: "line", color: '#aaaaaa', pointSize: 10, lineWidth: 0, visibleInLegend: false }, | ||
3: {type: "bars", color: '#44E522', visibleInLegend: false }, | 3: {type: "bars", color: '#44E522', visibleInLegend: false }, | ||
4: {type: "line", color: '# | 4: {type: "line", color: '#005854', pointSize: 10, lineWidth: 1, visibleInLegend: false } | ||
}, | }, | ||
legend: {position: ' | legend: {position: 'in', alignment: 'center', textStyle: { color: '#005854' } }, | ||
isStacked: true | isStacked: true | ||
}; | }; | ||


