-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7654ef9
Showing
7 changed files
with
652 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2017 Roel Hartman | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Oracle APEX Region Plugin - StatusMeterGauge | ||
Region Plugin to show one or more Status Meter Gauges based on a SQL statement. | ||
|
||
|
||
## Changelog | ||
|
||
#### 1.0.0 - Initial Release | ||
|
||
|
||
## Install | ||
|
||
- Import Plugin File **region_type_plugin_com_apexconsulting_apex_jet_gauge.sql** from the main directory into your Application | ||
- (Optional) Deploy the JS and CSS files from the **server/js** and **server/css** Directory on your Webserver and change the **File Prefix** to Webservers Folder. | ||
|
||
|
||
## Plugin Settings | ||
|
||
Available Plugin Settings : | ||
- **Value column** - the name or alias of the column that should be used as the value (required) | ||
- **Percent column** - the name or alias of the column that should be used as the percent value (can be the same as the Value Column)(required) | ||
- **Label column** - the name or alias of the column that should be used as the label (optional) | ||
- **Color column** - the name or alias of the column that should be used as the color column (optional) | ||
- **Link target** - standard APEX link target option (optional) | ||
- **Orientation** - should the gauges be horizontally or verticaly rendered (required) | ||
- **Height** - the height of the gauge (can be restricted by the available height for the region) (required) | ||
- **Automatic refresh** - refresg after x seconds (optional) | ||
|
||
|
||
## How to use | ||
- Create a new Region based on the Plugin | ||
- Add a SQL Statement like the example below. Then map the columns to the correct aatributes. | ||
``` | ||
select round(dbms_random.value(0,100)) val | ||
, dbms_random.string('l', 10) txt | ||
, '#' || round(dbms_random.value(100000,999999)) color | ||
from dual | ||
connect by level <= 3 | ||
``` | ||
|
||
## Demo Application | ||
[https://apex.oracle.com/pls/apex/f?p=ROELSAPEXJET:STATUSMETERGAUGE](https://apex.oracle.com/pls/apex/f?p=ROELSAPEXJET:STATUSMETERGAUGE) | ||
|
||
|
||
## Related info | ||
Based upon the Status Meter Gauge JET component, see [http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=statusMeterGauge&demo=statusMeterGaugeCircular](http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=statusMeterGauge&demo=statusMeterGaugeCircular) for details. | ||
|
||
|
||
## Preview | ||
## ![](https://github.com/APEXGru/JET-StatusMeterGauge/raw/master/preview.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name" : "JET StatusMeterGauge", | ||
"version" : "1.0.0", | ||
"description" : "Region Plugin to show one or more Status Meter Gauges based on a SQL statement.", | ||
"keywords" : ["JET","chart"], | ||
"homepage" : "https://github.com/APEXGru/JET-StatusMeterGauge", | ||
"bugs" : { | ||
"url" : "https://github.com/APEXGru/JET-StatusMeterGauge/issues", | ||
"email" : "[email protected]" | ||
}, | ||
"license" : "MIT", | ||
"author" : { | ||
"name" : "Roel Hartman", | ||
"email" : "[email protected]", | ||
"url" : "http://roelhartman.blogspot.com", | ||
"twitter" : "RoelH", | ||
}, | ||
"repository" : { | ||
"type" : "git", | ||
"url" : "https://github.com/APEXGru/JET-StatusMeterGauge.git" | ||
}, | ||
"oracle" : { | ||
"versions" : ["11.2.0.1", "12.1.0.1", "12.2.0.1"], | ||
"apex" : { | ||
"versions" : ["5.1.0,5.1.1,5.1.2"], | ||
"plugin" : { | ||
"internalName" : "COM.APEXCONSULTING.APEX.JET.GAUGE", | ||
"type" : "region", | ||
"demo" : "https://apex.oracle.com/pls/apex/f?p=ROELSAPEXJET:STATUSMETERGAUGE", | ||
"previewImage" : "https://github.com/APEXGru/JET-StatusMeterGauge/raw/master/preview.png" | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.