public class Chart extends Widget<HTMLDivElement,Chart>
| Modifier and Type | Class and Description |
|---|---|
class |
Chart.SVGChart |
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER| Constructor and Description |
|---|
Chart() |
| Modifier and Type | Method and Description |
|---|---|
Chart |
add(Widget<? extends Element<?>,?> widget) |
Serie |
createSerie() |
protected void |
draw() |
ChartTitle |
getChartTitle() |
double |
getMarginBottom() |
List<Serie> |
getSeries() |
List<Serie> |
getSeries(Axis axis) |
SerieType |
getType() |
XAxis |
getXAxis() |
XAxis |
getXAxis(int i) |
YAxis |
getYAxis() |
YAxis |
getYAxis(int i) |
Chart |
setAreaPlotOptions(AreaPlotOptions areaPlotOptions) |
Chart |
setBackgroundColor(Color backgroundColor)
Set the background color.
|
Chart |
setChartSubtitle(ChartSubtitle chartSubtitle) |
Chart |
setChartTitle(ChartTitle chartTitle) |
Chart |
setCredits(Credits credits) |
Chart |
setLegend(Legend legend) |
Chart |
setMarginBottom(double marginBottom) |
Chart |
setSize(double width,
double height)
Sets the object's size.
|
Chart |
setType(SerieType type) |
void |
update(Axis axis) |
addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clear, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isEnabled, isInEventThread, onAttach, onDetach, remove, removeClassName, removeDropTarget, removeStyleName, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutationaddAttachHandleraddDetachHandleraddTransitionEndHandler, addTransitionEndHandleraddMouseDownHandler, addMouseDownHandleraddMouseMoveHandler, addMouseMoveHandleraddMouseOutHandler, addMouseOutHandleraddMouseOverHandler, addMouseOverHandleraddMouseUpHandler, addMouseUpHandleraddWheelHandler, addWheelHandleraddClickHandler, addClickHandleraddDoubleClickHandler, addDoubleClickHandleraddContextMenuHandler, addContextMenuHandleraddTouchStartHandler, addTouchStartHandleraddTouchMoveHandler, addTouchMoveHandleraddTouchForceChangeHandler, addTouchForceChangeHandleraddTouchEndHandler, addTouchEndHandleraddTouchCancelHandler, addTouchCancelHandleraddTouchHoldHandleraddTapHandleraddDoubleTapHandleraddKeyDownHandler, addKeyDownHandleraddKeyUpHandler, addKeyUpHandleraddKeyPressHandler, addKeyPressHandleraddScrollHandler, addScrollHandleraddAnimationStartHandler, addAnimationStartHandleraddAnimationIterationHandler, addAnimationIterationHandleraddAnimationEndHandler, addAnimationEndHandleraddActionHandleraddDoubleActionHandlerprotected void draw()
public SerieType getType()
public double getMarginBottom()
public Chart setMarginBottom(double marginBottom)
public ChartTitle getChartTitle()
public Chart setChartTitle(ChartTitle chartTitle)
public Chart setChartSubtitle(ChartSubtitle chartSubtitle)
public Chart setAreaPlotOptions(AreaPlotOptions areaPlotOptions)
public XAxis getXAxis()
public XAxis getXAxis(int i)
public YAxis getYAxis()
public YAxis getYAxis(int i)
public Chart setSize(double width, double height)
setSize in class Widget<HTMLDivElement,Chart>width - the object's new width, in CSS units (e.g. "10px", "1em")height - the object's new height, in CSS units (e.g. "10px", "1em")public void update(Axis axis)
public Serie createSerie()
public Chart add(Widget<? extends Element<?>,?> widget)
add in class Widget<HTMLDivElement,Chart>public Chart setBackgroundColor(Color backgroundColor)
WidgetWidget.clearBackgroundColor(), the theme's background color will be used.setBackgroundColor in class Widget<HTMLDivElement,Chart>backgroundColor - the background color to setCopyright © 2018 Xalys. All rights reserved.