Class ChartFactory
- java.lang.Object
-
- cern.accsoft.steering.jmad.gui.dv.ChartFactory
-
public abstract class ChartFactory extends java.lang.ObjectThis class provides methods to create charts for JMad
-
-
Constructor Summary
Constructors Constructor Description ChartFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconfigurePolylineChart(cern.jdve.data.DataSource ds, cern.jdve.Chart chart)configures a chart with the default interactors for JMadabstract MarkableChartcreateMarkableChart()this method shall create a markable chart, which reacts on elements to be shown as markers in the chart.cern.jdve.ChartcreateMarkablePolyLineChart(cern.jdve.data.DataSource ds)creates a chart from a datasource with the default interactors for JMad.cern.jdve.renderer.PolylineChartRenderercreatePolyLineRenderer(cern.jdve.data.DataSource ds)
-
-
-
Method Detail
-
createMarkablePolyLineChart
public cern.jdve.Chart createMarkablePolyLineChart(cern.jdve.data.DataSource ds)
creates a chart from a datasource with the default interactors for JMad.- Parameters:
ds- the DataSource- Returns:
- the chart
-
configurePolylineChart
public void configurePolylineChart(cern.jdve.data.DataSource ds, cern.jdve.Chart chart)configures a chart with the default interactors for JMad- Parameters:
ds- the dataset to displaychart- the chart to configure
-
createPolyLineRenderer
public cern.jdve.renderer.PolylineChartRenderer createPolyLineRenderer(cern.jdve.data.DataSource ds)
-
createMarkableChart
public abstract MarkableChart createMarkableChart()
this method shall create a markable chart, which reacts on elements to be shown as markers in the chart. this method is injected by spring.- Returns:
- the MarkableChart
-
-