001 package echopoint.google.chart.internal;
002
003 import java.io.Serializable;
004
005 /**
006 * An abstract base class used to represent markers for data points or ranges
007 * displayed on graphs. See
008 * <a href='http://code.google.com/apis/chart/#shape_markers'>Shape markers</a>
009 * for specifications.
010 *
011 * @author Rakesh Vidyadharan 2008-08-10
012 * @version $Id: Marker.java 63 2008-08-29 07:46:39Z sptrakesh $
013 */
014 public abstract class Marker implements Serializable
015 {
016 private static final long serialVersionUID = 1l;
017
018 /**
019 * The marker type indicator. For text (t) markers also specify the
020 * value to display using the encoding specified.
021 */
022 protected String markerType;
023
024 /**
025 * The colour for the marker. Colour is expressed in <code>RRGGBB</code>
026 * hexadecimal format.
027 */
028 protected String color;
029
030 /**
031 * Accessor for property 'markerType'.
032 *
033 * @return Value for property 'markerType'.
034 */
035 public String getMarkerType()
036 {
037 return markerType;
038 }
039
040 /**
041 * Accessor for property 'color'.
042 *
043 * @return Value for property 'color'.
044 */
045 public String getColor()
046 {
047 return color;
048 }
049 }