|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This documentation gives a summary description of all chart attributes and their meaning. Advanced attribute types used by many chart attributes are not, however, described herein. More information about them may be found in the reference documentation describing the corresponding attribute value classes.
ChartObjectAttributes)
ChartObjectAttributes)
BackRenderAttributes)
ChartAxes)
ChartAxis)
PlotRenderAttributes)
ChannelAttributes)
ChartData)
Each attribute group contains a number of attributes, each of which affects one particular appearance aspect within the domain of the attribute group. The attributes in each group are described in the documentation of each corresponding class or interface.
Use getChartType() to access the chart factory type attribute.
Use getURLContext() to access the chart URL context attribute.
Use getLocale() to access the chart locale attribute.
Format strings themselves are tuple format patterns, which have the
power to access chart data information. For details about how format
patterns are constructed and how chart data fields are accessed,
please see the TupleFormat and ChartData documentation.
Format patterns may also be overridden by more explicit values
directly defined in the chart data. In particular, values defined in
label, url, or alt data
channels are preferred to format pattern. Furthermore, annotation
information may also be placed in the paint attribute, in ways
described in the PaintParameters and AnnotatedPaintValue documentation.
Leaving one or both of the chart size attributes to
null values will instruct the chart factories to
decide suitable chart sizes by themselves. In that case, the size
attributes associated with the resulting Chart will tell
the chart size that the responsible factory came up with.
ImageFactory documentation.
Use getContentType() and setContentType(java.lang.String) to access the
chart content type attributes.
Use getAntialiasMode() and setAntialiasMode(int) to access the
chart content antialiasiation mode attributes.
AnnotatedGraphics2D,
BackRenderAttributes,
Chart,
ChartData,
ChartFactory,
ColorType,
FontType,
ImageFactory,
MimeInfo,
PaintType,
PlotRenderAttributes,
ShapeType,
StrokeType| Method Summary | |
void |
addChannelAttributes(ChartData data)
Copies channel attributes from the given chart data object and merges them with current channel attributes. |
int |
getAntialiasMode()
Gets chart antialiasing mode. |
java.util.List |
getAxes()
Gets chart axes list. |
BackRenderAttributes |
getBack()
Gets back area render attributes. |
java.lang.String |
getChartType()
Gets chart factory type. |
java.lang.String |
getContentType()
Gets chart content MIME type. |
com.davisor.graphics.codec.MimeInfo |
getEncoderInfo()
Gets chart content encoder info. |
java.lang.Number |
getHeight()
Gets chart height as described by Chart.getHeight(). |
java.lang.String |
getID()
Gets attribute set identity. |
java.lang.String |
getImageParams()
Gets the image encoder detail parameters. |
LegendAttributes |
getLegend()
Gets legend rendering attributes. |
java.util.Locale |
getLocale()
Gets chart locale. |
java.lang.Boolean |
getMultiSeriesMode()
Gets multiseries mode. |
java.lang.String |
getName(java.lang.String id)
Gets name of given channel. |
java.lang.String |
getNamespace()
Gets the namespace for shapes. |
PlotRenderAttributes |
getPlot()
Gets plot area render attributes. |
java.lang.Number |
getResolution()
Gets chart raster image pixels-per-millimeter resolution, as described by Chart.getResolution(). |
java.net.URL |
getURLContext()
Gets chart base URL context. |
java.lang.Number |
getWidth()
Gets chart width, as described by Chart.getWidth(). |
boolean |
isArea(java.lang.String id,
PlotRenderAttributes plot)
Tests channel fill status. |
boolean |
isSeries(java.lang.String id)
Deprecated. Use ChartFactory#isMultiSeriesMode instead |
void |
setAntialiasMode(int antialiasMode)
Sets chart antialiasing mode. |
void |
setContentType(java.lang.String contentType)
Sets chart content MIME type. |
void |
setHeight(java.lang.Number height,
boolean inherit)
Sets chart height. |
void |
setImageParams(java.lang.String imageParams)
Sets parameters that control image creation and encoding. |
void |
setResolution(java.lang.Number resolution)
Sets chart raster image pixels-per-millimeter resolution. |
void |
setURLContext(java.net.URL urlContext)
Sets chart base URL context. |
void |
setWidth(java.lang.Number width,
boolean inherit)
Sets chart width. |
| Methods inherited from interface com.davisor.core.Dupable |
dup |
| Method Detail |
public void addChannelAttributes(ChartData data)
data - the ChannelAttributes.ChannelAttributes.getID(),
ChannelAttributes.setDefaults(com.davisor.graphics.chart.ChannelAttributes)public int getAntialiasMode()
RenderAttributes antialias codesetAntialiasMode(int),
ImageChart.setAntialiasMode(int)public java.util.List getAxes()
ChartAxes objects.
public BackRenderAttributes getBack()
public java.lang.String getChartType()
null if unsetChartFactory.getFactory(String)public com.davisor.graphics.codec.MimeInfo getEncoderInfo()
image/png encoder information if encoder has not
been explicitly setpublic java.lang.String getContentType()
null value indicates
that chart generator may choose freely choose appopriate content
encoding method. Any other value indicates that a chart generator
must use the given encoding, or otherwise emit nothing.
Chart.getContentType()public java.lang.Number getHeight()
Chart.getHeight().
getWidth(),
getResolution(),
Chart.getHeight()public java.lang.String getID()
public java.lang.String getImageParams()
null if unsetsetImageParams(java.lang.String),
CodecFactory.getImageEncoder(java.lang.String)public LegendAttributes getLegend()
public java.util.Locale getLocale()
null if unsetpublic java.lang.Boolean getMultiSeriesMode()
null if unsetpublic java.lang.String getName(java.lang.String id)
null if channel is unknown,
or channel name is unsetChannelAttributes.getName()public java.lang.String getNamespace()
null if namespace is unsetpublic PlotRenderAttributes getPlot()
public java.lang.Number getResolution()
Chart.getResolution().
setResolution(java.lang.Number),
Chart.getResolution()public java.net.URL getURLContext()
null if unsetsetURLContext(java.net.URL)public java.lang.Number getWidth()
Chart.getWidth().
getHeight(),
getResolution(),
Chart.getWidth()
public boolean isArea(java.lang.String id,
PlotRenderAttributes plot)
id - channel identityplot - plot attributes to use in the test
getPlot()public boolean isSeries(java.lang.String id)
ChannelAttributes.isSeries()public void setAntialiasMode(int antialiasMode)
antialiasMode - RenderAttributes antialias codegetAntialiasMode(),
ImageChart.setAntialiasMode(int)public void setContentType(java.lang.String contentType)
public void setHeight(java.lang.Number height,
boolean inherit)
height - new chart height (may be null)inherit - should null value inherit or
override old valuegetHeight()public void setImageParams(java.lang.String imageParams)
name=value pairs, which will be interpreted by
ImageFactory and CodecFactory. Parameter
interpretation will be image encoder spesific. Unrecognized
parameters are ignored.
ImageFactory,
CodecFactorypublic void setResolution(java.lang.Number resolution)
getResolution()public void setURLContext(java.net.URL urlContext)
getURLContext()
public void setWidth(java.lang.Number width,
boolean inherit)
width - new chart width (may be null)inherit - should null value inherit or
override old valuegetWidth()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||