2 * ================================================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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 * ================================================================================
20 package org.openecomp.portalsdk.analytics.model.runtime;
22 public class CommonChartOptions {
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;
33 public String getLegendPosition() {
34 return legendPosition;
36 public void setLegendPosition(String legendPosition) {
37 this.legendPosition = legendPosition;
39 public String getLegendLabelAngle() {
40 return legendLabelAngle;
42 public void setLegendLabelAngle(String legendLabelAngle) {
43 this.legendLabelAngle = legendLabelAngle;
45 public boolean isHideLegend() {
48 public void setHideLegend(boolean hideLegend) {
49 this.hideLegend = hideLegend;
51 public boolean isAnimateAnimatedChart() {
52 return animateAnimatedChart;
54 public void setAnimateAnimatedChart(boolean animateAnimatedChart) {
55 this.animateAnimatedChart = animateAnimatedChart;
57 public int getTopMargin() {
60 public void setTopMargin(int topMargin) {
61 this.topMargin = topMargin;
63 public int getBottomMargin() {
66 public void setBottomMargin(int bottomMargin) {
67 this.bottomMargin = bottomMargin;
69 public int getLeftMargin() {
72 public void setLeftMargin(int leftMargin) {
73 this.leftMargin = leftMargin;
75 public int getRightMargin() {
78 public void setRightMargin(int rightMargin) {
79 this.rightMargin = rightMargin;