CT2000
CT2000
CT2000
Module 4
continentParam
function f() {
// Show Chart
return false;
function f() {
// Show Chart
return false;
component.oLanguage = {
};
this.setAddInOptions("colType","trendArrow",function(state){
return {
includeValue: true
};
});
}else{
}
this.chartDefinition.colHeaders = undefined;
function f(){
component.oLanguage = {
};
this.setAddInOptions("colType","trendArrow",function(state){
return {
includeValue: true
};
});
}else{
this.chartDefinition.colFormats = ["%s", "%.2f", "%.2f%"];
this.chartDefinition.colHeaders = undefined;
//Chart definition
$.extend(true,
this.chartDefinition,
dashboardJS.configurations.charts,
dashboardJS.configurations.charts.scatterPlot);
pvc.ext.detTooltip().plotMappings({
"scatter": {
series: "series",
}).install(this.chartDefinition);
postInit function
dashboard.postInit = function() {
//Resize charts
});
elem.chart.options.width = elem.placeholder().width();
});
};
leading: false
});
$(document).ready(function() {
$(window).resize(throttle);
});
};
mapTitleText component
function f() {
}
technologyParam
yearParam
["[Year].[2014]"]
$.extend(true,
this.chartDefinition,
dashboardJS.configurations.charts,
dashboardJS.configurations.charts.barChart);
pvc.ext.detTooltip().install(this.chartDefinition);
}else{
mapLegendText component
function f() {
}else{
'</div>';
charTitleText
function f() {
$('.chartLegend').show();
$('.chartLegend').hide();
countryName
function f() {
country = country.split(".")[country.split(".").length-1].replace("]","").replace("[","");
technologyBreakdownTitleText
function f() {
chartTitleText
function f() {
$('.chartLegend').show();
}else{
$('.chartLegend').hide();
Module 5
function f(event){
alert(helloMessage);
function f(event){
debugger;
alert(helloMessage);
country = "[Geo].[Country].["+country+"]";
dashboard.fireChange("countryParam",country);
render_popUpByCountry.popup($(chartElem));
Module 6
this.setAddInOptions("colType","flagAddin",function(state){
return {
imagesPath:
"/pentaho/api/repos${solution:../../../files/images/flags}/IMAGENAME.png/content"
};
});
Module 7
function f(){
this.visualRoles = {
id: 3,
fill: 4
};
var colorBase = {
"A": "#F2C249",
"G": "#00845B",
"R": "#B71C1C"
};
return colorBase[colour];
};
this.styleMap = {
markers: {
r: 5,
hover: {
'fill-opacity': 0.7,
'stroke-width': 1,
'stroke': 'rgba(0,0,0,.2)',
'z-index': 2
},
normal:{
'fill-opacity': 0.7,
'stroke-width': 1,
'stroke': 'rgba(0,0,0,.2)'
},
};
this.defaultZoomLevel = 2;
function f(){
this.mapEngine.map.isValidZoomLevel = function(z){
};
Module 8
kpiCards Template
function() {
'{{#items}}' +
'</div>' +
'{{/items}}' +
'</div>';
return template;
Module 9
helloUserText
function f(){