CategoricalPaintScaleFactory

Creates a categorical paint scale using the Category20 palette borrowed from Protovis. http://vis.stanford.edu/protovis/docs/color.html

Beware that category colors can be reused if the number of distinct items is greater than 20.

trait Serializable
trait Product
trait Equals
trait Iterable[T] => PaintScale[T]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(items: Iterable[T]): PaintScale[T]
Definition Classes

Inherited methods

def andThen[A](g: PaintScale[T] => A): Iterable[T] => A
Inherited from:
Function1
def compose[A](g: A => Iterable[T]): A => PaintScale[T]
Inherited from:
Function1
Inherited from:
Product
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1