<script type="text/javascript">
// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
var swfVersionStr = "11.1.0";
// To use express install, set to playerProductInstall.swf, otherwise the empty string.
var xiSwfUrlStr = "playerProductInstall.swf";
var flashvars = {}; flashvars.show_mode=3;//1:report; 2:view; 3:edit; 4:columnchart 5:piechart 6:lineChart 7:barChart flashvars.show_toolbar=1; flashvars.mdx="select NON EMPTY {[Measures]} on columns, {[Customers].[All Customers].children} on rows from [SteelWheelsSales]"; flashvars.dataSource="Provider=Mondrian;DataSource=Pentaho"; flashvars.cubeName="SteelWheelsSales"; flashvars.serviceURL="http://localhost:8080/pentaho/Xmla?userid=joe&password=password"; flashvars.useNumberColor=0; flashvars.highColor=16711680;//FF0000 flashvars.lowColor=204;//0x00FF00 flashvars.highThreshold=10000; flashvars.lowThreshold=1000;
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "FlexOlapView";
attributes.name = "FlexOlapView";
attributes.align = "middle";
swfobject.embedSWF(
"FlexOlapView.swf", "flashContent",
"100%", "100%",
swfVersionStr, xiSwfUrlStr,
flashvars, params, attributes);
// JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
swfobject.createCSS("#flashContent", "display:block;text-align:left;");
</script> |