ValueGrid

com.netflix.atlas.chart.graphics.ValueGrid
case class ValueGrid(yaxis: ValueAxis, major: Style, minor: Style) extends Element

Draws horizontal grid lines based on a value axis.

Value parameters

major

Style to use for drawing the major tick lines.

minor

Style to use for drawing the minor tick lines.

yaxis

Axis to use for creating the scale and determining the the tick marks that correspond with the major grid lines.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Element
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def draw(g: Graphics2D, x1: Int, y1: Int, x2: Int, y2: Int): Unit

Inherited methods

def getHeight(g: Graphics2D, width: Int): Int

Compute the height for the element if restricted to the specified width.

Compute the height for the element if restricted to the specified width.

Attributes

Inherited from:
Element
def getWidth(g: Graphics2D, height: Int): Int

Compute the width for the element if restricted to the specified height.

Compute the width for the element if restricted to the specified height.

Attributes

Inherited from:
Element
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product