|
For downloads, demos, and more
visit the Client-side GChart Home Page |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GChartCanvasFactory
By implementing this interface, and passing an instance of your class to setCanvasFactory, you can "teach" GChart how to create the canvas-based widgets it needs to render non-rectangular aspects of your charts (solid-fill pie slices, continuously connected lines, solidly filled areas) much faster and with significantly better quality.
If you use GWTCanvas from the GWT incubator project for the vector graphics library, it's mainly a matter of adding a small chunk of boilerplate code (which you can find in the setCanvasFactory method's javadocs) to your application, adding gwt-incubator.jar to your build path, and selecting GChart's "continuously filled" option for your curves via getCurve().getSymbol().setFillSpacing(0). See setCanvasFactory for full details.
setCanvasFactory,
GChartCanvasLite,
setFillSpacing,
setFillThickness| Method Summary | |
|---|---|
GChartCanvasLite |
create()
A method that returns a GWT Widget that implements the subset of a Mozilla canvas' features that GChart requires. |
| Method Detail |
|---|
GChartCanvasLite create()
Note that the returned object must both implement GChartCanvasLite and be a GWT Widget.
|
For downloads, demos, and more
visit the Client-side GChart Home Page |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||