Package 

Interface AxisRenderer

  • All Implemented Interfaces:
    com.patrykandpatrick.vico.core.chart.insets.ChartInsetter , com.patrykandpatrick.vico.core.dimensions.BoundsAware

    
    public interface AxisRenderer<Position extends AxisPosition>
     implements BoundsAware, ChartInsetter
                        

    Defines the minimal set of properties and functions required by other parts of the library to draw an axis.

    • Method Detail

      • drawBehindChart

         abstract Unit drawBehindChart(ChartDrawContext context)

        Called before the Chart is drawn. Implementations should rely on this function to draw themselves, unless they need to draw something above the Chart.

        Parameters:
        context - holds the information needed to draw the axis.
      • drawAboveChart

         abstract Unit drawAboveChart(ChartDrawContext context)

        Called after the Chart is drawn. Implementations can use this function to draw content above the Chart.

        Parameters:
        context - holds the information needed to draw the axis.
      • getBounds

         abstract RectF getBounds()

        The bounds of the abstract component.