Module org.wicketstuff.jqplot4j
Package org.wicketstuff.jqplot.lib
Class ChartConfiguration<T extends Serializable>
java.lang.Object
org.wicketstuff.jqplot.lib.ChartConfiguration<T>
- Type Parameters:
T- Type ofAxis
- All Implemented Interfaces:
Serializable
Base configuration of JqPlot Chart. See jqplot documention
http://www.jqplot.com/docs/files/usage-txt.html
- Author:
- inaiat
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds the series.Instantiates the axes defaults.Instantiates the axes.Instantiates the canvas overlay.Instantiates the cursor.Gets the animate.getAxes()Gets the axes.Gets the axes defaults.Gets the canvas overlay.Gets the cursor.getGrid()Gets the grid.Gets gridPaddingGets the highlighter.Gets the legend.Gets the series.Gets the series colors.Gets the series defaults.Gets the show marker.Gets the stack series.getTitle()Gets the title.Instantiates the grid.Get instance of GridPaddingChecks if is capture right click.setAnimate(Boolean animate) Turns on animation for all series in this plot.Sets the axes.setAxesDefaults(Axis<T> axesDefaults) Sets the axes defaults.setCanvasOverlay(CanvasOverlay canvasOverlay) Sets the canvas overlay.setCaptureRightClick(Boolean captureRightClick) Sets the capture right click.Sets the cursor.Sets the grid.setGridPadding(GridPadding gridPadding) Sets the gridPaddingsetHighlighter(Highlighter highlighter) set the highlighter.Sets the label x.Sets the label y.Sets the legend.setSeries(Collection<Serie> series) Sets the series.setSeriesColors(Collection<String> seriesColor) Sets the series colors.setSeriesDefaults(SeriesDefaults seriesDefaults) Sets the series defaults.setShowMarker(Boolean showMarker) Sets the show marker.setSimpleTitle(String title) Sets the simple title.setStackSeries(Boolean stackSeries) Sets the stack series.Sets the title.
-
Field Details
-
series
The series. -
axes
The axes. -
title
The title. -
axesDefaults
The axes defaults.
-
-
Constructor Details
-
ChartConfiguration
public ChartConfiguration()
-
-
Method Details
-
isCaptureRightClick
Checks if is capture right click.- Returns:
- the boolean
-
setCaptureRightClick
Sets the capture right click.- Parameters:
captureRightClick- the new capture right click- Returns:
- ChartConfiguration
-
getLegend
Gets the legend.- Returns:
- the legend
-
setLegend
Sets the legend.- Parameters:
legend- the new legend- Returns:
- ChartConfiguration
-
setSimpleTitle
Sets the simple title.- Parameters:
title- the new simple title- Returns:
- ChartConfiguration
-
cursorInstance
Instantiates the cursor.- Returns:
- the cursor
-
gridInstance
Instantiates the grid.- Returns:
- the grid
-
axesInstance
Instantiates the axes.- Returns:
- the axes
-
axesDefaultsInstance
Instantiates the axes defaults.- Returns:
- the axis
-
xAxisInstance
-
yAxisInstance
-
seriesInstance
-
seriesDefaultsInstance
-
seriesColorsInstance
-
highlighterInstance
-
setLabelX
Sets the label x.- Parameters:
label- the new label x- Returns:
- ChartConfiguration
-
setLabelY
Sets the label y.- Parameters:
label- the new label y- Returns:
- ChartConfiguration
-
getSeries
Gets the series.- Returns:
- the series
-
setSeries
Sets the series.- Parameters:
series- the series to set- Returns:
- ChartConfiguration
-
addSeries
Adds the series.- Parameters:
serie- the serie- Returns:
- ChartConfiguration
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the title to set- Returns:
- ChartConfiguration
-
getAxesDefaults
Gets the axes defaults.- Returns:
- the axesDefaults
-
setAxesDefaults
Sets the axes defaults.- Parameters:
axesDefaults- the axesDefaults to set- Returns:
- ChartConfiguration
-
getAxes
Gets the axes.- Returns:
- the axes
-
setAxes
Sets the axes.- Parameters:
axes- the axes to set- Returns:
- ChartConfiguration
-
getSeriesDefaults
Gets the series defaults.- Returns:
- the seriesDefaults
-
setSeriesDefaults
Sets the series defaults.- Parameters:
seriesDefaults- the seriesDefaults to set- Returns:
- ChartConfiguration
-
getStackSeries
Gets the stack series.- Returns:
- the stackSeries
-
setStackSeries
Sets the stack series.- Parameters:
stackSeries- the stackSeries to set- Returns:
- ChartConfiguration
-
getShowMarker
Gets the show marker.- Returns:
- the showMarker
-
setShowMarker
Sets the show marker.- Parameters:
showMarker- the showMarker to set- Returns:
- ChartConfiguration
-
getSeriesColors
Gets the series colors.- Returns:
- the series colors
-
setSeriesColors
Sets the series colors.- Parameters:
seriesColor- the new series colors- Returns:
- ChartConfiguration
-
getAnimate
Gets the animate.- Returns:
- animate property
-
setAnimate
Turns on animation for all series in this plot.- Parameters:
animate- true, false- Returns:
- ChartConfiguration
-
getHighlighter
Gets the highlighter.- Returns:
- hightLighter
-
setHighlighter
set the highlighter.- Parameters:
highlighter- property- Returns:
- ChartConfiguration
-
getGrid
Gets the grid.- Returns:
- the grid
-
setGrid
Sets the grid.- Parameters:
grid- the new grid- Returns:
- ChartConfiguration
-
getCursor
Gets the cursor.- Returns:
- the cursor
-
setCursor
Sets the cursor.- Parameters:
cursor- the new cursor- Returns:
- ChartConfiguration
-
getGridPadding
Gets gridPadding- Returns:
- GridPadding
-
setGridPadding
Sets the gridPadding- Parameters:
gridPadding- the new gridPadding- Returns:
- ChartConfiguration
-
gridPaddingInstance
Get instance of GridPadding- Returns:
- GridPadding
-
canvasOverlayInstance
Instantiates the canvas overlay.- Returns:
- the canvas overlay
-
getCanvasOverlay
Gets the canvas overlay.- Returns:
- the canvas overlay
-
setCanvasOverlay
Sets the canvas overlay.- Parameters:
canvasOverlay- the canvasOverlay to set- Returns:
- ChartConfiguration
-