Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## controlP5
Class ChartData

    java.lang.Object
      controlP5.ChartData

    public class ChartData

extends java.lang.Object

Used by Chart, single chart data is stored here including value, (label) text, and color.

Constructor Summary
`ChartData(float theValue)`
`ChartData(float theValue, java.lang.String theText)`

Method Summary
`int` | `getColor()`
`java.lang.String` | `getText()`
`float` | `getValue()`
`void` | `setColor(int theColor)`
`void` | `setText(java.lang.String theText)`
`void` | `setValue(float theValue)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ChartData

    public ChartData(float theValue)

### ChartData

    public ChartData(float theValue,
                     java.lang.String theText)

Method Detail

### getColor

    public int getColor()

### getText

    public java.lang.String getText()

### getValue

    public float getValue()

### setColor

    public void setColor(int theColor)

### setText

    public void setText(java.lang.String theText)

### setValue

    public void setValue(float theValue)

Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

processing library controlP5 by Andreas Schlegel. (c) 2006-2012