Project Wonder 5.0

er.googlechart.components
Class GCLineChart

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by er.googlechart.components.GCAbstractChart
              extended by er.googlechart.components.GCLineChart
Direct Known Subclasses:
GCSparkline

public class GCLineChart
extends GCAbstractChart

A line chart.

Author:
mschrag
Bindings
data the array, or array of arrays, of data
           
size "wxh" format chart size ("300x400")
           
width the width of the chart
           
height the height of the chart
           
colors an array of color values (for lines, bars, pie slices)
           
title the title of the chart
           
titleColor the color of the chart title
           
titleSize the size of the chart title
           
backgroundStyle "solid", "gradient", or "stripes"
           
background the solid color of the background
           
chartBackgroundStyle "solid", "gradient", or "stripes"
           
chartBackground the solid color of the chart background
           
transparency the transparency color of the chart background
           
legend an array of legend values
           
labeledAxes an array of axes that have labels ("x,y,r") (see http://code.google.com/apis/chart/#multiple_axes_labels)
           
axisLabels an array of array of axis labels
           
custom custom query string parameters to append
           
id the id of the img tag
           
class the class of the img tag
           
alt the alt text of the img tag
           
encoding the explicit chart encoding to use ("simple", "extended", "text")
           
normalize if true, values will be normalized relative to the max value
           
maxValue if false, normalization is off or set to a number to override the max value
           
scaling if true, numbers will be scaled with an automatic min/max, or set to min/max string values (see http://code.google.com/apis/chart/#data_scaling)
           
fillArea the fill area (see http://code.google.com/apis/chart/#fill_area_marker)
           
lineStyles the line styles (see http://code.google.com/apis/chart/#line_styles)
           
rangeMarkers the string that specifies range markers (see http://code.google.com/apis/chart/#hor_line_marker)
           
shapeMarkers the string that specifies shape markers (see http://code.google.com/apis/chart/#shape_markers2)
           
gridLines the override for specifying all gridline values (see http://code.google.com/apis/chart/#grid)
           
gridXStep the number of steps on the x axis between grid lines
           
gridYStep the number of steps on the y axis between grid lines
           
gridLineSize the number of pixels in the line of the dash part of the grid line
           
gridBlankSize the numer of pixels in the spacing between dashes in the grid line
           

Field Summary
 
Fields inherited from class er.googlechart.components.GCAbstractChart
_alt, _axisLabels, _background, _backgroundStyle, _chartBackground, _chartBackgroundStyle, _class, _colors, _custom, _data, _encoding, _fillArea, _gridBlankSize, _gridLines, _gridLineSize, _gridXStep, _gridYStep, _height, _id, _labeledAxes, _legend, _lineStyles, _maxValue, _normalize, _rangeMarkers, _scaling, _shapeMarkers, _size, _title, _titleColor, _titleSize, _transparency, _width
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
GCLineChart(java.lang.String name, com.webobjects.foundation.NSDictionary associations, com.webobjects.appserver.WOElement element)
           
 
Method Summary
protected  void addQueryParameters(ERXMutableURL chartUrl, com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
           
 
Methods inherited from class er.googlechart.components.GCAbstractChart
appendToResponse, checkData, encode, encoding, maxValue, normalize, scaling, styleKey
 
Methods inherited from class com.webobjects.appserver.WODynamicElement
toString
 
Methods inherited from class com.webobjects.appserver.WOElement
invokeAction, takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GCLineChart

public GCLineChart(java.lang.String name,
                   com.webobjects.foundation.NSDictionary associations,
                   com.webobjects.appserver.WOElement element)
Method Detail

addQueryParameters

protected void addQueryParameters(ERXMutableURL chartUrl,
                                  com.webobjects.appserver.WOResponse response,
                                  com.webobjects.appserver.WOContext context)
Overrides:
addQueryParameters in class GCAbstractChart

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.