Purpose
A KPI View (a bit different to the KPI Tile from samples) but with correct value format and support. The API and properties is very similar to the KPI tile, but some special functions are not available. I hope this is not too big restriction.
This component solfs also the problem Problem regional formats setting
How does it looks like?
Styles | ||
scn-pack-KpiView | the view itself | |
scn-pack-KpiView-Header | for header | |
scn-pack-KpiView-Title | for title | |
scn-pack-KpiView-Link | for link | |
scn-pack-KpiView-Image | for image | |
scn-pack-KpiView-ValuePrefix | for value prefix | |
scn-pack-KpiView-Value | for value | |
scn-pack-KpiView-ValueSuffix | for value suffix | |
scn-pack-KpiView-Footer | for footer |
Available Properties
Property Name | Description |
---|---|
data | cell selection |
headerText | text for header |
headerCssClass | css class for header |
titleText | text for title |
titleCssClass | css class for title |
valuePrefixText | text for value prefix |
valuePrefixCssClass | css class for value prefix |
valueText | text for value |
valueHAlign | align of the value (cannot be changed by scripts, need refresh app when changed) |
valueCssClass | css class for value |
valueDecimalPlaces | number of decimal places 0-9 |
valueSuffixText | text for value suffix |
valueSuffixCssClass | css class for value suffix |
footerText | text for footer |
footerHAlign | align of the footer (cannot be changed by scripts, need refresh app when changed) |
footerCssClass | css class for footer |
linkText | text for link |
linkTooltip | tooltip for link |
image | url for image |
imageSize | image size (choice of 16, 32, 64, 128 px) |
Scripting Functions
Scripts | Short Description |
---|---|
setters / getters for the majority of properties | all those which could be changed in runtime |
void setDataSelection( /* Data cell tha tcontains the value displayed */ ResultCellSelection cellSelection) | for data selection cell |
Events
Event | Description |
---|---|
onClick | triggered when user clicks on some space |
onLinkClick | triggered when user clicks on link |
Example Application
An Application with example can be downloaded at the BIAPP Repository:
Releases
Source Code & Licensing
This component is for free use. It is under the Open Source Apache Version 2.0 License.
Important Maintenance Notice (... as I am SAP Employee)
The component is NOT delivered under SAP maintenance license.
You cannot claim any Support on this component from SAP!
The components are created on "private" basis - you can use them as is. I can modify, correct or improve - but there is no obligation to do it. Of course I will try to correct bugs or improve the component as long I can.
Have Fun!
for other components see: Karol's SDK Components
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
36 | |
25 | |
17 | |
13 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 |