HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.transform.widgets
Class LineGraphWidget

java.lang.Object
  extended by com.ibm.hats.transform.widgets.Widget
      extended by com.ibm.hats.transform.widgets.GraphWidget
          extended by com.ibm.hats.transform.widgets.LineGraphWidget
All Implemented Interfaces:
ICustomPropertySupplier, com.ibm.hats.common.ICustomPropertySupplier2, com.ibm.hats.transform.graph.GraphData, HTMLRenderer, com.ibm.hats.transform.renderers.TextRenderer

public class LineGraphWidget
extends GraphWidget
implements HTMLRenderer

LineGraphWidget renders TableComponentElements as line graphs.

See Also:
TableComponentElement

Field Summary
static String CLASS_NAME
           
 
Fields inherited from class com.ibm.hats.transform.widgets.GraphWidget
bgImageFile, dataSetColors, dataSetLabels, dataSets, imagePath, imagePathName, numberFormat, pathInfo, pathsFound, pointLabels, PROPERTY_ALTERNATE_TEXT, PROPERTY_BACKGROUND_IMAGE, PROPERTY_BACKGROUND_ROOT, PROPERTY_DATA_SET_LABEL_INDEX, PROPERTY_DATA_SET_NUMBER, PROPERTY_DATA_SOURCE_N, PROPERTY_DATA_SOURCE_N_COLOR, PROPERTY_DATA_SOURCE_N_LEGEND, PROPERTY_EXTRACT_DATA_SET_LABELS, PROPERTY_EXTRACT_LABELS, PROPERTY_EXTRACT_SOURCE, PROPERTY_LABEL_INDEX, PROPERTY_SET_BLANKS_TO_ZERO, SOURCE_COL, SOURCE_ROW, tce
 
Fields inherited from class com.ibm.hats.transform.widgets.Widget
componentElements, contextAttributes, settings
 
Fields inherited from interface com.ibm.hats.transform.graph.GraphData
CLASSNAME
 
Fields inherited from interface com.ibm.hats.common.ICustomPropertySupplier2
CLASSNAME
 
Constructor Summary
LineGraphWidget(ComponentElement[] componentElements, Properties settings)
          Class constructor.
 
Method Summary
 StringBuffer drawHTML()
          Converts ComponentElements into HTML output for embedding within a Transformation page
 
Methods inherited from class com.ibm.hats.transform.widgets.GraphWidget
buildSettings, convertToValue, convertToValue, getAlternateText, getBGImageFile, getCustomComposite, getCustomCompositeName, getCustomProperties, getDataPointLabels, getDataSetColors, getDataSetLabels, getDataSetLength, getDataSets, getGraphImagePath, getLocalImagePathName, getMaxDataPointIndex, getMaxDataSetIndex, getNumDataSets, getPropertyPageCount, getRandomColor, getVirtualImagePathName, moreSettingsRequired, setDataPointLabels, setDataSetColors, setDataSetLabels, setDataSets, updateDataInfo
 
Methods inherited from class com.ibm.hats.transform.widgets.Widget
convertBidi, draw, getComponentElements, getContextAttribute, getContextAttributes, getCustomPropertiesBiDi, getDefaultValues, getSettings, insertAlign, insertDir, newInstance, setComponentElements, setContextAttribute, setContextAttributes, setSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.hats.transform.graph.GraphData
convertBidi
 
Methods inherited from interface com.ibm.hats.common.ICustomPropertySupplier
getDefaultValues
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

LineGraphWidget

public LineGraphWidget(ComponentElement[] componentElements,
                       Properties settings)
Class constructor.

Parameters:
componentElements - An array of component elements.
settings - The Properties settings.
See Also:
Widget.Widget(ComponentElement[], Properties)
Method Detail

drawHTML

public StringBuffer drawHTML()
Description copied from interface: HTMLRenderer
Converts ComponentElements into HTML output for embedding within a Transformation page

Specified by:
drawHTML in interface HTMLRenderer
Returns:
HTML output

HATS 7.5.1 (201005110649)