Package io.jmix.charts.component
Class SeriesBasedChart.CategoryItemClickEvent
java.lang.Object
java.util.EventObject
io.jmix.charts.component.Chart.AbstractChartEvent
io.jmix.charts.component.SeriesBasedChart.CategoryItemClickEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- SeriesBasedChart<T extends SeriesBasedChart>
Describes clickItem event on categories in the CategoryAxis.
See documentation for properties of clickItem event in the CategoryAxis.
https://docs.amcharts.com/3/javascriptcharts/CategoryAxis#clickItem
See documentation for properties of clickItem event in the CategoryAxis.
https://docs.amcharts.com/3/javascriptcharts/CategoryAxis#clickItem
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionCategoryItemClickEvent
(Chart chart, String value, int x, int y, int offsetX, int offsetY, int xAxis, int yAxis) -
Method Summary
Methods inherited from class io.jmix.charts.component.Chart.AbstractChartEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
CategoryItemClickEvent
-
-
Method Details
-
getValue
- Returns:
- category value that represents in String type
-
setValue
-
getOffsetX
public int getOffsetX()- Returns:
- offset in the X coordinate of the mouse pointer between that event and the padding edge of the target node
-
setOffsetX
public void setOffsetX(int offsetX) -
getOffsetY
public int getOffsetY()- Returns:
- offset in the Y coordinate of the mouse pointer between that event and the padding edge of the target node
-
setOffsetY
public void setOffsetY(int offsetY) -
getX
public int getX()- Returns:
- X coordinate within the application's client area
-
setX
public void setX(int x) -
getY
public int getY()- Returns:
- Y coordinate within the application's client area
-
setY
public void setY(int y) -
getXAxis
public int getXAxis()- Returns:
- X coordinate of the axis
-
setXAxis
public void setXAxis(int xAxis) -
getYAxis
public int getYAxis()- Returns:
- Y coordinate of the axis
-
setYAxis
public void setYAxis(int yAxis)
-