final case class ScatterStyle(xSource: PlotDoubleSeries, ySource: PlotDoubleSeries, symbol: PlotSymbol = Ellipse, symbolWidth: PlotDoubleSeries = 10, symbolHeight: PlotDoubleSeries = 10, xSizing: PlotSymbol.Sizing.Value = PlotSymbol.Sizing.Pixels, ySizing: PlotSymbol.Sizing.Value = PlotSymbol.Sizing.Pixels, colors: PlotIntSeries = BlackARGB, lines: Option[LineData] = None, xErrorBars: Option[PlotDoubleSeries] = None, yErrorBars: Option[PlotDoubleSeries] = None) extends NumberNumberPlotStyle with Product with Serializable
This class represents a highly functional scatter plot. The points can use different symbols that are scaled/sized in different ways in both the X and Y direction. Each point can have a different color associated with it. They can also be connected with lines and have error bars on them.
- Alphabetic
- By Inheritance
- ScatterStyle
- Serializable
- Serializable
- Product
- Equals
- NumberNumberPlotStyle
- PlotStyle
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScatterStyle(xSource: PlotDoubleSeries, ySource: PlotDoubleSeries, symbol: PlotSymbol = Ellipse, symbolWidth: PlotDoubleSeries = 10, symbolHeight: PlotDoubleSeries = 10, xSizing: PlotSymbol.Sizing.Value = PlotSymbol.Sizing.Pixels, ySizing: PlotSymbol.Sizing.Value = PlotSymbol.Sizing.Pixels, colors: PlotIntSeries = BlackARGB, lines: Option[LineData] = None, xErrorBars: Option[PlotDoubleSeries] = None, yErrorBars: Option[PlotDoubleSeries] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def calcStartEnd(): (Int, Int)
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- val colors: PlotIntSeries
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lines: Option[LineData]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
render(r: Renderer, bounds: Bounds, xAxis: Axis, xminFunc: (Axis) ⇒ Double, xmaxFunc: (Axis) ⇒ Double, yAxis: Axis, yminFunc: (Axis) ⇒ Double, ymaxFunc: (Axis) ⇒ Double, axisBounds: Seq[Bounds]): (Seq[Double], Seq[Double], AxisRenderer, AxisRenderer)
This method will render the plot to the specified region using the provided renderer with the given axes and bounds for the axes.
This method will render the plot to the specified region using the provided renderer with the given axes and bounds for the axes.
- r
This is the renderer that plot will be drawn to.
- bounds
This is the region of the renderer that will draw to.
- xAxis
This is the x-axis for the style. Code should call renderInfo and pass through data.
- yAxis
This is the y-axis for the style. Code should call renderInfo and pass through data.
- axisBounds
These are passed in by the grid and used by the axes. You shouldn't use them for other purposes.
- returns
This is all information provided by the renderInfo methods of the axes that is returned to the grid.
- Definition Classes
- ScatterStyle → PlotStyle
- val symbol: PlotSymbol
- val symbolHeight: PlotDoubleSeries
- val symbolWidth: PlotDoubleSeries
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
xDataMax(): Option[Double]
Returns the maximum numeric value for the x-axis for this plot if applicable.
Returns the maximum numeric value for the x-axis for this plot if applicable.
- Definition Classes
- ScatterStyle → PlotStyle
-
def
xDataMin(): Option[Double]
Returns the minimum numeric value for the x-axis for this plot if applicable.
Returns the minimum numeric value for the x-axis for this plot if applicable.
- Definition Classes
- ScatterStyle → PlotStyle
- val xErrorBars: Option[PlotDoubleSeries]
- val xSizing: PlotSymbol.Sizing.Value
- val xSource: PlotDoubleSeries
- def xdMax(start: Int, end: Int): Double
- def xdMin(start: Int, end: Int): Double
-
def
yDataMax(): Option[Double]
Returns the maximum numeric value for the y-axis for this plot if applicable.
Returns the maximum numeric value for the y-axis for this plot if applicable.
- Definition Classes
- ScatterStyle → PlotStyle
-
def
yDataMin(): Option[Double]
Returns the minimum numeric value for the y-axis for this plot if applicable.
Returns the minimum numeric value for the y-axis for this plot if applicable.
- Definition Classes
- ScatterStyle → PlotStyle
- val yErrorBars: Option[PlotDoubleSeries]
- val ySizing: PlotSymbol.Sizing.Value
- val ySource: PlotDoubleSeries
- def ydMax(start: Int, end: Int): Double
- def ydMin(start: Int, end: Int): Double