Class JmixAmchartsJsOverlay

java.lang.Object
io.jmix.charts.widget.client.amcharts.JmixAmchartsJsOverlay

public class JmixAmchartsJsOverlay extends Object
  • Field Details

    • ready

      protected static boolean ready
    • chart

      protected com.google.gwt.core.client.JavaScriptObject chart
  • Constructor Details

    • JmixAmchartsJsOverlay

      public JmixAmchartsJsOverlay(com.google.gwt.core.client.JavaScriptObject chart)
  • Method Details

    • makeChart

      public static JmixAmchartsJsOverlay makeChart(com.google.gwt.dom.client.Element placeHolder, com.google.gwt.core.client.JavaScriptObject json)
    • updatePoints

      public void updatePoints(com.google.gwt.core.client.JavaScriptObject value)
    • updatePoints

      protected void updatePoints(com.google.gwt.core.client.JavaScriptObject chart, com.google.gwt.core.client.JavaScriptObject src)
    • handleLoad

      protected static void handleLoad()
    • makeJsChart

      protected static com.google.gwt.core.client.JavaScriptObject makeJsChart(com.google.gwt.dom.client.Element placeHolder, com.google.gwt.core.client.JavaScriptObject json)
    • updateSize

      public void updateSize()
    • updateSize

      protected static void updateSize(com.google.gwt.core.client.JavaScriptObject chart)
    • destroy

      public void destroy()
    • destroy

      protected static void destroy(com.google.gwt.core.client.JavaScriptObject chart)
    • getClickEvent

      public JsChartClickEvent getClickEvent(int x, int y, int absoluteX, int absoluteY)
    • getClickEvent

      protected static JsChartClickEvent getClickEvent(com.google.gwt.core.client.JavaScriptObject chart, int x, int y, int absoluteX, int absoluteY)
    • addGraphClickHandler

      public void addGraphClickHandler(Consumer<JsGraphClickEvent> handler)
    • addGraphClickHandler

      protected static void addGraphClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsGraphClickEvent> handler)
    • addGraphItemClickHandler

      public void addGraphItemClickHandler(Consumer<JsGraphItemClickEvent> handler)
    • addGraphItemClickHandler

      protected static void addGraphItemClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsGraphItemClickEvent> handler)
    • addGraphItemRightClickHandler

      public void addGraphItemRightClickHandler(Consumer<JsGraphItemClickEvent> handler)
    • addGraphItemRightClickHandler

      protected static void addGraphItemRightClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsGraphItemClickEvent> handler)
    • addZoomHandler

      public void addZoomHandler(Consumer<JsZoomEvent> zoomHandler)
    • addZoomHandler

      protected static void addZoomHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsZoomEvent> handler)
    • addSliceClickHandler

      public void addSliceClickHandler(Consumer<JsSliceClickEvent> sliceClickHandler)
    • addSliceClickHandler

      protected static void addSliceClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsSliceClickEvent> handler)
    • addSliceRightClickHandler

      public void addSliceRightClickHandler(Consumer<JsSliceClickEvent> sliceRightClickHandler)
    • addSliceRightClickHandler

      protected static void addSliceRightClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsSliceClickEvent> handler)
    • addSlicePullInHandler

      public void addSlicePullInHandler(Consumer<JsSlicePullEvent> slicePullInHandler)
    • addSlicePullInHandler

      protected static void addSlicePullInHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsSlicePullEvent> handler)
    • addSlicePullOutHandler

      public void addSlicePullOutHandler(Consumer<JsSlicePullEvent> slicePullOutHandler)
    • addSlicePullOutHandler

      protected static void addSlicePullOutHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsSlicePullEvent> handler)
    • addLegendLabelClickHandler

      public void addLegendLabelClickHandler(Consumer<JsLegendEvent> legendLabelClickHandler)
    • addLegendLabelClickHandler

      protected static void addLegendLabelClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsLegendEvent> handler)
    • addLegendMarkerClickHandler

      public void addLegendMarkerClickHandler(Consumer<JsLegendEvent> legendMarkerClickHandler)
    • addLegendMarkerClickHandler

      protected static void addLegendMarkerClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsLegendEvent> handler)
    • addLegendItemShowHandler

      public void addLegendItemShowHandler(Consumer<JsLegendEvent> legendItemShowHandler)
    • addLegendItemShowHandler

      protected static void addLegendItemShowHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsLegendEvent> handler)
    • addLegendItemHideHandler

      public void addLegendItemHideHandler(Consumer<JsLegendEvent> legendItemHideHandler)
    • addLegendItemHideHandler

      protected static void addLegendItemHideHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsLegendEvent> handler)
    • addCursorPeriodSelectHandler

      public void addCursorPeriodSelectHandler(Consumer<JsCursorEvent> cursorPeriodSelectHandler)
    • addCursorPeriodSelectHandler

      protected static void addCursorPeriodSelectHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsCursorEvent> handler)
    • addCursorZoomHandler

      public void addCursorZoomHandler(Consumer<JsCursorEvent> cursorZoomHandler)
    • addCursorZoomHandler

      protected static void addCursorZoomHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsCursorEvent> handler)
    • addAxisZoomHandler

      public void addAxisZoomHandler(Consumer<JsAxisZoomedEvent> axisZoomHandler)
    • addAxisZoomHandler

      protected static void addAxisZoomHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsAxisZoomedEvent> handler)
    • zoomOut

      public void zoomOut()
    • zoomOut

      protected static void zoomOut(com.google.gwt.core.client.JavaScriptObject object)
    • zoomToIndexes

      public void zoomToIndexes(int start, int end)
    • zoomToIndexes

      protected static void zoomToIndexes(com.google.gwt.core.client.JavaScriptObject chart, int start, int end)
    • zoomToDates

      public void zoomToDates(JsDate start, JsDate end)
    • zoomToDates

      protected static void zoomToDates(com.google.gwt.core.client.JavaScriptObject chart, JsDate start, JsDate end)
    • zoomOutValueAxes

      public void zoomOutValueAxes()
    • zoomOutValueAxes

      protected static void zoomOutValueAxes(com.google.gwt.core.client.JavaScriptObject chart)
    • zoomOutValueAxis

      public void zoomOutValueAxis(String id)
    • zoomOutValueAxis

      public void zoomOutValueAxis(int index)
    • zoomValueAxisToValues

      public void zoomValueAxisToValues(String id, String startValue, String endValue)
    • zoomValueAxisToValues

      public void zoomValueAxisToValues(int index, String startValue, String endValue)
    • zoomValueAxisToValues

      protected static void zoomValueAxisToValues(com.google.gwt.core.client.JavaScriptObject axis, String startValue, String endValue)
    • zoomValueAxisToValues

      public void zoomValueAxisToValues(String id, JsDate start, JsDate end)
    • zoomValueAxisToValues

      public void zoomValueAxisToValues(int index, JsDate start, JsDate end)
    • zoomValueAxisToValues

      protected static void zoomValueAxisToValues(com.google.gwt.core.client.JavaScriptObject axis, JsDate startValue, JsDate endValue)
    • getValueAxis

      protected static com.google.gwt.core.client.JavaScriptObject getValueAxis(com.google.gwt.core.client.JavaScriptObject chart, String id)
    • getValueAxis

      protected static com.google.gwt.core.client.JavaScriptObject getValueAxis(com.google.gwt.core.client.JavaScriptObject chart, int index)
    • addCategoryItemClickHandler

      public void addCategoryItemClickHandler(Consumer<JsCategoryItemClickEvent> handler)
    • addCategoryItemClickHandler

      protected static void addCategoryItemClickHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsCategoryItemClickEvent> handler)
    • animateOnce

      public void animateOnce()
    • animateOnce

      protected static void animateOnce(com.google.gwt.core.client.JavaScriptObject chart)
    • addRollOutGraphHandler

      public void addRollOutGraphHandler(Consumer<JsRollOutGraphEvent> handler)
    • addRollOutGraphHandler

      protected static void addRollOutGraphHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsRollOutGraphEvent> handler)
    • addRollOutGraphItemHandler

      public void addRollOutGraphItemHandler(Consumer<JsRollOutGraphItemEvent> handler)
    • addRollOutGraphItemHandler

      protected static void addRollOutGraphItemHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsRollOutGraphItemEvent> handler)
    • addRollOverGraphHandler

      public void addRollOverGraphHandler(Consumer<JsRollOverGraphEvent> handler)
    • addRollOverGraphHandler

      protected static void addRollOverGraphHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsRollOverGraphEvent> handler)
    • addRollOverGraphItemHandler

      public void addRollOverGraphItemHandler(Consumer<JsRollOverGraphItemEvent> handler)
    • addRollOverGraphItemHandler

      protected static void addRollOverGraphItemHandler(com.google.gwt.core.client.JavaScriptObject chart, Consumer<JsRollOverGraphItemEvent> handler)