marker attribute

Type:"none", "line", "circle", "square", "diamond", "octagon", "uptriangle", "downtriangle", plus zero or more of the prefix "big" and the suffixes "only" or "noborder"
Inherited:no
Used By:datacurve
Default:"none"

This attribute controls whether "markers" are placed on a datacurve at each point. By default no marker is placed, but any one of these values can be set.

In addition a marker can be prefixed by "big" (as in "big circle") to increase the size of the marker, or the suffix "noborder" can be added (as in "circle noborder") to turn off the border that is normally drawn around the marker.

Finally, the suffix "only" can be added (as in "circle only") to draw only the markers, not the lines between them. The resulting graph is commonly known as a "scatter plot".

Draw a circle at each point on the graph

<linegraph>
  <datacurve name="measurements" marker="circle">
    <sample x="10" y="10"/>
    <sample x="20" y="12"/>
    <sample x="30" y="9"/>
  </datacurve>
</linegraph>

Draw a larger circle at each point on the graph, with no border around it

<linegraph>
  <datacurve name="measurements" marker="big circle noborder">
    <sample x="10" y="10"/>
    <sample x="20" y="12"/>
    <sample x="30" y="9"/>
  </datacurve>
</linegraph>

Draw a larger circle at each point on the graph, with no border around it and no lines between the circles

<linegraph>
  <datacurve name="measurements" marker="big circle noborder only">
    <sample x="10" y="10"/>
    <sample x="20" y="12"/>
    <sample x="30" y="9"/>
  </datacurve>
</linegraph>