Class XYLineChart
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.xchart.chart.AbstractChartGenerator<C,D>
-
- adams.gui.visualization.xchart.chart.AbstractChartGeneratorWithAxisLabels<org.knowm.xchart.XYChart,XYDataset>
-
- adams.gui.visualization.xchart.chart.AbstractXYChartGenerator
-
- adams.gui.visualization.xchart.chart.XYLineChart
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,QuickInfoSupporter,SizeOfHandler,ColorProviderHandler,Serializable
public class XYLineChart extends AbstractXYChartGenerator
Generates an XY line chart.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.xchart.chart.AbstractXYChartGenerator
m_BackgroundColor, m_ColorProvider, m_DiagonalColor, m_MarkerSize, m_ZoomSelectionColor
-
Fields inherited from class adams.gui.visualization.xchart.chart.AbstractChartGeneratorWithAxisLabels
m_LabelX, m_LabelY
-
Fields inherited from class adams.gui.visualization.xchart.chart.AbstractChartGenerator
m_Legend, m_LegendPosition, m_Title
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description XYLineChart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringglobalInfo()Returns a string describing the object.protected voidstyleChart(org.knowm.xchart.XYChart chart, Datasets<XYDataset> data)Applies styling to the chart.-
Methods inherited from class adams.gui.visualization.xchart.chart.AbstractXYChartGenerator
addData, backgroundColorTipText, buildChart, colorProviderTipText, defineOptions, diagonalColorTipText, getBackgroundColor, getColorProvider, getDiagonalColor, getMarkerSize, getZoomSelectionColor, markerSizeTipText, setBackgroundColor, setColorProvider, setDiagonalColor, setMarkerSize, setZoomSelectionColor, zoomSelectionColorTipText
-
Methods inherited from class adams.gui.visualization.xchart.chart.AbstractChartGeneratorWithAxisLabels
getLabelX, getLabelY, getQuickInfo, labelXTipText, labelYTipText, setLabelX, setLabelY
-
Methods inherited from class adams.gui.visualization.xchart.chart.AbstractChartGenerator
check, doGenerate, generate, getLegend, getLegendPosition, getTitle, legendPositionTipText, legendTipText, postGenerate, setLegend, setLegendPosition, setTitle, titleTipText
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
styleChart
protected void styleChart(org.knowm.xchart.XYChart chart, Datasets<XYDataset> data)Applies styling to the chart.- Overrides:
styleChartin classAbstractXYChartGenerator- Parameters:
data- the data to will be addedchart- the chart to style
-
-