-
Notifications
You must be signed in to change notification settings - Fork 329
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
Showing
38 changed files
with
105 additions
and
25 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
-- v0.5.0 | ||
DROP TABLE IF EXISTS p_group_report; | ||
DROP TABLE IF EXISTS p_component; | ||
DROP TABLE IF EXISTS p_report; | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,59 +1,121 @@ | ||
# Quick Start | ||
|
||
## First time login | ||
Use the default login credentials | ||
username: admin | ||
password: adminadmin | ||
|
||
*screenshot | ||
Open http://localhost:6688/poli/login in chrome. | ||
|
||
Enter a new password and login again. | ||
![login](_images/screenshots/login.jpg) | ||
|
||
*screenshot | ||
Use the default login credentials. | ||
|
||
* username: admin | ||
* password: adminadmin | ||
|
||
![login2](_images/screenshots/login2.jpg) | ||
|
||
Enter a new password and login again. | ||
|
||
![login3](_images/screenshots/login3.jpg) | ||
|
||
## Create a datasource | ||
For example, PostgreSQL | ||
|
||
class name: org.postgresql.Driver | ||
usename: postgres | ||
url: jdbc:postgresql://localhost/test | ||
Enter the data source connection information. | ||
|
||
![ds1](_images/screenshots/ds1.jpg) | ||
|
||
Click ping button to test the connection. | ||
|
||
![ds2](_images/screenshots/ds2.jpg) | ||
|
||
## Create a report | ||
|
||
Click report tab and be ready to create the first report! | ||
|
||
*screenshot | ||
![report1](_images/screenshots/report1.jpg) | ||
|
||
## Create a dashboard | ||
Enter the report name. | ||
|
||
![report2](_images/screenshots/report2.jpg) | ||
|
||
Click save button. A new report is created! | ||
|
||
![report3](_images/screenshots/report3.jpg) | ||
|
||
*screenshot | ||
|
||
create table transaction ( | ||
create_date TIMESTAMP, | ||
category varchar(100), | ||
amount NUMERIC(10, 2) | ||
) | ||
|
||
## Create a static widget | ||
## Create a static component | ||
|
||
Let's create a text box here. Click the edit button to enter report edit mode. | ||
|
||
![report4](_images/screenshots/report4.jpg) | ||
|
||
Click new component button. Select static and text. Enter the value under config tab. | ||
|
||
![report4_1](_images/screenshots/report4_1.jpg) | ||
|
||
Click save button. A new text box is created! | ||
|
||
Image | ||
![report5](_images/screenshots/report5.jpg) | ||
|
||
*screenshot | ||
## Create a chart component | ||
|
||
## Create a chart widget | ||
Let's create a pie chart here. Click new component button. Select chart and pie. | ||
|
||
Pie | ||
![report6](_images/screenshots/report6.jpg) | ||
|
||
SELECT category, SUM(amount) FROM transaction GROUP BY category; | ||
Choose a data source and enter a query. | ||
|
||
## Create a filter widget | ||
![report7](_images/screenshots/report7.jpg) | ||
|
||
Slicer | ||
Go to config tab and select the key vand value for pie chart. | ||
|
||
SELECT category FROM transaction GROUP BY category; | ||
![report8](_images/screenshots/report8.jpg) | ||
|
||
Click save button. A new pie chart is created! | ||
|
||
![report9](_images/screenshots/report9.jpg) | ||
|
||
## Create a filter component | ||
|
||
Let's create a slicer here. Click new component button. Select filter and slicer. Choose a data source and enter a query. | ||
|
||
![report10](_images/screenshots/report10.jpg) | ||
|
||
Go to config tab and assign a value to the query parameter. | ||
|
||
![report11](_images/screenshots/report11.jpg) | ||
|
||
Click save button. A new sclier is created! | ||
|
||
![report12](_images/screenshots/report12.jpg) | ||
|
||
Now it is time to link the slicer and pie chart together. Edit the pie chart query here to include the query parameter. | ||
|
||
![report13](_images/screenshots/report13.jpg) | ||
|
||
Save the report. Select the check box in slicer and click apply filters button. The data in pie chart is being filtered! | ||
|
||
![report14](_images/screenshots/report14.jpg) | ||
|
||
## Create a group | ||
|
||
Regular | ||
![group1](_images/screenshots/group1.jpg) | ||
|
||
![group2](_images/screenshots/group2.jpg) | ||
|
||
## Create a user | ||
|
||
![user1](_images/screenshots/user2.jpg) | ||
|
||
![user2](_images/screenshots/user2.jpg) | ||
|
||
## View the report | ||
|
||
![user3](_images/screenshots/user3.jpg) | ||
|
||
## View the dashboard | ||
![user4](_images/screenshots/user4.jpg) |
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
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