public class DJXYLineChartBuilder extends AbstractChartBuilder
chart| Constructor and Description |
|---|
DJXYLineChartBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DJXYLineChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.
|
DJXYLineChartBuilder |
addSerie(AbstractColumn column,
String label)
Adds the specified serie column to the dataset with custom label.
|
DJXYLineChartBuilder |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label.
|
DJXYLineChartBuilder |
addSeriesColor(Color color)
Adds the specified series color to the plot.
|
protected byte |
getChartType() |
protected XYDataset |
getDataset() |
protected LinePlot |
getPlot() |
DJXYLineChartBuilder |
setBackColor(Color backColor)
Sets the background color.
|
protected DJXYLineChartBuilder |
setCategory(PropertyColumn xValue)
Allows AbstractChartBuilder to set the key column
|
DJXYLineChartBuilder |
setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
Sets the category axis format.
|
DJXYLineChartBuilder |
setCentered(boolean centered)
Sets the centered.
|
DJXYLineChartBuilder |
setCustomizerClass(String customizerClass)
Sets a user specified chart customizer class name.
|
DJXYLineChartBuilder |
setHeight(int height)
Sets the chart height.
|
DJXYLineChartBuilder |
setLabelRotation(double labelRotation)
Sets the angle in degrees to rotate the data axis labels.
|
DJXYLineChartBuilder |
setLegendBackgroundColor(Color legendBackgroundColor)
Sets the legend background color.
|
DJXYLineChartBuilder |
setLegendColor(Color legendColor)
Sets the legend color.
|
DJXYLineChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font.
|
DJXYLineChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJXYLineChartBuilder |
setLineColor(Color lineColor)
Sets the line color.
|
DJXYLineChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE).
|
DJXYLineChartBuilder |
setLineWidth(float lineWidth)
Sets the line width.
|
DJXYLineChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink.
|
DJXYLineChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
|
DJXYLineChartBuilder |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL).
|
DJXYLineChartBuilder |
setPadding(int padding)
Sets the padding.
|
DJXYLineChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER).
|
DJXYLineChartBuilder |
setSeriesColors(List seriesColors)
Set the specified series colors to the plot.
|
DJXYLineChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility.
|
DJXYLineChartBuilder |
setShowLines(boolean showLines)
Sets the lines visibility.
|
DJXYLineChartBuilder |
setShowShapes(boolean showShapes)
Sets the shapes visibility.
|
DJXYLineChartBuilder |
setSubtitle(String subtitle)
Sets the subtitle.
|
DJXYLineChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression.
|
DJXYLineChartBuilder |
setSubtitleColor(Color subtitleColor)
Sets the subtitle color.
|
DJXYLineChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font.
|
DJXYLineChartBuilder |
setTheme(String theme)
Sets the theme.
|
DJXYLineChartBuilder |
setTitle(String title)
Sets the title.
|
DJXYLineChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression.
|
DJXYLineChartBuilder |
setTitleColor(Color titleColor)
Sets the title color.
|
DJXYLineChartBuilder |
setTitleFont(Font titleFont)
Sets the title font.
|
DJXYLineChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJXYLineChartBuilder |
setValueAxisFormat(DJAxisFormat valueAxisFormat)
Sets the value axis format.
|
DJXYLineChartBuilder |
setWidth(int width)
Sets the chart width.
|
DJXYLineChartBuilder |
setX(int x)
Sets the x position.
|
DJXYLineChartBuilder |
setXValue(PropertyColumn xValue)
Sets the x value column.
|
DJXYLineChartBuilder |
setY(int y)
Sets the y position.
|
build, setChartOptions, setColumnGrouppublic DJXYLineChartBuilder setOperation(byte operation)
setOperation in class AbstractChartBuilderoperation - the chart data operationpublic DJXYLineChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilderlink - the hyperlinkpublic DJXYLineChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilderbackColor - the background colorpublic DJXYLineChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilderheight - the chart heightpublic DJXYLineChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilderwidth - the chart widthpublic DJXYLineChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuildercentered - the centeredpublic DJXYLineChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilderposition - the positionpublic DJXYLineChartBuilder setY(int y)
setY in class AbstractChartBuildery - the y positionpublic DJXYLineChartBuilder setX(int x)
setX in class AbstractChartBuildery - the x positionpublic DJXYLineChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuildershowLegend - the legend visibilitypublic DJXYLineChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuildertitleColor - the title colorpublic DJXYLineChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuildersubtitleColor - the subtitle colorpublic DJXYLineChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilderlegendColor - the legend colorpublic DJXYLineChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilderlegendBackgroundColor - the legend background colorpublic DJXYLineChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuildertheme - the themepublic DJXYLineChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuildertitleFont - the title fontpublic DJXYLineChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuildersubtitleFont - the subtitle fontpublic DJXYLineChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilderlegendFont - the legend fontpublic DJXYLineChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilderlegendPosition - the legend positionpublic DJXYLineChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuildertitlePosition - the title positionpublic DJXYLineChartBuilder setTitle(String title)
setTitle in class AbstractChartBuildertitle - the titlepublic DJXYLineChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuildertitleExpression - the title expressionpublic DJXYLineChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuildersubtitle - the subtitlepublic DJXYLineChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuildersubtitleExpression - the subtitle expressionpublic DJXYLineChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilderlineStyle - one of the line style constants in DJChartOptions classpublic DJXYLineChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilderlineWidth - the line widthpublic DJXYLineChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilderlineColor - the line colorpublic DJXYLineChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilderpadding - the paddingpublic DJXYLineChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilderJRChartCustomizerprotected DJXYLineChartBuilder setCategory(PropertyColumn xValue)
setCategory in class AbstractChartBuilderpublic DJXYLineChartBuilder setXValue(PropertyColumn xValue)
xValue - the x value columnpublic DJXYLineChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuildercolumn - the serie columnpublic DJXYLineChartBuilder addSerie(AbstractColumn column, String label)
column - the serie columnlabel - column the custom labelpublic DJXYLineChartBuilder addSerie(AbstractColumn column, StringExpression labelExpression)
column - the serie columnlabel - column the custom labelpublic DJXYLineChartBuilder setLabelRotation(double labelRotation)
labelRotation - the label rotationpublic DJXYLineChartBuilder setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation - the plot orientationpublic DJXYLineChartBuilder addSeriesColor(Color color)
addSeriesColor in class AbstractChartBuildercolor - the series colorpublic DJXYLineChartBuilder setSeriesColors(List seriesColors)
setSeriesColors in class AbstractChartBuilderseriesColors - the series colorspublic DJXYLineChartBuilder setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
categoryAxisFormat - the category axis formatpublic DJXYLineChartBuilder setValueAxisFormat(DJAxisFormat valueAxisFormat)
valueAxisFormat - the value axis formatpublic DJXYLineChartBuilder setShowShapes(boolean showShapes)
showShapes - the shapes visibilitypublic DJXYLineChartBuilder setShowLines(boolean showLines)
showLines - the lines visibilityprotected XYDataset getDataset()
getDataset in class AbstractChartBuilderprotected LinePlot getPlot()
getPlot in class AbstractChartBuilderprotected byte getChartType()
getChartType in class AbstractChartBuilderCopyright © 2006–2015 FDV Solutions. All rights reserved.