Package 

Interface Legend

  • All Implemented Interfaces:
    com.patrykandpatrick.vico.core.dimensions.BoundsAware

    
    public interface Legend
     implements BoundsAware
                        

    Defines the functions required by the library to draw a chart legend.

    • Method Summary

      Modifier and Type Method Description
      abstract Float getHeight(MeasureContext context, Float availableWidth) Returns the height of the legend.
      abstract Unit draw(ChartDrawContext context) Draws the legend.
      abstract RectF getBounds() The bounds of the abstract component.
      • Methods inherited from class com.patrykandpatrick.vico.core.legend.Legend

        setBounds
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait