e3e9fc67543ad24119691f659a6c62393c8cbab1
[portal/sdk.git] /
1 /*-
2  * ================================================================================
3  * eCOMP Portal SDK
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.openecomp.portalsdk.analytics.model.runtime;
21
22 public class CommonChartOptions {
23         
24         private String legendPosition = "top";
25         private String legendLabelAngle = "up45";
26         private boolean hideLegend = false;
27         private boolean animateAnimatedChart = true;
28         private int topMargin = 30;
29         private int bottomMargin = 50;
30         private int leftMargin = 100;
31         private int rightMargin = 60;
32         
33         public String getLegendPosition() {
34                 return legendPosition;
35         }
36         public void setLegendPosition(String legendPosition) {
37                 this.legendPosition = legendPosition;
38         }
39         public String getLegendLabelAngle() {
40                 return legendLabelAngle;
41         }
42         public void setLegendLabelAngle(String legendLabelAngle) {
43                 this.legendLabelAngle = legendLabelAngle;
44         }
45         public boolean isHideLegend() {
46                 return hideLegend;
47         }
48         public void setHideLegend(boolean hideLegend) {
49                 this.hideLegend = hideLegend;
50         }
51         public boolean isAnimateAnimatedChart() {
52                 return animateAnimatedChart;
53         }
54         public void setAnimateAnimatedChart(boolean animateAnimatedChart) {
55                 this.animateAnimatedChart = animateAnimatedChart;
56         }
57         public int getTopMargin() {
58                 return topMargin;
59         }
60         public void setTopMargin(int topMargin) {
61                 this.topMargin = topMargin;
62         }
63         public int getBottomMargin() {
64                 return bottomMargin;
65         }
66         public void setBottomMargin(int bottomMargin) {
67                 this.bottomMargin = bottomMargin;
68         }
69         public int getLeftMargin() {
70                 return leftMargin;
71         }
72         public void setLeftMargin(int leftMargin) {
73                 this.leftMargin = leftMargin;
74         }
75         public int getRightMargin() {
76                 return rightMargin;
77         }
78         public void setRightMargin(int rightMargin) {
79                 this.rightMargin = rightMargin;
80         }       
81 }