breeze.plot.Series.scala Maven / Gradle / Ivy
The newest version!
package breeze.plot
import org.jfree.chart.renderer.xy.XYItemRenderer
import java.awt.{Paint, Stroke}
/**
* A Series is anything that can be added to a [[breeze.plot.Plot]]
* and plotted
* @author dlwh
*/
trait Series {
/**
* returns data needed by jfreechart.
* @param defaultName series index => default name
* @param defaultColor series index => default color
* @param defaultStroke
* @return
*/
def getChartStuff(
defaultName: Int => String,
defaultColor: Int => Paint,
defaultStroke: Int => Stroke): (org.jfree.data.xy.XYDataset, XYItemRenderer)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy