For downloads, demos, and more visit the
Client-side GChart Home Page

Uses of Class
com.googlecode.gchart.client.GChart.SymbolType

Uses of GChart.SymbolType in com.googlecode.gchart.client
 

Fields in com.googlecode.gchart.client declared as GChart.SymbolType
static GChart.SymbolType GChart.SymbolType.ANCHOR_CENTER
          Points on curves with this symbol type are positioned at the center of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_EAST
          Points on curves with this symbol type are positioned at the center of the right edge of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_MOUSE
          When passed to the setHoverAnnotationSymbolType method, this symbol type enables setTitle-like, "anchored at the mouse cursor" hover annotation positioning.
static GChart.SymbolType GChart.SymbolType.ANCHOR_MOUSE_SNAP_TO_X
          The same as the ANCHOR_MOUSE symbol type, except that the x coordinate of the rendered symbol is taken from the x coordinate of the point, rather than the x coordinate of the mouse.
static GChart.SymbolType GChart.SymbolType.ANCHOR_MOUSE_SNAP_TO_Y
          The same as the ANCHOR_MOUSE symbol type, except that the y coordinate of the rendered symbol is taken from the y coordinate of the point, rather than the y coordinate of the mouse.
static GChart.SymbolType GChart.SymbolType.ANCHOR_NORTH
          Points on curves with this symbol type are positioned at the center of the top edge of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_NORTHEAST
          Points on curves with this symbol type are positioned at the upper right corner of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_NORTHWEST
          Points on curves with this symbol type are positioned at the upper left corner of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_SOUTH
          Points on curves with this symbol type are positioned at the center of the bottom edge of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_SOUTHEAST
          Points on curves with this symbol type are positioned at the lower right corner of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_SOUTHWEST
          Points on curves with this symbol type are positioned at the lower left corner of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.ANCHOR_WEST
          Points on curves with this symbol type are positioned at the center of the left edge of the plot area, and do not have a visible symbol.
static GChart.SymbolType GChart.SymbolType.BOX_CENTER
          Use rectangles horizontally and vertically centered on each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_EAST
          Use rectangles just to the right of, and vertically centered on, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_NORTH
          Use rectangles just above, and horizontally centered on, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_NORTHEAST
          Use rectangles just above, and to the right of, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_NORTHWEST
          Use rectangles just above and to the left of, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_SOUTH
          Use rectangles just below, and horizontally centered on, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_SOUTHEAST
          Use rectangles just below, and to the right of, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_SOUTHWEST
          Use rectangles just below, and to the left of, each point of the curve
static GChart.SymbolType GChart.SymbolType.BOX_WEST
          Use rectangles just to the left of, and vertically centered on, each point of the curve
static GChart.SymbolType GChart.DEFAULT_SYMBOL_TYPE
          The default symbol type for curve if none is specified; this default is BOX_CENTER
static GChart.SymbolType GChart.SymbolType.HBAR_BASELINE_CENTER
          Use horizontal bars that extend from the x,y position associated with each point, to the x position defined by the host Symbol's baseline property, and that are vertically centered on the data point.
static GChart.SymbolType GChart.SymbolType.HBAR_BASELINE_NORTH
          Use horizontal bars that extend from the x,y position associated with each point, to the x position defined by the host Symbol's baseline property, and whose bottom edge passes through the data point.
static GChart.SymbolType GChart.SymbolType.HBAR_BASELINE_SOUTH
          Use horizontal bars that extend from the x,y position associated with each point, to the x position defined by the host Symbol's baseline property, and whose top edge passes through the data point.
static GChart.SymbolType GChart.SymbolType.HBAR_EAST
          Use horizontal bars that extend from the right y-axis to each point on the curve, and that are vertically centered on the point.
static GChart.SymbolType GChart.SymbolType.HBAR_NEXT
          Deprecated. As of version 2.4, this symbol has been redefined to be synonomous with the LINE symbol type.

Prior to v2.4, this symbol drew a horizontal bar from each point to the x coordinate of the next point. Some applications may need to use a revised point set in order to produce the same curves using LINE that they used to produce with this symbol.

See the discussion within the VBAR_NEXT symbol for more information about why support for these vertically and horizontally constrained connecting line symbol types was dropped.

static GChart.SymbolType GChart.SymbolType.HBAR_NORTHEAST
          Use horizontal bars that extend from the right y-axis to each point on the curve, and that are vertically just above the point.
static GChart.SymbolType GChart.SymbolType.HBAR_NORTHWEST
          Use horizontal bars that extend from the left y-axis to each point on the curve, and that are vertically just above point.
static GChart.SymbolType GChart.SymbolType.HBAR_PREV
          Deprecated. As of version 2.4, this symbol has been redefined to be synonymous with the LINE symbol type.

Prior to v2.4, this symbol drew a horizontal bar from each point to the x coordinate of the previous point. Some applications may need to use a revised point set in order to produce the same curves using LINE that they used to produce with this symbol.

See the discussion within the VBAR_NEXT symbol for more information about why support for these vertically and horizontally constrained connecting line symbol types was dropped.

static GChart.SymbolType GChart.SymbolType.HBAR_SOUTHEAST
          Use horizontal bars that extend from the right y-axis to each point on the curve, and that are vertically just below the point.
static GChart.SymbolType GChart.SymbolType.HBAR_SOUTHWEST
          Use horizontal bars that extend from the left y-axis to each point on the curve, and that are vertically just below the point.
static GChart.SymbolType GChart.SymbolType.HBAR_WEST
          Use horizontal bars that extend from the left y-axis to each point on the curve, and that are vertically centered on the point.
static GChart.SymbolType GChart.SymbolType.LINE
          This symbol type draws a continuous straight line between successive individual data points.
static GChart.SymbolType GChart.SymbolType.LINE_CANVAS
          Deprecated. In GChart 2.3, you had to use this special symbol type to get GChart to use an external canvas library to draw crisp connecting lines.

As of GChart 2.5, the LINE symbol type will, by default, be rendered with whatever external canvas library you provide to GChart via the setCanvasFactory method.

So now, LINE_CANVAS is just another name for LINE. Please replace LINE_CANVAS with LINE in your code.

Note that LINE only draws continuous lines if fill spacing (setFillSpacing) is 0. With fill spacing > 0, it uses the old HTML-rendering method. Since 0 is now the new default fill spacing for the LINE symbol type, normally LINE works exactly like LINE_CANVAS did. But, if you had explicitly set the fill spacing, you may have to remove this specification, or set it to 0, to get the same behavior you had before with LINE_CANVAS.

static GChart.SymbolType GChart.SymbolType.NONE
          A symbol type that does not draw any main symbol.
static GChart.SymbolType GChart.SymbolType.PIE_SLICE_HATCHED_SHADING
          Draws a pie slice whose area is shaded using both vertical and horizontal bars, which produces a "cross-hatched" pattern.
static GChart.SymbolType GChart.SymbolType.PIE_SLICE_HORIZONTAL_SHADING
          Draws a pie slice whose area is shaded using horizontal bars.
static GChart.SymbolType GChart.SymbolType.PIE_SLICE_OPTIMAL_SHADING
          Draw a pie slice whose area is shaded using either vertical bars or horizontal bars--whichever renders the slice more efficiently.
static GChart.SymbolType GChart.SymbolType.PIE_SLICE_VERTICAL_SHADING
          Draws a pie slice whose area is shaded using vertical bars.
static GChart.SymbolType GChart.SymbolType.VBAR_BASELINE_CENTER
          Use vertical bars that extend from the x,y position associated with each point, to the y position defined by the host Symbol's baseline property, and that are horizontally centered on the data point.
static GChart.SymbolType GChart.SymbolType.VBAR_BASELINE_EAST
          Use vertical bars that extend from the x,y position associated with each point, to the y position defined by the host Symbol's baseline property, and whose left edge passes through the data point.
static GChart.SymbolType GChart.SymbolType.VBAR_BASELINE_WEST
          Use vertical bars that extend from the x,y position associated with each point, to the y position defined by the host Symbol's baseline property, and whose right edge passes through the data point.
static GChart.SymbolType GChart.SymbolType.VBAR_NEXT
          Deprecated. As of version 2.4, this symbol has been redefined to be synonomous with the LINE symbol type.

