Coloursets

All grid items use graduated coloursets to define the values of their cells. Each colourset consists of a number of colour-value pairs indicating which colour corresponds to which range of values. Coloursets are named objects, stored in libraries. You can define your own coloursets and chose which one each grid is to use.

Creating a colourset

  1. Use one of the following methods to create the colourset initially:
  1. In the Colourset folder in the library you will see that a new colourset has been added. New coloursets are called Colourset, Colourset_1, Colourset_2, Colourset_3, etc., and are empty initially.

     

  2. Rename the new colourset using the local command Rename.

  3. Use the local command Properties… to display the Colourset dialog.



  4. To create a colour-value pair in the Colourset dialog enter a cell value in the box to the left of the Add button and click the button. The value will be added to the main pane, repeat for further values. SIS converts the cell values to ranges of values.

    For example entering 0, 10, 20, 30, etc. will appear as:



  5. Define a colour by which each colour-value pair will be represented in the grid. You can either select a colour for each pair individually or allow SIS to assign graduated colours across a range. See step 7.

    To select individual colours for each pair, select a colour-value pair, then either:
  1. Where you have three or more colour-value pairs, you may choose to let SIS use graduated colours through the range. To achieve this select a colour for the first pair and a colour for the last pair:



    Highlight all the values you wish to be graduated:



    Click the Spread button:



    The Spread button gives you three options:

Select the required spread option.

  1. To set no data colour

Check the No-data colour tickbox to create a (no data) entry. Assign a colour to this (no data) value:


  1. To blend colours

If you wish SIS to blend colours for values that fall between colour-value pairs check the Blend colours tickbox.

This leads to smooth transitions between colours.

The Colourset dialog Clipboard function allows you to copy the JSON for the Colourset and paste it into another Colourset if required.

Back to top of page

Assigning a colourset to a grid

To assign a colourset to a grid:

  1. Select the grid by clicking anywhere within or on its border.

  2. Right-click and select the local command Set Colourset:



  3. The Style the Grid dialog will be displayed.

    For full details of the entries available in the Style the Grid dialog see Scatter Grid.

Back to top of page

Editing a colourset

To edit a colourset:

  1. In the Libraries Control Bar, select the colourset to edit.

  2. Choose Properties from the local menu.

  3. Make the required changes in the Colourset dialog.

  4. Click OK.
       

This should automatically refresh if you are working on a BDS dataset and if you have checked the Automatically refresh BDS datasets option in the Miscellaneous tab of the Options dialog:


If you do not see your changes, do one of the following:

For details of User-defined Coloursets see the User-defined Coloursets topic.


Top of page

Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).