-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notice.todo
51 lines (40 loc) · 1.7 KB
/
Notice.todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Notice for future use:
PDF to image:
https://pdfbox.apache.org/index.html
http://www.docjar.com/html/api/org/apache/pdfbox/PDFToImage.java.html
http://blog.rubypdf.com/2008/01/30/pdftoimage-convert-pdf-to-image-by-using-pdfrenderer-library/
http://www.baeldung.com/pdf-conversions-java
Logging 4 GWT:
https://gwt.googlesource.com/gwt/+/refs/heads/master/user/super/com/google/gwt/emul/java/util/logging/Logger.java
Chart.js:
https://github.com/pepstock-org/Charba
'''
xmlns:c="urn:import:org.pepstock.charba.client"
<g:VerticalPanel width="100%" height="30%" ui:field="container">
<g:cell width="100%" height="90%" verticalAlignment="middle" horizontalAlignment="center">
<c:DoughnutChart ui:field="chart"/>
</g:cell>
</g:VerticalPanel>
@UiField DoughnutChart chart;
chart.getOptions().setResponsive(true);
chart.getOptions().getLegend().setPosition(Position.top);
chart.getOptions().getTitle().setDisplay(true);
chart.getOptions().getTitle().setText("Charba Doughnut Chart");
DoughnutDataset dataset = chart.newDataset();
dataset.setLabel("dataset 1");
dataset.setBackgroundColor("red", "blue");
dataset.setData(0.3, 0.7);
dataset.setLabel("Label");
chart.getData().setLabels("Roter Bereich", "Blauer Bereich");
//chart.getData().setLabels("", "");
//chart.getOptions().getLegend().setDisplay(false);
chart.getData().setDatasets(dataset);
'''
Clean data tables for system setup:
TRUNCATE TABLE Muutos_SystemParamameters;
TRUNCATE TABLE Muutos_Texts;
TRUNCATE TABLE Muutos_Languages;
TRUNCATE TABLE Muutos_UserGroups;
DELETE FROM Muutos_Users;
UPDATE Muutos_Tenants SET ParentId = NULL, TopTenant = NULL;
DELETE FROM Muutos_Tenants;