Class SparklineComponent

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable

    public class SparklineComponent
    extends JComponent

    Simple component that holds a SparklineGraph and auto-repaints it when mouse interaction happens if desired (indicate it with updateMouseXPosition parameter in constructors).

    It also takes care to update sparkline width and height to the component width and height when resized

    Author:
    Eduardo Ramos
    See Also:
    Serialized Form