Class LineChart


  • public class LineChart
    extends PointLineChart
    This class represents a line chart.
    • Constructor Detail

      • LineChart

        public LineChart​(java.lang.String[] categories)
        Creates a new line chart
        Parameters:
        categories - The categories that will be used.
    • Method Detail

      • onPaint

        public void onPaint​(Graphics g)
        Description copied from class: Control
        Called to draw the control. When this method is called, the graphics object passed has been translated into the coordinate system of the control and the area behind the control has already been painted.
        Overrides:
        onPaint in class PointLineChart
        Parameters:
        g - the graphics object for drawing
        See Also:
        Graphics