Uses of Interface
org.pepstock.charba.client.annotation.callbacks.ImageSizeCallback
-
Packages that use ImageSizeCallback Package Description org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js. -
-
Uses of ImageSizeCallback in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation that return ImageSizeCallback Modifier and Type Method Description ImageSizeCallback
LineLabel. getImageHeightCallback()
Returns the callback called to set the height of label content, when is set asImg
, in percentage (format is "{n}%") in order to scale the image when drawn.ImageSizeCallback
LineLabel. getImageWidthCallback()
Returns the callback called to set the width of label content, when is set asImg
, in percentage (format is "{n}%") in order to scale the image when drawn.Methods in org.pepstock.charba.client.annotation with parameters of type ImageSizeCallback Modifier and Type Method Description void
LineLabel. setImageHeight(ImageSizeCallback imageSizeCallback)
Sets the callback to set the height of label content, when is set asImg
, in percentage (format is "{n}%") in order to scale the image when drawn.void
LineLabel. setImageWidth(ImageSizeCallback imageSizeCallback)
Sets the callback to set the width of label content, when is set asImg
, in percentage (format is "{n}%") in order to scale the image when drawn.
-