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 ScaleItemScaleContext. 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 StringCrosshairFormatterCallback. 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 classAxisItemThere 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 allsetmethods to change java script object properties.Methods in org.pepstock.charba.client.items that return ScaleItem Modifier and Type Method Description ScaleItemDatasetItem. getIndexScale()Returns the index scale item ornullif not exists.
IfIndexAxis=IndexAxis.Ythen iScale === yScale and vScale === xScale.
For radar, iScale === vScale === rScale.ScaleItemDatasetItem. getRScale()Returns the R scale item ornullif not exists.ScaleItemScalesNode. getScaleIsInside(BaseNativeEvent event)Returns the scale item if the chart event is inside of one of scales, otherwisenull.ScaleItemPluginScaleArgument. getScaleItem()Returns the scale item.ScaleItemDatasetItem. getValueScale()Returns the value scale item ornullif not exists.
IfIndexAxis=IndexAxis.Ythen iScale === yScale and vScale === xScale.
For radar, iScale === vScale === rScale.ScaleItemDatasetItem. getXScale()Returns the X scale item ornullif not exists.ScaleItemDatasetItem. getYScale()Returns the Y scale item ornullif 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.
-