public abstract class ChartWithScale extends ChartWithTooltip implements HasScale
callbackList, nativeCanvas, options, styleSCALEBEGINATZERO, SCALEFONTCOLOR, SCALEFONTFAMILY, SCALEFONTSIZE, SCALEFONTSTYLE, SCALEINTEGERSONLY, SCALELABEL, SCALELINECOLOR, SCALELINEWIDTH, SCALEOVERRIDE, SCALESHOWLABELS, SCALESTARTVALUE, SCALESTEPS, SCALESTEPWIDTH, SHOWSCALEMULTITOOLTIPTEMPLATE, SHOWTOOLTIPS, TOOLTIPCARETSIZE, TOOLTIPCORNERRADIUS, TOOLTIPEVENTS, TOOLTIPFILLCOLOR, TOOLTIPFONTCOLOR, TOOLTIPFONTFAMILY, TOOLTIPFONTSIZE, TOOLTIPFONTSTYLE, TOOLTIPTEMPLATE, TOOLTIPTITLEFONTCOLOR, TOOLTIPTITLEFONTFAMILY, TOOLTIPTITLEFONTSIZE, TOOLTIPTITLEFONTSTYLE, TOOLTIPXOFFSET, TOOLTIPXPADDING, TOOLTIPYPADDINGANIMATION, ANIMATION_EASING, ANIMATION_STEPSMAINTAIN_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, showTooltipsaddAnimationCallback, 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, updateadd, getContainerElement, getWidget, iterator, remove, setWidget, setWidgetadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void showScale(boolean scale)
HasScalepublic void setScaleOverride(boolean override)
HasScalesetScaleOverride in interface HasScalepublic void setScaleSteps(int steps)
HasScalesetScaleSteps in interface HasScalepublic void setScaleStepWidth(int width)
HasScalesetScaleStepWidth in interface HasScalepublic void setScaleStartValue(double startValue)
HasScalesetScaleStartValue in interface HasScalepublic void setScaleLineColor(String color)
setScaleLineColor in interface HasScalepublic void setScaleLineWidth(int pixelWidth)
HasScalesetScaleLineWidth in interface HasScalepublic void setScaleShowLabels(boolean showLabels)
HasScalesetScaleShowLabels in interface HasScalepublic void setScaleLabel(String template)
HasScale"<%=value%>"setScaleLabel in interface HasScalepublic void setScaleIntegersOnly(boolean only)
HasScalesetScaleIntegersOnly in interface HasScalepublic void setScaleBeginAtZero(boolean beginAtZero)
HasScalesetScaleBeginAtZero in interface HasScalepublic void setScaleFontFamily(String fontFamily)
HasScalesetScaleFontFamily in interface HasScalepublic void setScaleFontSize(int size)
HasScalesetScaleFontSize in interface HasScalepublic void setScaleFontStyle(com.google.gwt.dom.client.Style.FontStyle style)
HasScalesetScaleFontStyle in interface HasScalepublic void setScaleFontColor(String color)
HasScalesetScaleFontColor in interface HasScaleCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.