Login to follow
RandomColour

RandomColour (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 30 May 2023 by NTT DATA PORTUGAL, S.A
RandomColour

RandomColour (ODC)

Documentation
0.1.0

Installation:

To install this component, follow these steps:

  1. Download and install the component.
  2. Call one of the provided actions and provide the required parameters to generate colours.
  3. When creating graphics or visual elements, use colours from this extension.
  4. You can iterate through the color list using a foreach loop.
  5. Alternatively, access colors based on the current row number from the list. If you choose this approach, ensure that the current row number is within a valid range and that you return the same number of colors as the records.


Actions:

  1. RandomColourBasic: This is the basic action that generates a list of random colors. Simply provide the parameter "NrOfColours" to specify the desired number of colors.

  2. RandomColourFromList: This alternative action follows the same principle as the previous one but returns colors from the C# color library. In addition to "NrOfColours," you can also provide the "Threshold" parameter to control the diversity of colors. The "Threshold" value should be between 0 and 254. Higher values will result in a greater variety of colors being returned.