Uses of Class
org.pepstock.charba.client.items.ScaleItem
-
Packages that use ScaleItem Package Description org.pepstock.charba.client.callbacks All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers. -
-
Uses of ScaleItem in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks that return ScaleItem Modifier and Type Method Description ScaleItem
ScaleContext. getScale()
Returns the scale instance which contains the element to configure.Methods in org.pepstock.charba.client.callbacks with parameters of type ScaleItem Modifier and Type Method Description String
CrosshairFormatterCallback. format(IsChart chart, ScaleItem scale, ScaleValueItem value)
Returns the text to apply to the crosshair label. -
Uses of ScaleItem in org.pepstock.charba.client.events
Constructors in org.pepstock.charba.client.events with parameters of type ScaleItem Constructor Description AxisClickEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis, ScaleValueItem value)
Creates the event with axis related to the clickAxisEnterEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
Creates the event with axis related to the enterAxisHoverEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
Creates the event with axis related to the hoverAxisLeaveEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
Creates the event with axis related to the leave -
Uses of ScaleItem in org.pepstock.charba.client.items
Subclasses of ScaleItem in org.pepstock.charba.client.items Modifier and Type Class Description class
AxisItem
There are a number of configuration callbacks that can be used to change parameters in the scale at different points in the update process.
This is a wrapper of the CHART.JS item with all needed info about an axis.
Implements allset
methods to change java script object properties.Methods in org.pepstock.charba.client.items that return ScaleItem Modifier and Type Method Description ScaleItem
DatasetItem. getIndexScale()
Returns the index scale item ornull
if not exists.
IfIndexAxis
=IndexAxis.Y
then iScale === yScale and vScale === xScale.
For radar, iScale === vScale === rScale.ScaleItem
DatasetItem. getRScale()
Returns the R scale item ornull
if not exists.ScaleItem
ScalesNode. getScaleIsInside(BaseNativeEvent event)
Returns the scale item if the chart event is inside of one of scales, otherwisenull
.ScaleItem
PluginScaleArgument. getScaleItem()
Returns the scale item.ScaleItem
DatasetItem. getValueScale()
Returns the value scale item ornull
if not exists.
IfIndexAxis
=IndexAxis.Y
then iScale === yScale and vScale === xScale.
For radar, iScale === vScale === rScale.ScaleItem
DatasetItem. getXScale()
Returns the X scale item ornull
if not exists.ScaleItem
DatasetItem. getYScale()
Returns the Y scale item ornull
if not exists.Methods in org.pepstock.charba.client.items that return types with arguments of type ScaleItem Modifier and Type Method Description Map<String,ScaleItem>
ScalesNode. getItems()
Returns a map with all defined axis.
-