org.fujion.plotly.plot.TrendOptions Maven / Gradle / Ivy
/*
* #%L
* fujion
* %%
* Copyright (C) 2021 Fujion Framework
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* #L%
*/
package org.fujion.plotly.plot;
import org.fujion.ancillary.Options;
import org.fujion.annotation.Option;
import org.fujion.plotly.common.DashStyleEnum;
/**
* Controls how upward or downward trend information is displayed.
*/
public class TrendOptions extends Options {
/**
* The fill color.
*
* Default: A half-transparent variant of the line color, marker color, or marker line color,
* whichever is available.
*/
@Option
public String fillcolor;
/**
* The color of line bounding the box(es).
*
* Default: "#3D9970"
*/
@Option("line.color")
public String line_color;
/**
* The dash style of lines.
*
* Default: SOLID
*/
@Option("line.dash")
public DashStyleEnum line_dash$enum;
/**
* An alternative in the form of a dash length list in px (eg "5px,10px,2px,2px").
*/
@Option("line.dash")
public String line_dash$string;
/**
* The width (in px) of line bounding the box(es).
*
* Default: 2
*/
@Option("line.width")
public Integer line_width;
/**
* The segment name. The segment name appear as the legend item and on hover.
*/
@Option
public String name;
/**
* Determines whether or not an item corresponding to this segment is shown in the legend.
*
* Default: true
*/
@Option
public Boolean showlegend;
}