public class DJXYLineChartBuilder extends AbstractChartBuilder<DJXYLineChartBuilder>
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<Color> 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 AbstractChartBuilder<DJXYLineChartBuilder>operation - the chart data operationpublic DJXYLineChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilder<DJXYLineChartBuilder>link - the hyperlinkpublic DJXYLineChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilder<DJXYLineChartBuilder>backColor - the background colorpublic DJXYLineChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilder<DJXYLineChartBuilder>height - the chart heightpublic DJXYLineChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilder<DJXYLineChartBuilder>width - the chart widthpublic DJXYLineChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuilder<DJXYLineChartBuilder>centered - the centeredpublic DJXYLineChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilder<DJXYLineChartBuilder>position - the positionpublic DJXYLineChartBuilder setY(int y)
setY in class AbstractChartBuilder<DJXYLineChartBuilder>y - the y positionpublic DJXYLineChartBuilder setX(int x)
setX in class AbstractChartBuilder<DJXYLineChartBuilder>public DJXYLineChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuilder<DJXYLineChartBuilder>showLegend - the legend visibilitypublic DJXYLineChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuilder<DJXYLineChartBuilder>titleColor - the title colorpublic DJXYLineChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuilder<DJXYLineChartBuilder>subtitleColor - the subtitle colorpublic DJXYLineChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilder<DJXYLineChartBuilder>legendColor - the legend colorpublic DJXYLineChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilder<DJXYLineChartBuilder>legendBackgroundColor - the legend background colorpublic DJXYLineChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuilder<DJXYLineChartBuilder>theme - the themepublic DJXYLineChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuilder<DJXYLineChartBuilder>titleFont - the title fontpublic DJXYLineChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuilder<DJXYLineChartBuilder>subtitleFont - the subtitle fontpublic DJXYLineChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilder<DJXYLineChartBuilder>legendFont - the legend fontpublic DJXYLineChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilder<DJXYLineChartBuilder>legendPosition - the legend positionpublic DJXYLineChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuilder<DJXYLineChartBuilder>titlePosition - the title positionpublic DJXYLineChartBuilder setTitle(String title)
setTitle in class AbstractChartBuilder<DJXYLineChartBuilder>title - the titlepublic DJXYLineChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuilder<DJXYLineChartBuilder>titleExpression - the title expressionpublic DJXYLineChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuilder<DJXYLineChartBuilder>subtitle - the subtitlepublic DJXYLineChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuilder<DJXYLineChartBuilder>subtitleExpression - the subtitle expressionpublic DJXYLineChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilder<DJXYLineChartBuilder>lineStyle - one of the line style constants in DJChartOptions classpublic DJXYLineChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilder<DJXYLineChartBuilder>lineWidth - the line widthpublic DJXYLineChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilder<DJXYLineChartBuilder>lineColor - the line colorpublic DJXYLineChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilder<DJXYLineChartBuilder>padding - the paddingpublic DJXYLineChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilder<DJXYLineChartBuilder>JRChartCustomizerprotected DJXYLineChartBuilder setCategory(PropertyColumn xValue)
setCategory in class AbstractChartBuilder<DJXYLineChartBuilder>public DJXYLineChartBuilder setXValue(PropertyColumn xValue)
xValue - the x value columnpublic DJXYLineChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuilder<DJXYLineChartBuilder>column - 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 columnpublic 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 AbstractChartBuilder<DJXYLineChartBuilder>color - the series colorpublic DJXYLineChartBuilder setSeriesColors(List<Color> seriesColors)
setSeriesColors in class AbstractChartBuilder<DJXYLineChartBuilder>seriesColors - 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 AbstractChartBuilder<DJXYLineChartBuilder>protected LinePlot getPlot()
getPlot in class AbstractChartBuilder<DJXYLineChartBuilder>protected byte getChartType()
getChartType in class AbstractChartBuilder<DJXYLineChartBuilder>Copyright © 2006–2021 FDV Solutions. All rights reserved.