FCLT#63752 Conversie van JSON grafiek en rapport parameters ook initieel goed zetten
svn path=/Database/trunk/; revision=48070
This commit is contained in:
348
KPI/KPI_INI.SRC
348
KPI/KPI_INI.SRC
@@ -42,182 +42,208 @@ SELECT 'Trend', 'kpi_v_graph_ond_trend', 4, null, null, null, null, 'FCLT_
|
||||
|
||||
SET SQLBLANKLINES ON
|
||||
|
||||
UPDATE fac_usrgraph SET fac_usrgraph_options = '{ title: "",
|
||||
seriesDefaults: {
|
||||
rendererOptions: {
|
||||
background: "white",
|
||||
ringColor: "#444",
|
||||
needleThickness: 7,
|
||||
hubRadius: 7,
|
||||
intervalInnerRadius: 25,
|
||||
intervalOuterRadius: 50,
|
||||
shadowDepth: 0,
|
||||
intervalColors: [ "#CC0000", "#EE9900", "#77BB00" ]
|
||||
}
|
||||
}
|
||||
UPDATE fac_usrgraph SET fac_usrgraph_options = '{
|
||||
"title": "",
|
||||
"seriesDefaults": {
|
||||
"rendererOptions": {
|
||||
"background": "white",
|
||||
"ringColor": "#444",
|
||||
"needleThickness": 7,
|
||||
"hubRadius": 7,
|
||||
"intervalInnerRadius": 25,
|
||||
"intervalOuterRadius": 50,
|
||||
"shadowDepth": 0,
|
||||
"intervalColors": [
|
||||
"#CC0000",
|
||||
"#EE9900",
|
||||
"#77BB00"
|
||||
]
|
||||
}
|
||||
}
|
||||
}'
|
||||
WHERE fac_usrgraph_omschrijving = 'Total';
|
||||
|
||||
-- onderdeel
|
||||
UPDATE fac_usrgraph SET fac_usrgraph_options = '{ title: "",
|
||||
animate: true,
|
||||
stackSeries: false,
|
||||
seriesDefaults:{
|
||||
pointLabels: {
|
||||
show: true,
|
||||
edgeTolerance: -100,
|
||||
ypadding: 0
|
||||
UPDATE fac_usrgraph SET fac_usrgraph_options = '{
|
||||
"title": "",
|
||||
"animate": true,
|
||||
"stackSeries": false,
|
||||
"seriesDefaults": {
|
||||
"pointLabels": {
|
||||
"show": true,
|
||||
"edgeTolerance": -100,
|
||||
"ypadding": 0
|
||||
}
|
||||
},
|
||||
"series": [
|
||||
{
|
||||
"renderer": "$.jqplot.BarRenderer",
|
||||
"rendererOptions": {
|
||||
"barWidth": 50,
|
||||
"varyBarColor": true,
|
||||
"shadow": false
|
||||
}
|
||||
},
|
||||
series: [ {
|
||||
renderer: $.jqplot.BarRenderer,
|
||||
rendererOptions: {
|
||||
barWidth: 50,
|
||||
varyBarColor: true,
|
||||
shadow: false
|
||||
}
|
||||
} ],
|
||||
axes: {
|
||||
yaxis: {
|
||||
min: 0,
|
||||
max: 100,
|
||||
ticks: [0, 20, 40, 60, 80, 100],
|
||||
tickOptions: {
|
||||
enableFontSupport: true,
|
||||
fontFamily: "Tahoma",
|
||||
fontSize: "9pt"
|
||||
},
|
||||
rendererOptions: {drawBaseline: false}
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"yaxis": {
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"ticks": [
|
||||
0,
|
||||
20,
|
||||
40,
|
||||
60,
|
||||
80,
|
||||
100
|
||||
],
|
||||
"tickOptions": {
|
||||
"enableFontSupport": true,
|
||||
"fontFamily": "Tahoma",
|
||||
"fontSize": "9pt"
|
||||
},
|
||||
xaxis: {
|
||||
tickOptions: {
|
||||
enableFontSupport: true,
|
||||
fontFamily: "Tahoma",
|
||||
fontSize: "10pt",
|
||||
showGridline: false
|
||||
}
|
||||
"rendererOptions": {
|
||||
"drawBaseline": false
|
||||
}
|
||||
},
|
||||
canvasOverlay: {
|
||||
show: true,
|
||||
objects: [ {
|
||||
horizontalLine: {
|
||||
name: "n070",
|
||||
y: 70,
|
||||
lineWidth: 1,
|
||||
lineCap: "square",
|
||||
color: "rgba(220, 160, 0, 0.5)",
|
||||
shadow: false
|
||||
}
|
||||
},
|
||||
"xaxis": {
|
||||
"tickOptions": {
|
||||
"enableFontSupport": true,
|
||||
"fontFamily": "Tahoma",
|
||||
"fontSize": "10pt",
|
||||
"showGridline": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"canvasOverlay": {
|
||||
"show": true,
|
||||
"objects": [
|
||||
{
|
||||
"horizontalLine": {
|
||||
"name": "n070",
|
||||
"y": 70,
|
||||
"lineWidth": 1,
|
||||
"lineCap": "square",
|
||||
"color": "rgba(220, 160, 0, 0.5)",
|
||||
"shadow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
horizontalLine: {
|
||||
name: "n090",
|
||||
y: 90,
|
||||
lineWidth: 1,
|
||||
lineCap: "square",
|
||||
color: "rgba(85, 238, 0, 0.5)",
|
||||
shadow: false
|
||||
}
|
||||
} ]
|
||||
},
|
||||
axesStyles: {
|
||||
borderWidth: 0,
|
||||
ticks: {
|
||||
fontSize: "20pt",
|
||||
fontFamily: "Tahoma",
|
||||
textColor: "black"
|
||||
},
|
||||
label: {
|
||||
fontFamily: "Tahoma",
|
||||
textColor: "black"
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
backgroundColor: "white",
|
||||
borderWidth: 0,
|
||||
gridLineColor: "#eee",
|
||||
gridLineWidth: 1,
|
||||
borderColor: "white",
|
||||
shadow: false
|
||||
"horizontalLine": {
|
||||
"name": "n090",
|
||||
"y": 90,
|
||||
"lineWidth": 1,
|
||||
"lineCap": "square",
|
||||
"color": "rgba(85, 238, 0, 0.5)",
|
||||
"shadow": false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"axesStyles": {
|
||||
"borderWidth": 0,
|
||||
"ticks": {
|
||||
"fontSize": "20pt",
|
||||
"fontFamily": "Tahoma",
|
||||
"textColor": "black"
|
||||
},
|
||||
"label": {
|
||||
"fontFamily": "Tahoma",
|
||||
"textColor": "black"
|
||||
}
|
||||
},
|
||||
"grid": {
|
||||
"backgroundColor": "white",
|
||||
"borderWidth": 0,
|
||||
"gridLineColor": "#eee",
|
||||
"gridLineWidth": 1,
|
||||
"borderColor": "white",
|
||||
"shadow": false
|
||||
}
|
||||
}'
|
||||
WHERE fac_usrgraph_omschrijving = 'Category';
|
||||
|
||||
-- trend
|
||||
UPDATE fac_usrgraph SET fac_usrgraph_options = '{ title: "",
|
||||
animate: true,
|
||||
seriesDefaults: {
|
||||
showMarker: false,
|
||||
pointLabels: {
|
||||
show: true
|
||||
}
|
||||
},
|
||||
series: [ {
|
||||
color: "#55acda",
|
||||
shadow: true
|
||||
} ],
|
||||
axes: {
|
||||
yaxis: {
|
||||
tickOptions: {
|
||||
enableFontSupport: true,
|
||||
fontFamily: "Tahoma",
|
||||
fontSize: "9pt"
|
||||
},
|
||||
rendererOptions: { drawBaseline: false }
|
||||
},
|
||||
xaxis: {
|
||||
tickOptions: {
|
||||
enableFontSupport: true,
|
||||
fontFamily: "Tahoma",
|
||||
fontSize: "10pt",
|
||||
showGridline: false
|
||||
}
|
||||
}
|
||||
},
|
||||
axesStyles: {
|
||||
borderWidth: 0,
|
||||
ticks: {
|
||||
fontSize: "20pt",
|
||||
fontFamily: "Tahoma",
|
||||
textColor: "black"
|
||||
},
|
||||
label: {
|
||||
fontFamily: "Tahoma",
|
||||
textColor: "black"
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
backgroundColor: "white",
|
||||
borderWidth: 0,
|
||||
gridLineColor: "#eee",
|
||||
gridLineWidth: 1,
|
||||
borderColor: "white",
|
||||
shadow: false
|
||||
},
|
||||
canvasOverlay: {
|
||||
show: true,
|
||||
objects: [ {
|
||||
horizontalLine: {
|
||||
name: "n070",
|
||||
y: 70,
|
||||
lineWidth: 2,
|
||||
lineCap: "square",
|
||||
color: "rgba(220, 160, 0, 0.5)",
|
||||
shadow: false
|
||||
}
|
||||
},
|
||||
{
|
||||
horizontalLine: {
|
||||
name: "n090",
|
||||
y: 90,
|
||||
lineWidth: 2,
|
||||
lineCap: "square",
|
||||
color: "rgba(85, 238, 0, 0.5)",
|
||||
shadow: false
|
||||
}
|
||||
} ]
|
||||
UPDATE fac_usrgraph SET fac_usrgraph_options = '{
|
||||
"title": "",
|
||||
"animate": true,
|
||||
"seriesDefaults": {
|
||||
"showMarker": false,
|
||||
"pointLabels": {
|
||||
"show": true
|
||||
}
|
||||
},
|
||||
"series": [
|
||||
{
|
||||
"color": "#55acda",
|
||||
"shadow": true
|
||||
}
|
||||
],
|
||||
"axes": {
|
||||
"yaxis": {
|
||||
"tickOptions": {
|
||||
"enableFontSupport": true,
|
||||
"fontFamily": "Tahoma",
|
||||
"fontSize": "9pt"
|
||||
},
|
||||
"rendererOptions": {
|
||||
"drawBaseline": false
|
||||
}
|
||||
},
|
||||
"xaxis": {
|
||||
"tickOptions": {
|
||||
"enableFontSupport": true,
|
||||
"fontFamily": "Tahoma",
|
||||
"fontSize": "10pt",
|
||||
"showGridline": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"axesStyles": {
|
||||
"borderWidth": 0,
|
||||
"ticks": {
|
||||
"fontSize": "20pt",
|
||||
"fontFamily": "Tahoma",
|
||||
"textColor": "black"
|
||||
},
|
||||
"label": {
|
||||
"fontFamily": "Tahoma",
|
||||
"textColor": "black"
|
||||
}
|
||||
},
|
||||
"grid": {
|
||||
"backgroundColor": "white",
|
||||
"borderWidth": 0,
|
||||
"gridLineColor": "#eee",
|
||||
"gridLineWidth": 1,
|
||||
"borderColor": "white",
|
||||
"shadow": false
|
||||
},
|
||||
"canvasOverlay": {
|
||||
"show": true,
|
||||
"objects": [
|
||||
{
|
||||
"horizontalLine": {
|
||||
"name": "n070",
|
||||
"y": 70,
|
||||
"lineWidth": 2,
|
||||
"lineCap": "square",
|
||||
"color": "rgba(220, 160, 0, 0.5)",
|
||||
"shadow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"horizontalLine": {
|
||||
"name": "n090",
|
||||
"y": 90,
|
||||
"lineWidth": 2,
|
||||
"lineCap": "square",
|
||||
"color": "rgba(85, 238, 0, 0.5)",
|
||||
"shadow": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}'
|
||||
WHERE fac_usrgraph_omschrijving = 'Trend';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user