|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.etools.pd.widget.viewer.GraphicDocumentGenerator | +--com.ibm.etools.pd.widget.viewer.SVGDocumentGenerator | +--com.ibm.etools.pd.widget.viewer.SVGXYChart | +--com.ibm.etools.pd.widget.viewer.SVGLineChart
SVGLineChart
generates a line chart graphic DOM using Scalable Vector Graphics (SVG).
Field Summary |
Fields inherited from class com.ibm.etools.pd.widget.viewer.SVGXYChart |
axisLabelFontSize, dataRetriever, GRIDXOFFSET, GRIDYOFFSET, xAxisLabelYValue, xAxisLength, xAxisValues, XRATIO, yAxisLength, yMaxValue, YRATIO |
Fields inherited from class com.ibm.etools.pd.widget.viewer.SVGDocumentGenerator |
svgRoot |
Fields inherited from class com.ibm.etools.pd.widget.viewer.GraphicDocumentGenerator |
configDocument, dataDocument, generatedDocument, graphicColourPalette, graphicColourPaletteName, graphicFont, graphicHeight, graphicLegendTitle, graphicTimestampPrefix, graphicTitle, graphicType, graphicWidth, preferencesPage, preferencesPageHeight, preferencesPageWidth, resourcesFolder, suppressLegend |
Fields inherited from interface com.ibm.etools.pd.widget.viewer.IDataInputConstants |
ACTUAL_RATE, CATEGORIZATION, CATEGORY, CONFIGURATION, CONTEXT, DATAPOINT, DATASET, DATAUPDATE, DESCRIPTION, EMPTY_STRING, FONT, HEIGHT, ID, LEGEND_TITLE, MAXVALUE, MINVALUE, NAME, PERCENTAGE_OF_DATAPOINT_TOTAL, POSITION, RANGE, RATE_DEFINITION, SEGMENT_MARKER, SUMMARY, SUPPRESS_LEGEND, TIMESTAMP, TIMESTAMP_PREFIX, TITLE, TOTAL, TOTAL_TITLE, VALUE, VALUE_TITLE, WIDTH, X_TITLE, Y_TITLE |
Constructor Summary | |
SVGLineChart()
Sole constructor |
Method Summary | |
protected void |
addLegendShapes(org.w3c.dom.Element parent,
int index,
int fontSize,
int x,
int y)
Adds the legend shapes to this object's graphic. |
org.w3c.dom.Document |
generateGraphicDocument()
Generates and returns a graphic Document object based on input data |
Methods inherited from class com.ibm.etools.pd.widget.viewer.SVGXYChart |
addAxisLabels, addEachTextBox, addGrid, addJavaScriptFunctions, addTitles, calculateDashGridYPositions, setConfigDocument, setDataDocument, setGraphicHeight, setGraphicWidth |
Methods inherited from class com.ibm.etools.pd.widget.viewer.SVGDocumentGenerator |
addBorder, addLabel, addLegend, addPreferenceIcon, addTimeStamp, addTitle, createDOMTextElement, createGraphicColourPalettes, createSvgDocument, getPreferencesPage, getPreferencesPageHeight, getPreferencesPageWidth, setGraphicFont, setPreferencesPage, setPreferencesPageHeight, setPreferencesPageWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVGLineChart()
Method Detail |
public org.w3c.dom.Document generateGraphicDocument() throws DataInputProcessingException
IGraphicDocumentGenerator
Document
object based on input data
generateGraphicDocument
in interface IGraphicDocumentGenerator
generateGraphicDocument
in class GraphicDocumentGenerator
DataInputProcessingException
IGraphicDocumentGenerator.generateGraphicDocument()
protected void addLegendShapes(org.w3c.dom.Element parent, int index, int fontSize, int x, int y)
SVGDocumentGenerator
addLegendShapes
in class SVGDocumentGenerator
parent
- element to which the legend-related elements are appendedindex
- dataset numberfontSize
- y shift factorx
- upper left xy
- upper left ySVGDocumentGenerator#addLegendShapes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |