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>

public static class SeriesBasedChart.CategoryItemClickEvent extends Chart.AbstractChartEvent
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 Also:
  • Constructor Details

    • CategoryItemClickEvent

      public CategoryItemClickEvent(Chart chart, String value, int x, int y, int offsetX, int offsetY, int xAxis, int yAxis)
  • Method Details

    • getValue

      public String getValue()
      Returns:
      category value that represents in String type
    • setValue

      public void setValue(String value)
    • 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)