PlotWindow.SetSeriesColorPalette Method

Top 

Description

Sets the color palette to be used when drawing the Series contained within this PlotWindow. Any series added after this method is called will not be affected.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

PlotWindow.SetSeriesColorPalette(Array colors)

None

Sets the color palette to be used when drawing Series in this PlotWindow. The palette will be created based on the provided array of colors, using the Qualitative interpolation mode. Any series added after this method is called will not be affected.

PlotWindow.SetSeriesColorPalette(String colorPalette)

None

Sets the color palette to be used when drawing the Series contained within this PlotWindow. Any series added after this method is called will not be affected.

PlotWindow.SetSeriesColorPalette(Array colors, Variable interpolationMode)

None

Sets the color palette to be used when drawing Series in this PlotWindow. The palette will be created based on the provided array of colors and the interpolation mode specified. When using the 'Interpolation' mode, colors will be chosen based on the weight in the RGB color space. When using the 'Explicit/Qualitative' mode, colors will be used as specified, repeating if the number of Series exceeds the number of colors. Any series added after this method is called will not be affected.

PlotWindow.SetSeriesColorPalette(String colorPalette, Variable interpolationMode)

None

Sets the color palette to be used when drawing Series in this PlotWindow. The colors in the palette will be applied using the interpolation mode specified. Any series added after this method is called will not be affected.

 

 

See also

PlotWindow Object

PlotWindow Guide