S - Type of Axispublic abstract class AbstractChart<T extends ChartData<?>,S extends Serializable> extends Object implements Chart<T>
| Constructor and Description |
|---|
AbstractChart() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChartDatapublic AbstractChart<T,S> addSeriesColors(String... colors)
public AbstractChart<T,S> addSeriesColors(Collection<String> colors)
public AbstractChart<T,S> setSeriesColors(Collection<String> colors)
public Collection<String> getSeriesColors()
public AbstractChart<T,S> addSerie(Serie serie)
serie - Add serie of chartpublic AbstractChart<T,S> addSeries(Serie... series)
series - Add series of chartpublic abstract ChartConfiguration<S> getChartConfiguration()
ChartgetChartConfiguration in interface Chart<T extends ChartData<?>>public AbstractChart<T,S> setSimpleTitle(String title)
title - Set title of chart@Deprecated public Axes<S> createAxes()
@Deprecated public XAxis<S> createXAxis()
@Deprecated public YAxis<S> createYAxis()
@Deprecated public Axis<S> createAxesDefaults()
public AbstractChart<T,S> setLabelX(String label)
label - Set label for axis Xpublic AbstractChart<T,S> setLabelY(String label)
label - Set label for axis Ypublic Collection<Serie> getSeries()
public AbstractChart<T,S> setSeries(Collection<Serie> series)
series - the series to setpublic Title getTitle()
public AbstractChart<T,S> setTitle(Title title)
title - the title to setpublic AbstractChart<T,S> setAxesDefaults(Axis<S> axesDefaults)
axesDefaults - the axesDefaults to setpublic SeriesDefaults getSeriesDefaults()
public AbstractChart<T,S> setSeriesDefaults(SeriesDefaults seriesDefaults)
seriesDefaults - the seriesDefaults to setpublic AbstractChart<T,S> addIntervalColors(String... values)
values - Set values for interval colorspublic AbstractChart<T,S> addIntervals(Integer... values)
values - Set interval valuespublic AbstractChart<T,S> setStackSeries(Boolean stackSeries)
stackSeries - Enable/Disable stackSeriespublic AbstractChart<T,S> setCaptureRightClick(Boolean captureRightClick)
captureRightClick - Enable/Disable captureRightClickpublic AbstractChart<T,S> setHighlightMouseDown(Boolean highlightMouseDown)
highlightMouseDown - Enable/Disable highlighMouseDownpublic AbstractChart<T,S> setBarMargin(Integer margin)
margin - Set value of marginpublic AbstractChart<T,S> setSliceMargin(Integer margin)
margin - Set value o slice marginpublic AbstractChart<T,S> setDataLabels(String dataLabels)
dataLabels - Set data labelspublic AbstractChart<T,S> setLineWidth(Integer width)
width - Set line widthpublic AbstractChart<T,S> setShowDataLabels(Boolean showDataLabels)
showDataLabels - Enable/Disable show data labelspublic AbstractChart<T,S> setFill(Boolean fill)
fill - Enable/Disable fillpublic AbstractChart<T,S> setBubbleAlpha(Float alpha)
alpha - Set value for bubble alphapublic AbstractChart<T,S> setHighlightAlpha(Float alpha)
alpha - Set value for highlight alphapublic AbstractChart<T,S> setShowLabels(Boolean showLabels)
showLabels - Enable/Disable show labelspublic AbstractChart<T,S> setShadowAlpha(String alpha)
alpha - Set value for shadow alphapublic AbstractChart<T,S> setFillZero(Boolean fillZero)
fillZero - Enable/Disable fill zerospublic AbstractChart<T,S> setShadow(Boolean shadow)
shadow - Enable/Disable shadowpublic AbstractChart<T,S> setLegend(Legend legend)
legend - Set Legend objectpublic AbstractChart<T,S> setGridPadding(GridPadding gridPadding)
gridPadding - Set GridPadding objectpublic GridPadding getGridPadding()
public AbstractChart<T,S> setAxes(Axes<S> axes)
axes - the axes to set@Deprecated public void setTicks(String... ticks)
ticks - Set values for ticks@Deprecated public void setPadMin(Float padMin)
padMin - Set value for padMinpublic CanvasOverlay getCanvasOverlay()
Copyright © 2021. All rights reserved.