|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.SimpleChartEntity
lt.monarch.chart.chart2D.NoDataPainter
public class NoDataPainter extends SimpleChartEntity
Strategy to render no data ranges in the series. Class tag is "noData". This painter entityStyle can be modified through the series meta data model. There you can set for the certain index the color, paint style and etc. As well as you can specify if the x0 or x1 value is null, then to paint in different color.
| Modifier and Type | Field and Description |
|---|---|
Style |
style
Stylesheet object |
| Constructor and Description |
|---|
NoDataPainter(Orientation orientation,
HotSpotMap map)
No data strategy class constructor |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(AbstractGraphics g,
Rectangle2D r,
Projector projector)
Draws the no data region |
protected TextPainter |
getLabelPainter()
Gets the label painter |
java.awt.Shape |
getShape()
Gets the boundary shape of the object |
void |
setDescription(java.lang.String description)
Sets description of no data. |
void |
setStyle(Style style)
No data painter style |
void |
setText(java.lang.String text)
Sets the text, which has to be rendered on the no data bar |
| Methods inherited from class lt.monarch.chart.engine.SimpleChartEntity |
|---|
fillEntitySheet, getDescription, getParentEntity, getShortDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Style style
| Constructor Detail |
|---|
public NoDataPainter(Orientation orientation,
HotSpotMap map)
orientation - bar orientationmap - hot spot map| Method Detail |
|---|
public void setStyle(Style style)
style - style to setpublic void setDescription(java.lang.String description)
setDescription in class SimpleChartEntitydescription - the description of the entitypublic void setText(java.lang.String text)
text - text to paint
public void draw(AbstractGraphics g,
Rectangle2D r,
Projector projector)
g - graphics contextr - rectangle where to draw the no data regionprojector - projectorprotected TextPainter getLabelPainter()
public java.awt.Shape getShape()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||