You can create custom numeric label ranges, which provides you with 2 abilities; Creating unevenly distributed label ranges and unrestricting ranges of values. This will enable you to create views which suit you and your business needs.

Note: The views that are affected by numeric attribute labels are the Compare, Grid and Timeline views. 

By default, numeric attribute labels when created will always evenly divide the range of values. There is a capability to allow users can define their own ranges and create labels of their own sizes, allowing you to align it with your requirements. 

Below is an example of a SharpCloud compare view and how it presents your data with labels for the numeric attribute. The example has a numeric attribute that has a range between 0-900, with 3 labels. By default, the labels split the range evenly, creating label values of 0-300, 300-600 and 600-900. Custom ranges can also be determined as shown below.

You can see that most items are specified in the “Low” label: 0 – 300 range. 

It’s possible to tailor the label sizes to a custom range. In the above example, our label sizes are 0-200, 200-400 and >400 as these fits in line with the needs.

Editing Custom Numeric Label Ranges

You can easily create and edit new and existing label names and values. 

To create labels for attributes:

  1. Go to Settings and then Story Setup.
  2. Proceed to the Items tab, and then Attributes sub-tab.
  3. Highlight the attribute you wish to add labels for.
  4. Click “Add” in the lower half of the dialog box, just above the labels window.

You will now see a similar screen to the one below –

You can add as many labels that is required giving them the custom ranges and label names that is suited most to you. You will notice when adding labels, the minimum amount that you can have is 2, and the last label will always be a “Greater than (>)” label. This can all be done in the “label window” as highlighted in the image below.

As default, labels that are created will have a value of <=1, simply double click on the “Value” row to alter this value. 

Note: “Auto-set label ranges” will assign your labels an evenly distributed range. You can always change these labels individually after performing this function if needed.

Creating an unrestricted range

It is possible to allow a minimum/maximum value to be disabled or enabled. This allows views that can be adjustable by the data.

When editing an item’s numeric attribute value, if you entered a value higher than the maximum value set in the story setup, the changes would not be permitted. Now you can turn that setting off and allow the minimum and maximum values to be controlled by the highest and lowest values your items possess.

You also have the ability to drag and assign values out of the set ranges. For example, previously if you dragged an item to the boundaries of the edge of the view, it would maintain the highest value. Now you can drag items past the boundaries of the view to assign a new numeric value for that attribute. 

Note: This feature only affects numeric attributes.

To create a non-defined range, you need to go to the labels of that numeric attributes as shown below.

Turning on/off the minimum and maximum values will allow you to have an unrestricted range. 

If you allow an unrestricted range by deselecting the minimum and maximum values, SharpCloud will allow the item any value for that numeric attribute. If you wish to reactivate the minimum and/or maximum values and there are items that have values that fall outside of the set range, the below dialog box will appear –

By clicking “Yes”, you will change the items value to the maximum value set, by clicking “No”, it will not reactive the maximum value and the item will keep its current value.