Prior to v2.4, this symbol drew a vertical bar from each point to the y coordinate of the next point. Some applications may need to use a revised point set in order to produce the same curves with LINE that they used to produce with this symbol.

Support was dropped because:

  1. Continued support would have complicated implementation of the new hover feedback system introduced with v2.4 (these are the only symbols whose hit-testing-related size depends on preceding or subsequent points).

  2. With the introduction of LINE the main reason for this, and related, vertically (or horizontally) constrained line drawing symbol types had been eliminated (had LINE existed at the beginning, these constrained line drawing symbol types would never have been added).

Finally, note that if lines are vertical or horizontal, and solidly connected, LINE automatically collapses them into a single element, so no element-based efficiency losses need be associated with replacing curves using such rectilinear symbol types with equivalent curves rendered via the LINE symbol type.

static GChart.SymbolType GChart.SymbolType.VBAR_NORTH
          Use vertical bars that extend from the top of the chart to each point on the curve, and are horizontally centered on the point.
static GChart.SymbolType GChart.SymbolType.VBAR_NORTHEAST
          Use vertical bars that extend from the top of the chart to each point on the curve, and are horizontally to the right of the point.
static GChart.SymbolType GChart.SymbolType.VBAR_NORTHWEST
          Use vertical bars that extend from the top of the chart to each point on the curve, and are horizontally to the left of the point.
static GChart.SymbolType GChart.SymbolType.VBAR_PREV
          Deprecated. As of version 2.4, this symbol has been redefined to be synonomous with the LINE symbol type.

Prior to v2.4, this symbol drew a vertical bar from each point to the y coordinate of the previous point. Some applications may need to use a revised point set in order to produce the same curves using LINE that they used to produce with this symbol.

See the discussion within the VBAR_NEXT symbol for more information about why support for these vertically and horizontally constrained connecting line symbol types was dropped.

static GChart.SymbolType GChart.SymbolType.VBAR_SOUTH
          Use vertical bars that extend from the x-axis to each point on the curve, and that are horizontally centered on the point.
static GChart.SymbolType GChart.SymbolType.VBAR_SOUTHEAST
          Use vertical bars that extend from the x-axis to each point on the curve, and that are horizontally to the right of the point.
static GChart.SymbolType GChart.SymbolType.VBAR_SOUTHWEST
          Use vertical bars that extend from the x-axis to each point on the curve, and that are horizontally to the left of the point.
static GChart.SymbolType GChart.SymbolType.XGRIDLINE
          Represents a single x-axis grid-line.
static GChart.SymbolType GChart.SymbolType.Y2GRIDLINE
          Deprecated. This symbol is the same as YGRIDLINE and was added by mistake in version 1. (the y-axis isn't defined by the symbol type, but rather by the curve's setYAxis method).

Please use YGRIDLINE instead.

static GChart.SymbolType GChart.SymbolType.YGRIDLINE
          Represents a single y-axis (or y2-axis) grid-line.
 

Methods in com.googlecode.gchart.client that return GChart.SymbolType
 GChart.SymbolType GChart.Symbol.getHoverAnnotationSymbolType()
          Retrieves the symbol type that will determine how the hover annotations for this symbol gets positioned.
 GChart.SymbolType GChart.Symbol.getHoverSelectionSymbolType()
          Returns the symbol type that GChart will use when generating selection feedback.
 GChart.SymbolType GChart.Symbol.getSymbolType()
          Returns this symbol's type.
 

Methods in com.googlecode.gchart.client with parameters of type GChart.SymbolType
 void GChart.Symbol.setHoverAnnotationSymbolType(GChart.SymbolType hoverAnnotationSymbolType)
          Sets the symbol type that GChart will use when positioning hover annotations.
 void GChart.Symbol.setHoverSelectionSymbolType(GChart.SymbolType hoverSelectionSymbolType)
          Sets the symbol type that GChart will use when generating selection feedback.
 void GChart.Symbol.setSymbolType(GChart.SymbolType symbolType)
          Sets the type of this symbol.
 


For downloads, demos, and more visit the
Client-side GChart Home Page

Copyright © 2007,2008 John C. Gunther. All Rights Reserved. Portions from GWTCanvas, Copyright © Google, Inc.