Class ChartUtil

java.lang.Object
com.codename1.charts.ChartUtil

@Deprecated public class ChartUtil extends Object
Deprecated.
Use the com.codename1.ui.chart package instead.
A utility class for painting a chart onto a Graphics context. This is a low level API. You should use the ChartComponent class instead.
  • Constructor Details

    • ChartUtil

      public ChartUtil()
      Deprecated.
  • Method Details

    • paintChart

      public void paintChart(Graphics g, AbstractChart chart, Rectangle bounds, int absX, int absY)
      Deprecated.

      Draws the given chart onto the given graphics

      Parameters
      • g: the graphics object

      • chart: the chart object

      • bounds: the bounds in which the chart should be drawn within the graphics

      • absX

      • absY