Risers and Markers

In this section:

The risers and markers in a graph are initially determined by the graph type that is selected with the GraphType property. For example, GraphType 17 selects a vertical bar graph and the risers are drawn in the graph as vertical bars that are auto-shaded and imaged with a 2.5D effect by default. GraphType 54 selects a horizontal line graph in which risers are drawn as lines that are auto-shaded and imaged with a 2.5D effect by default.

2.5D line graph

You can use properties and methods to change how risers and markers are imaged in the graph. For more information about risers and markers in pie and stock graphs, see Pie Graph Properties and Methods and Stock Graph Properties and Methods.


Top of page

x
Riser and Marker Properties

These properties control risers and markers in a graph:


Top of page

x
Riser and Marker Methods

In addition to the riser-specific properties, you can use these methods to get/set riser and marker attributes:

You can use the setMarkerShape() method to set the shape of markers in a graph. Select from the following predefined shapes:

predefined shapes

You can use the setSeriesType() method to assign a riser type to individual series. This method allows you to use different types of risers for series in a graph. For example, series one could use bar risers, series two could use line markers, and series three could use area risers.

When you use these methods, you may supply the object ID of a riser/marker as an input parameter to identify the object to which the attribute is applied. If a riser or marker is not specified, the attribute is retrieved from or assigned to the first item in the selection list. If the object ID does not identify a riser or marker object or the first item in the selection list is not a riser or marker, a set operation will apply the attribute to the object but it will not have any effect on the appearance of the graph.


Top of page

x
Exceptional Risers

You can use the following methods to define the use of exceptional/highlighted risers in a graph. This is how conditional styling is implemented behind the scenes.


WebFOCUS