net.yadaframework.web.flot.YadaFlotSeriesObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yadaweb Show documentation
Show all versions of yadaweb Show documentation
Some useful tasks for the Yada Framework
package net.yadaframework.web.flot;
import java.io.Serializable;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
//https://github.com/dunse/FlotJF
/**
* A Flot Series in Object format.
*
*
* JSON Data format for Data:
*
{
color: color or number
data: rawdata
label: string
lines: specific lines options
bars: specific bars options
points: specific points options
xaxis: number
yaxis: number
clickable: boolean
hoverable: boolean
shadowSize: number
highlightColor: color or number
}
*
* @see Flot Documentation
*/
@JsonInclude(Include.NON_DEFAULT)
public class YadaFlotSeriesObject extends YadaFlotSeriesOptions implements Serializable {
private static final long serialVersionUID = 1L;
private String color = null;
private ArrayList