Interface CoordinateChart<T extends CoordinateChart>

All Superinterfaces:
Chart<T>, ChartModel<T>, Component, Component.BelongToFrame, Component.HasCaption, Component.HasDescription, Component.HasIcon, CoordinateChartModel<T>, HasColors<T>, HasStartEffect<T>
All Known Subinterfaces:
GanttChart, RadarChart, RectangularChart<T>, SerialChart, SeriesBasedChart<T>, XYChart
All Known Implementing Classes:
CoordinateChartImpl, GanttChartImpl, RadarChartImpl, RectangularChartImpl, SerialChartImpl, SeriesBasedChartImpl, XYChartImpl

public interface CoordinateChart<T extends CoordinateChart> extends Chart<T>, CoordinateChartModel<T>
Base interface for GanttChart, SerialChart, RadarChart and XYChart.
See documentation for properties of AmCoordinateChart JS object.
http://docs.amcharts.com/3/javascriptcharts/AmCoordinateChart
  • Method Details

    • addGraphClickListener

      Subscription addGraphClickListener(Consumer<Chart.GraphClickEvent> listener)
      Adds a listener for graph. Called when user clicks on the graph item.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addGraphItemClickListener

      Subscription addGraphItemClickListener(Consumer<Chart.GraphItemClickEvent> listener)
      Adds a listener for graph item. Called when user clicks on the graph item.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addGraphItemRightClickListener

      Subscription addGraphItemRightClickListener(Consumer<Chart.GraphItemRightClickEvent> clickListener)
      Adds a listener for graph item. Called when user clicks on the graph item.
      Parameters:
      clickListener - a listener to add
      Returns:
      subscription
    • addAxisZoomListener

      Subscription addAxisZoomListener(Consumer<Chart.AxisZoomEvent> listener)
      Adds a listener to axis. Called when value of the axis zoom changed.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addRollOutGraphListener

      Subscription addRollOutGraphListener(Consumer<Chart.RollOutGraphEvent> listener)
      Adds a listener for graph. Called when user rolls-out of a graph.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addRollOutGraphItemListener

      Subscription addRollOutGraphItemListener(Consumer<Chart.RollOutGraphItemEvent> listener)
      Adds a listener for graph item. Called when user rolls-out of the data item.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addRollOverGraphListener

      Subscription addRollOverGraphListener(Consumer<Chart.RollOverGraphEvent> listener)
      Adds a listener for graph. Called when user rolls-over a graph.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addRollOverGraphItemListener

      Subscription addRollOverGraphItemListener(Consumer<Chart.RollOverGraphItemEvent> listener)
      Adds a listener for graph item. Called when user rolls-over data item.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • zoomOutValueAxes

      void zoomOutValueAxes()
      Zooms out value axes, value axes shows all available data.
    • zoomOutValueAxis

      void zoomOutValueAxis(String id)
      Zooms out value axis, value axis shows all available data.
      Parameters:
      id - id of value axis
    • zoomOutValueAxis

      void zoomOutValueAxis(int index)
      Zooms out value axis, value axis shows all available data.
      Parameters:
      index - index of value axis
    • zoomValueAxisToValues

      void zoomValueAxisToValues(String id, Object startValue, Object endValue)
      Zooms-in an axis to the provided values.
      Parameters:
      id - id of value axis
      startValue - start value
      endValue - end value
    • zoomValueAxisToValues

      void zoomValueAxisToValues(int index, Object startValue, Object endValue)
      Zooms-in an axis to the provided values.
      Parameters:
      index - index of value axis
      startValue - start value
      endValue - end value