Interface SlicedChart<T extends SlicedChart>

All Superinterfaces:
Chart<T>, ChartModel<T>, Component, Component.BelongToFrame, Component.HasCaption, Component.HasDescription, Component.HasIcon, HasColors<T>, HasMargins<T>, HasStartEffect<T>, SlicedChartModel<T>
All Known Subinterfaces:
FunnelChart, PieChart
All Known Implementing Classes:
FunnelChartImpl, PieChartImpl, SlicedChartImpl

public interface SlicedChart<T extends SlicedChart> extends Chart<T>, SlicedChartModel<T>
Base interface for PieChart and FunnelChart.
See documentation for properties of AmSlicedChart JS object.
http://docs.amcharts.com/3/javascriptcharts/AmSlicedChart
  • Method Details

    • addSliceClickListener

      Subscription addSliceClickListener(Consumer<Chart.SliceClickEvent> listener)
      Adds a listener for a slice. Called when user clicks on the slice.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addSliceRightClickListener

      Subscription addSliceRightClickListener(Consumer<Chart.SliceRightClickEvent> listener)
      Adds a listener for a slice. Called when user clicks on the slice.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addSlicePullInListener

      Subscription addSlicePullInListener(Consumer<Chart.SlicePullInEvent> listener)
      Adds a listener for a slice. Called when the slice did pull-in.
      Parameters:
      listener - a listener to add
      Returns:
      subscription
    • addSlicePullOutListener

      Subscription addSlicePullOutListener(Consumer<Chart.SlicePullOutEvent> listener)
      Adds a listener for a slice. Called when the slice did pull-out.
      Parameters:
      listener - a listener to add
      Returns:
      subscription