Address on markers and on graph
public/javascripts/chart_utilities.js
- add address in #addSensorID'
- function 'addAddress' added
public/javascripts/datetime.js
- removed unnecessary comment
public/javascripts/global.js
- refreshrate changed to 5 min
- typo 'autohide' corrected
views/index.pug
- removed text 'only for live ...'
views/layout.pug
- removed superflous links and variables
public/javascripts/maps.js
- added address to marker popup
charts/preparecharts.js
- translate legend texts
public/javascripts/showcharts.js
- dont show selected tab
public/stylesheets/style.sass
- add style for sensornumber on chart
loclae/[de|en]/translation.json
- added translations for legend
charts/utilities.js
- ymax for live set to 120
This commit is contained in:
@@ -229,14 +229,14 @@ export const havgData = (params, values) => {
|
||||
]
|
||||
options.series = [
|
||||
{
|
||||
name: 'Mean value LAeq',
|
||||
name: `${trans('MeanValueLAeq')}`,
|
||||
data: series1,
|
||||
color: utils.colors.eq,
|
||||
type: 'column',
|
||||
zIndex: 2,
|
||||
yAxis: 0
|
||||
}, {
|
||||
name: 'Peaks',
|
||||
name: `${trans('Peaks')}`,
|
||||
data: series2,
|
||||
color: utils.colors.peaks,
|
||||
type: 'column',
|
||||
@@ -328,14 +328,14 @@ export const davgData = (params, values) => {
|
||||
|
||||
options.series = [
|
||||
{
|
||||
name: 'Mean value LAeq',
|
||||
name: `${trans('MeanValueLAeq')}`,
|
||||
data: series1,
|
||||
color: utils.colors.eq,
|
||||
type: 'column',
|
||||
zIndex: 2,
|
||||
yAxis: 0
|
||||
},{
|
||||
name: 'Peaks',
|
||||
name: `${trans('Peaks')}`,
|
||||
data: series2,
|
||||
color: utils.colors.peaks,
|
||||
type: 'column',
|
||||
@@ -409,14 +409,14 @@ export const dayNightData = (params, values) => {
|
||||
}
|
||||
options.series = [
|
||||
{
|
||||
name: 'Day',
|
||||
name: `${trans('Day')}`,
|
||||
data: series1,
|
||||
color: utils.colors.eq,
|
||||
type: 'column',
|
||||
zIndex: 2,
|
||||
},
|
||||
{
|
||||
name: 'Night',
|
||||
name: `${trans('Night')}`,
|
||||
data: series2,
|
||||
color: utils.colors.max,
|
||||
type: 'column',
|
||||
@@ -491,7 +491,7 @@ export const ldenData = (params, values) => {
|
||||
}
|
||||
options.series = [
|
||||
{
|
||||
name: 'lden',
|
||||
name: 'Lden',
|
||||
data: series1,
|
||||
color: utils.colors.eq,
|
||||
type: 'column',
|
||||
|
||||
@@ -6,6 +6,7 @@ let language = 'en'
|
||||
|
||||
export const colors = {'eq': '#0000FF', 'max': '#FF0000', 'min': '#008000', 'peaks': '#DAA520'};
|
||||
export const noise_ymin = 30;
|
||||
export const noise_ymax = 120;
|
||||
|
||||
export function createGlobObtions() {
|
||||
// Options, die für alle Plots identisch sind
|
||||
|
||||
Reference in New Issue
Block a user