### Unique Key dialog

The dialog appears when you click the Incremental Fetch button in the Bind Data screen of chart in the Web Report Wizard, or click the button in the Insert Chart dialog or Chart Wizard. It helps you to specify a unique key for the real time chart. See the dialog.

Resources

Lists all the available data resources in the dataset used by the real time chart.

Sorts the view elements in the specified order from the drop-down list. Once a user changes the order, it will be applied to all the resource trees where business view elements are listed for this user.

- Predefined Order
  Sorts the view elements in the order defined in the Business View Editor on JReport Designer.
- Resource Types
  Sorts the view elements by resource type, namely category objects come first, then group objects, then aggregation objects, and at last detail objects.
- Alphabetical Order
  Sorts the view elements in alphabetical order. Elements that are not in any category will be sorted first, then the categories, and the elements in each category will also be sorted alphabetically.

Launches the quick search toolbar to search for view elements.

- Text box
  The quick search toolbar treats view elements as strings and searches by consecutive text. Type in the text you want to search for in the text box and the matched text will be highlighted among the view elements.
- X
  Closes the quick search toolbar.
- Lists more search options.
  - Highlight All
    Specifies whether to highlight all matched text.
  - Match Case
    Specifies whether to search for text that meets the case of the typed text.
  - Match Whole Word
    Specifies whether to search for text that looks the same as the typed text.
- Highlights the previous matched text.
- Highlights the next matched text.

Adds the selected fields to the Unique Key box.

Removes the selected from the Unique Key box if they are not required.

Unique Key

Lists the fields you have added as the unique key, which is used to guarantee there are no two records with the same unique key value in the real time chart.

When a real time chart is specified with a unique key, each time when the chart automatically updates itself, the data that has the same unique key value as the previous loaded data records will be filtered and only data with different unique key value will be added to the chart. For instance, if you add the fields Country and Product ID as the unique key of a real time chart, when a record with the product ID 1 in USA has already been loaded into the chart, no more records of this product ID in USA will be added to the real time chart because they have the same unique key value.

OK

Applies the settings and closes this dialog.

Cancel

Cancels the settings and closes this dialog.

Displays the help document about this feature.

Ignores the setting and closes this dialog.