Package io.jmix.charts.model.trendline
Class Image
java.lang.Object
io.jmix.charts.model.AbstractChartObject
io.jmix.charts.model.trendline.Image
- All Implemented Interfaces:
- Serializable
Image is used to add images to the end/start of trend lines. Allows you to display image anywhere on chart's plot
 area.
 
See documentation for properties of Image JS Object.
https://docs.amcharts.com/3/javascriptstockchart/Image
See documentation for properties of Image JS Object.
https://docs.amcharts.com/3/javascriptstockchart/Image
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetColor()getUrl()getWidth()setBalloonColor(Color balloonColor) Sets roll-over balloon color.setBalloonText(String balloonText) Sets roll-over text.Sets color of an image.Sets height of an image.setOffsetX(Integer offsetX) Sets horizontal offset.setOffsetY(Integer offsetY) Sets vertical offset.setOutlineColor(Color outlineColor) Sets color of image outline.setRotation(Integer rotation) Sets rotation of an image.setSvgPath(String svgPath) Sets svg path of an image.Sets the URL of an image.Sets width on an image.
- 
Constructor Details- 
Imagepublic Image()
 
- 
- 
Method Details- 
getBalloonColor- Returns:
- roll-over balloon color
 
- 
setBalloonColor@StudioProperty(type=OPTIONS, defaultValue="#000000") public Image setBalloonColor(Color balloonColor) Sets roll-over balloon color. If not set the default value is #000000.- Parameters:
- balloonColor- color
- Returns:
- image
 
- 
getBalloonText- Returns:
- roll-over text
 
- 
setBalloonTextSets roll-over text.- Parameters:
- balloonText- text
- Returns:
- image
 
- 
getColor- Returns:
- color of an image
 
- 
setColorSets color of an image. Works only if an image is generated using SVG path (svgPath property). If not set the default value is #000000.- Parameters:
- color- color
- Returns:
- image
 
- 
getHeight- Returns:
- height of an image
 
- 
setHeightSets height of an image. If not set the default value is 20.- Parameters:
- height- height
- Returns:
- image
 
- 
getOffsetX- Returns:
- horizontal offset
 
- 
setOffsetXSets horizontal offset. If not set the default value is 0.- Parameters:
- offsetX- X offset
- Returns:
- image
 
- 
getOffsetY- Returns:
- vertical offset
 
- 
setOffsetYSets vertical offset. If not set the default value is 0.- Parameters:
- offsetY- Y offset
- Returns:
- image
 
- 
getOutlineColor- Returns:
- color of image outline
 
- 
setOutlineColorSets color of image outline. Works only if an image is generated using SVG path (using svgPath property)- Parameters:
- outlineColor- color
- Returns:
- image
 
- 
getRotation- Returns:
- rotation of an image
 
- 
setRotationSets rotation of an image. If not set the default value is 0.- Parameters:
- rotation- rotation
- Returns:
- image
 
- 
getSvgPath- Returns:
- svg path of an image
 
- 
setSvgPathSets svg path of an image. Will not work with IE8.- Parameters:
- svgPath- svg path
- Returns:
- image
 
- 
getUrl- Returns:
- the URL of an image
 
- 
setUrlSets the URL of an image.- Parameters:
- url- the URL
- Returns:
- image
 
- 
getWidth- Returns:
- width on an image
 
- 
setWidthSets width on an image. If not set the default value is 20.- Parameters:
- width- width
- Returns:
- image
 
 
-