1/*2 * Licensed to the Apache Software Foundation (ASF) under one3 * or more contributor license agreements. See the NOTICE file4 * distributed with this work for additional information5 * regarding copyright ownership. The ASF licenses this file6 * to you under the Apache License, Version 2.0 (the7 * "License"); you may not use this file except in compliance8 * with the License. You may obtain a copy of the License at9 *10 * http://www.apache.org/licenses/LICENSE-2.011 *12 * Unless required by applicable law or agreed to in writing, software13 * distributed under the License is distributed on an "AS IS" BASIS,14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.15 * See the License for the specific language governing permissions and16 * limitations under the License.17 */18package org.apache.hadoop.chukwa.hicc.bean;
192021publicclassBarOptionsextendsSeriesOptions {
22publicboolean zero;
23publicboolean stepByStep = true;
24publicint barWidth = 4;
25public String align;
26publicboolean horizontal;
2728publicBarOptions() {
29 fill = true;
30 }
3132publicboolean getZero() {
33return zero;
34 }
3536publicvoid setZero(boolean zero) {
37this.zero = zero;
38 }
3940publicboolean getStepByStep() {
41return stepByStep;
42 }
4344publicvoid setStepByStep(boolean stepByStep) {
45this.stepByStep = stepByStep;
46 }
4748publicint getBarWidth() {
49return barWidth;
50 }
5152publicvoid setBarWidth(int barWidth) {
53this.barWidth = barWidth;
54 }
5556public String getAlign() {
57return align;
58 }
5960publicvoid setAlign(String align) {
61this.align = align;
62 }
6364publicboolean getHorizontal() {
65returnthis.horizontal;
66 }
6768publicvoid setHorizontal(boolean horizontal) {
69this.horizontal = horizontal;
70 }
71 }