ScatterPlotLabelColorMethod Option

 

The ScatterPlotLabelColorMethod option changes the label Color Method to either Fixed or By Data. The OptionValue is 0 or 1. 0 specifies fixed label color, 1 specifies to use By Data.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “ScatterPlot”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “ScatterPlot”)

object.Option(“ScatterPlotLabelColorMethod”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example 1

This example changes the color method for scatter plot labels to fixed.

 

  CommandApi.Construct ("ModifyModule")

   CommandApi.Option ("Module", "ScatterPlot")

   CommandApi.Option ("ScatterPlotLabelColorMethod", "0")

  CommandApi.Do()

 

Example 2

This example changes the color method for scatter plot labels to By Data.

 

  CommandApi.Construct ("ModifyModule")

   CommandApi.Option ("Module", "ScatterPlot")

   CommandApi.Option ("ScatterPlotLabelColorMethod", "1")

  CommandApi.Do()

 

Used by: ScatterPlot module

 

 

See Also

Automation Model