WebFOCUS Online Help > Creating Charts With Graph Tools > Customizing Graphs With the Graph Editor > Stock Chart Options
Stock chart options are available in the Graph Editor menu when a stock (hi-lo) chart is selected in the Graph Types menu.
The Stock Chart Options enable you to:
Enables and disables the display of a moving average line in the stock chart. The default value is disabled.
Enables and disables the display of High values only. If the chart does not have a high value, no data value appears. The default value is disabled.
When the Show Data Values field is selected (ž), this field sets an angle from the center point from which all data text is drawn. The default value is 90 degrees.
When the Show Data Values field is selected, this field sets the radius that a data text value will be drawn out from the center of a chart riser. The default value is 20.
Enables you to set the width of the bars that appear in a stock chart. Drag the slider with the mouse, or enter a number from 1 to 100 to select a percentage of the maximum bar width.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Show Moving Average Line |
setDisplay(getStockMALine(), true | false); |
Show Data Values |
setDisplay(getDataText(), true | false); |
Position |
setDataTextAngle ( value ); |
Distance |
setDataTextRadius ( value ); |
Bar Width |
setRiserWidtrh ( value ); |
Enables and disables the display of a 52-week high line in a stock chart. The default value is disabled.
When Show 52-Week High Line is selected (ž), use this field to define a 52-week high value. The default value is 40.0.
Enables and disables the display of a 52-week low line in a stock chart. The default value is disabled.
When Show 52-Week Low Line is selected (ž), use this field to define a 52-week low value. The default value is 10.0.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Show 52-Week High Line |
setDisplay(getStock52WeekHighLine(), true | false); |
Value |
setStock52WeekHighValue ( value ); |
Show 52-Week Low Line |
set Display(getStock52WeekLowLine(), true | false ); |
Value |
setStock52WeekLowValue ( value ); |
Enables and disables the display of split risers at the stock close value. The default value is enabled.
Sets the thickness of tick marks in a stock chart. The default value is 2 pixels. If close and/or open values are not available, the tick mark(s) will not appear.
Note: The thickness of tick marks can also be controlled by selecting the tick mark object, and using the Applying Color and Line Options in Graphs dialog box.
Sets the length of tick marks in a stock chart. The default value is 50. If close and/or open values are not available, the tick mark(s) will not appear.
Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:
Editor Field |
Property/Method |
---|---|
Split Riser at Close Value |
setDisplay(getStockLowerRiser(), true | false ); |
Thickness |
setLineWidth(getStockCloseTick(), value ); |
Length |
setStockTickLength ( value ); |
WebFOCUS |