StyleExpr

com.netflix.atlas.core.model.StyleExpr
See theStyleExpr companion object
case class StyleExpr(expr: TimeSeriesExpr, settings: Map[String, String]) extends Expr

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Expr
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def alpha: Option[Int]
def axis: Option[Int]
def color: Option[String]
def legend(t: TimeSeries): String
def legend(label: String, tags: Map[String, String]): String
def limit: Option[Int]

Returns the maximum number of lines that should be shown for this expression.

Returns the maximum number of lines that should be shown for this expression.

Attributes

def lineStyle: Option[String]
def lineWidth: Float
def offset: Long
def palette: Option[String]
def perOffset: List[StyleExpr]

Returns a list of style expressions with one entry per offset specified. This is to support a legacy form or :offset that takes a list and is applied on the style expression. Since further style operations need to get applied to all results we cannot expand until the full expression is evaluated. Should get removed after we have a better story around deprecation.

Returns a list of style expressions with one entry per offset specified. This is to support a legacy form or :offset that takes a list and is applied on the style expression. Since further style operations need to get applied to all results we cannot expand until the full expression is evaluated. Should get removed after we have a better story around deprecation.

If no high level offset is used then a list with this expression will be returned.

Attributes

def sortBy: Option[String]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def useDescending: Boolean

Inherited methods

def exprString: String

Returns a string that can be executed with the stack interpreter to create this expression.

Returns a string that can be executed with the stack interpreter to create this expression.

Attributes

Inherited from:
Expr
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def rewrite(f: PartialFunction[Expr, Expr]): Expr

Rewrite the expression using the specified function. The default implementation will try to recursively apply the rewrite to case classes.

Rewrite the expression using the specified function. The default implementation will try to recursively apply the rewrite to case classes.

Attributes

Inherited from:
Expr