@Component(tag="sparkline", widgetModule="fujion-sparkline", widgetClass="Sparkline", parentTag="*", description="Sparkline component.") public class Sparkline extends BaseUIComponent
BaseComponent.SubComponentlog| Constructor and Description |
|---|
Sparkline() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_initProps(Map<String,Object> props)
Need to track rendering for proper rendering of sparkline.
|
void |
clear() |
Double |
getChartRangeMax() |
Double |
getChartRangeMin() |
String |
getFillColor() |
String |
getLineColor() |
AbstractPlot |
getPlot() |
SparklineType |
getType() |
<T extends AbstractPlot> |
newPlot(Class<T> clazz) |
void |
run() |
void |
setChartRangeMax(Double chartRangeMax) |
void |
setChartRangeMin(Double chartRangeMin) |
void |
setData(double[] data) |
void |
setData(int[] data) |
void |
setFillColor(String fillColor) |
void |
setLineColor(String lineColor) |
void |
setType(SparklineType type) |
_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, onDestroyTracked, print, print, removeClass, removeMask, removeStyle, reportSize, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _getChildren, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, addSnippet, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasChildren, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientpublic void run()
public void clear()
@Component.PropertyGetter(value="type", description="The type of sparkline.") public SparklineType getType()
@Component.PropertySetter(value="type", defaultValue="line", description="The type of sparkline.") public void setType(SparklineType type)
public AbstractPlot getPlot()
public <T extends AbstractPlot> T newPlot(Class<T> clazz)
public void setData(double[] data)
public void setData(int[] data)
protected void _initProps(Map<String,Object> props)
_initProps in class BaseComponentBaseComponent._initProps(java.util.Map)@Component.PropertyGetter(value="chartRangeMax", description="The maximum value to use for the range of Y values of the chart. Defaults to the maximum value supplied.") public Double getChartRangeMax()
@Component.PropertySetter(value="chartRangeMax", description="The maximum value to use for the range of Y values of the chart. Defaults to the maximum value supplied.") public void setChartRangeMax(Double chartRangeMax)
@Component.PropertyGetter(value="chartRangeMin", description="The minimum value to use for the range of Y values of the chart. Defaults to the minimum value supplied.") public Double getChartRangeMin()
@Component.PropertySetter(value="chartRangeMin", description="The minimum value to use for the range of Y values of the chart. Defaults to the minimum value supplied.") public void setChartRangeMin(Double chartRangeMin)
@Component.PropertyGetter(value="fillColor", description="The color used to fill the area under the graph as a CSS value.") public String getFillColor()
@Component.PropertySetter(value="fillColor", description="The color used to fill the area under the graph as a CSS value.") public void setFillColor(String fillColor)
@Component.PropertyGetter(value="lineColor", description="Used by line and discrete charts to specify the color of the line drawn as a CSS values string.") public String getLineColor()
@Component.PropertySetter(value="lineColor", description="Used by line and discrete charts to specify the color of the line drawn as a CSS values string.") public void setLineColor(String lineColor)
Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.