public abstract class ChartWithScale extends ChartWithTooltip implements HasScale
callbackList, nativeCanvas, options, style
SCALEBEGINATZERO, SCALEFONTCOLOR, SCALEFONTFAMILY, SCALEFONTSIZE, SCALEFONTSTYLE, SCALEINTEGERSONLY, SCALELABEL, SCALELINECOLOR, SCALELINEWIDTH, SCALEOVERRIDE, SCALESHOWLABELS, SCALESTARTVALUE, SCALESTEPS, SCALESTEPWIDTH, SHOWSCALE
MULTITOOLTIPTEMPLATE, SHOWTOOLTIPS, TOOLTIPCARETSIZE, TOOLTIPCORNERRADIUS, TOOLTIPEVENTS, TOOLTIPFILLCOLOR, TOOLTIPFONTCOLOR, TOOLTIPFONTFAMILY, TOOLTIPFONTSIZE, TOOLTIPFONTSTYLE, TOOLTIPTEMPLATE, TOOLTIPTITLEFONTCOLOR, TOOLTIPTITLEFONTFAMILY, TOOLTIPTITLEFONTSIZE, TOOLTIPTITLEFONTSTYLE, TOOLTIPXOFFSET, TOOLTIPXPADDING, TOOLTIPYPADDING
ANIMATION, ANIMATION_EASING, ANIMATION_STEPS
MAINTAIN_ASPECT_RATIO, RESPONSIVE
Constructor and Description |
---|
ChartWithScale() |
Modifier and Type | Method and Description |
---|---|
void |
setScaleBeginAtZero(boolean beginAtZero)
Default false
|
void |
setScaleFontColor(String color)
Default #666
|
void |
setScaleFontFamily(String fontFamily)
Default "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
|
void |
setScaleFontSize(int size)
Default 12
|
void |
setScaleFontStyle(com.google.gwt.dom.client.Style.FontStyle style)
Default normal
|
void |
setScaleIntegersOnly(boolean only)
Default true
|
void |
setScaleLabel(String template)
Default
"<%=value%>" |
void |
setScaleLineColor(String color) |
void |
setScaleLineWidth(int pixelWidth)
Default 1
|
void |
setScaleOverride(boolean override)
Default false
|
void |
setScaleShowLabels(boolean showLabels)
true
|
void |
setScaleStartValue(double startValue)
Double
|
void |
setScaleSteps(int steps)
Scale steps
Default null
|
void |
setScaleStepWidth(int width)
Default null
|
void |
showScale(boolean scale)
Default true
|
setCornerRadius, setMultiTooltipTemplate, setTooltipCaretSize, setTooltipEvents, setTooltipFillColor, setTooltipFontColor, setTooltipFontFamily, setTooltipFontSize, setTooltipFontStyle, setTooltipTemplate, setTooltipTitleFontColor, setTooltipTitleFontFamily, setTooltipTitleFontSize, setTooltipTitleFontStyle, setTooltipXOffset, setTooltipXPadding, setTooltipYPadding, showTooltips
addAnimationCallback, addAnimationCompleteHandler, addClickHandler, addDataSelectionHandler, constructOptions, draw, getNativeCanvas, getNativeElement, getSnapshot, onAnimationComplete, onAnimationProgress, onAttach, processEvents, registerNativeAnimationHandlers, reload, setAnimationEnabled, setAnimationSteps, setAnimationType, setChartStyle, setHeight, setLegendTemplate, setMaintainAspectRatio, setNativeCanvas, setPixelHeight, setPixelWidth, setResponsive, setWidth, update
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void showScale(boolean scale)
HasScale
public void setScaleOverride(boolean override)
HasScale
setScaleOverride
in interface HasScale
public void setScaleSteps(int steps)
HasScale
setScaleSteps
in interface HasScale
public void setScaleStepWidth(int width)
HasScale
setScaleStepWidth
in interface HasScale
public void setScaleStartValue(double startValue)
HasScale
setScaleStartValue
in interface HasScale
public void setScaleLineColor(String color)
setScaleLineColor
in interface HasScale
public void setScaleLineWidth(int pixelWidth)
HasScale
setScaleLineWidth
in interface HasScale
public void setScaleShowLabels(boolean showLabels)
HasScale
setScaleShowLabels
in interface HasScale
public void setScaleLabel(String template)
HasScale
"<%=value%>"
setScaleLabel
in interface HasScale
public void setScaleIntegersOnly(boolean only)
HasScale
setScaleIntegersOnly
in interface HasScale
public void setScaleBeginAtZero(boolean beginAtZero)
HasScale
setScaleBeginAtZero
in interface HasScale
public void setScaleFontFamily(String fontFamily)
HasScale
setScaleFontFamily
in interface HasScale
public void setScaleFontSize(int size)
HasScale
setScaleFontSize
in interface HasScale
public void setScaleFontStyle(com.google.gwt.dom.client.Style.FontStyle style)
HasScale
setScaleFontStyle
in interface HasScale
public void setScaleFontColor(String color)
HasScale
setScaleFontColor
in interface HasScale
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.