SpagoBIMobileEngine: Bringing Business Intelligence to mobile devices
- Mobile Table: gives a tabular layout to data loaded from the associated dataset
- Mobile Chart: displays Sencha-Touch charts over dataset data
- Mobile Cockpit: composes charts and reports in a single layout, within the possibility for each document to interact with the others, passing them parameters
- Create an analytical document with the following required information:
- Label: the label of the document
- Name: Name of the document.
- Type: Mobile Report
- Engine: Mobile Report Engine
- Data Source: your data source, e.g. foodmart.
- Dataset: locate the dataset for which you would like to develop table.Notes: Make sure the engine has been configured. This is configured by default with version 3.4.
- Locate and upload the document template (.xml) file.
This tag is used to show title on the chart, we can change the style tag to change the visibility of the title on page.
This is start of the table column tag. We can have more than one columns depending upon our requirements.
Column header is the header of column and value is the dataset field name.
Use the following tag in case you would like to link this chart to another document (cross navigation).
Here the document references the target document label and for each parameter, it is necessary to define the name (url) of the target parameter and the type of it.
The type can assume next values:
CATEGORY: pass the category’s value selected.
SERIE: pass the serie’s value selected.
ABSOLUTE: pass the constant defined into the value property.
RELATIVE: pass the value of the parameter presents in the request with the name defined in the same property.
3. Save and execute the document.
Develop Mobile Chart
Please follow the steps below to develop mobile table:
- Create an analytical document with the following required information:
- Label: the label of the document.
- Name: Name of the document.
- Type: Mobile Chart
- Engine: Mobile Chart Engine
- Data Source: your data source, e.g. foodmart.
- Dataset: locate the dataset for which you would like to develop table.Notes: Make sure the engine has been configured. This is configured by default with version 3.4.
- Locate and upload the document template (.xml) file.
Details on the document template
Bar Chart
The width and height of the chart, we can have this value either in pixel or, percentage.
Please follow the steps below to develop mobile table:
- Create an analytical document with the following required information:
- Label: the label of the document.
- Name: Name of the document.
- Type: Mobile Cockpit
- Engine: Mobile Cockpit EngineNotes: Make sure the engine has been configured. This is configured by default with version 3.4.
- Locate and upload the document template (.xml) file.
Configure the title of the document.
This is the start of the document tag. There is a block for every document that we would like to view/present in our cockpit/dashboard. We can add as many document tags as we need depending upon our views requirements. There is no limit and so we can create a composite document with 2,3,4,6, … sub-documents and everyone can shows different layout. The only limit is our common sense, because see too many documents can create confusion rather than help the data analysis.
Label defines the label by which the document is saved into SapgoBI.
This is the configuration of the input parameters, urlName is the label by which the parameter is saved into SpagoBI (the url in detail document section) and defaultValue is a value that the engine pass to the document if is not found explicitly in the url.
3. Save and execute the document to show the composed view.
Others clarifications:
In case the documents have cross navigation defined separately, the composed document will be shown as interactive, we do not need to define it in Cockpit. This should be defined in separate document with the following tags:
Here the document references the target document label and for each parameter, it is necessary to define the name (url) of the target parameter and the type of it.
The type can assume next values:
CATEGORY: pass the category’s value selected.
SERIE: pass the serie’s value selected.
ABSOLUTE: pass the constant defined into the value property.
RELATIVE: pass the value of the parameter presents in the request with the name defined in the same property.
Attachments & References
- SpagoBIMobile uses Sencha touch chart for rendering the charts, so please refer document on Sencha website i.e.http://www.sencha.com/products/touch/charts for details.
- SpagoBI Wiki, http://www.spagoworld.org/xwiki/bin/view/SpagoBI/MobileBI
- Enclosed please find sample document template for Mobile Table, Bar chart, Pie Chart, Line Chart and Cockpit at http://paxcel.net/blog/wp-content/uploads/2012/06/SpagoBI.rar
No comments:
Post a Comment