Skip to content

Commit

Permalink
clear rest-api config to avoid unexpected rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Hollmann committed Oct 20, 2017
1 parent 155c178 commit cacf54c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 205 deletions.
25 changes: 1 addition & 24 deletions webapp-bundle/src/main/resources/config-rendering-hints.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
{
"phenomenonStyles": {
"6": {
"style": {
"chartType": "bar",
"properties": {
"interval": "byHour",
"width": 0.8,
"color": "#0000ff"
}
}
}
},
"timeseriesStyles": {
"1": {
"style": {
"chartType": "bar",
"properties": {
"interval": "byDay",
"width": 0.8,
"color": "#0000ff"
}
}
}
}

}
88 changes: 0 additions & 88 deletions webapp-bundle/src/main/resources/config-status-intervals.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,2 @@
{
"phenomenonIntervals": {
"1": {
"statusIntervals": {
"90 - 100 Percent": {
"upper" : 100.0,
"lower" : 90.0,
"color" : "#0000FF"
},
"80 - 90 Percent": {
"upper" : 90.0,
"lower" : 80.0,
"color" : "#1C00E2"
},
"70 - 80 Percent": {
"upper" : 80.0,
"lower" : 70.0,
"color" : "#3800C6"
},
"60 - 70 Percent": {
"upper" : 70.0,
"lower" : 60.0,
"color" : "#5500AA"
},
"50 - 60 Percent": {
"upper" : 60.0,
"lower" : 50.0,
"color" : "#71008D"
},
"40 - 50 Percent": {
"upper" : 50.0,
"lower" : 40.0,
"color" : "#8D0071"
},
"30 - 40 Percent": {
"upper" : 40.0,
"lower" : 30.0,
"color" : "#AA0055"
},
"20 - 30 Percent": {
"upper" : 30.0,
"lower" : 20.0,
"color" : "#C60038"
},
"10 - 20 Percent": {
"upper" : 20.0,
"lower" : 10.0,
"color" : "#E2001C"
},
"0 - 10 Percent": {
"upper" : 10.0,
"lower" : 0.0,
"color" : "#FF0000"
}
}
},
"phe_1965ee24af8af96270002b4a434a4250": {
"statusIntervals": {
"over 20": {
"lower" : 20.0,
"color" : "#FF0000"
},
"15 - 20": {
"upper" : 20.0,
"lower" : 15.0,
"color" : "#BF003F"
},
"10 - 15": {
"upper" : 15.0,
"lower" : 10.0,
"color" : "#7F007F"
},
"5 - 10": {
"upper" : 10.0,
"lower" : 5.0,
"color" : "#3F00BF"
},
"0 - 5": {
"upper" : 5.0,
"lower" : 0.0,
"color" : "#0000FF"
}
}
}
},
"timeseriesIntervals": {
"ts_123": {
}
}
}
94 changes: 1 addition & 93 deletions webapp-bundle/src/main/resources/config-task-prerendering.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,3 @@
{
"generalConfig" : {
"width": "800",
"height": "500",
"language" : "de",
"grid" : true,
"generalize" : false
},
"phenomenonStyles": [
{
"id" : "3",
"title" : "Title of a Timeseries (without legend)",
"chartQualifier" : "without_legend",
"interval": [
"lastWeek",
"lastMonth"
],
"style": {
"chartType": "line",
"properties": {
"color": "#00ffff",
"lineType": "solid",
"width": 2
}
}
},
{
"id" : "3",
"title" : "Title of a Timeseries (with legend)",
"chartQualifier" : "with_legend",
"interval": [
"lastWeek",
"lastMonth"
],
"config" : {
"legend" : true
},
"style": {
"chartType": "line",
"properties": {
"color": "#00ffff",
"lineType": "solid",
"width": 2
}
}
},
{
"id" : "9",
"interval": [
"lastWeek",
"lastMonth"
],
"style": {
"chartType": "line",
"properties": {
"color": "#0000ff",
"lineType": "solid",
"width": 2
}
}
},
{
"id" : "4",
"interval": [
"lastWeek",
"lastMonth"
],
"style": {
"chartType": "bar",
"properties": {
"interval": "byDay",
"color": "#ff0000",
"width": 0.8
}
}
}
],
"timeseriesStyles": [
{
"id" : "16",
"interval": [
"lastWeek",
"lastMonth"
],
"style": {
"chartType": "bar",
"properties": {
"interval": "byDay",
"width": 0.8,
"color": "#0000ff"
}
}
}
]

}

0 comments on commit cacf54c

Please sign in to comment.