| Package | Description | 
|---|---|
| org.pepstock.charba.client | 
 Main package with all charts implementation, global classes and common interfaces. 
 | 
| org.pepstock.charba.client.colors.tiles | 
 Contains all classes to build tiles to use in the a canvas patterns or a Charba pattern. 
 | 
| org.pepstock.charba.client.dom.elements | 
 Contains a set of DOM elements that Charba is using. 
 | 
| Constructor and Description | 
|---|
Chart(Context2dItem context,
     NativeObject configuration)
Builds CHART object at CHART.JS level. 
This constructor MUST be empty.  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
ShapeDrawer.applyFillProperties(Context2dItem context,
                   String shapeColor)
Applies the common configuration to context for fill designing. 
 | 
protected void | 
ShapeDrawer.applyStrokeProperties(Context2dItem context,
                     String shapeColor,
                     int size)
Applies the common configuration to context for stroke designing. 
 | 
protected void | 
ShapeDrawer.applyStrokeProperties(Context2dItem context,
                     String shapeColor,
                     int size,
                     CapStyle lineCap,
                     JoinStyle lineJoin)
Applies the common configuration to context for stroke designing. 
 | 
protected void | 
ImageShape.drawTile(Context2dItem context,
        String backgroundColor,
        String shapeColor,
        int size)  | 
protected abstract void | 
ShapeDrawer.drawTile(Context2dItem context,
        String backgroundColor,
        String shapeColor,
        int size)
Draws the tile applying the requested shape. 
 | 
protected void | 
CharacterShape.drawTile(Context2dItem context,
        String backgroundColor,
        String shapeColor,
        int size)  | 
| Modifier and Type | Method and Description | 
|---|---|
Context2dItem | 
Canvas.getContext2d()
Returns a drawing 2D context on the canvas. 
 |