aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scalam/plotting/line/lines.scala
blob: 340ebd11188d58e643dbfffc2044557c143089fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package scalam.plotting.line

import scalam.m.ast._
import scalam.plotting.StyleElement

trait Line extends StyleElement {
  val name = StringLiteral("LineStyle")
}

case object Solid extends Line {def expression = StringLiteral("-")}
case object Dashed extends Line {def expression = StringLiteral("--")}
case object Dotted extends Line {def expression = StringLiteral(":")}
case object DashDot extends Line {def expression = StringLiteral("-.")}
case object NoLine extends Line {def expression = StringLiteral("none")}