Skip to main content

Basic Configuration

This guide covers the basic configuration of a 2D trend and the various properties which are necessary for its configuration. For more advanced implementation, please reference the provided property documentation and other user guides.

The authors of this guide have made the assumption that the reader has at minimum completed the Ignition Core Certification and as such the subject matter has been designed accordingly. Please use the Chart Properties page as a reference alongside this guide.

The primary properties which are required for a chart to display data are: dataaxes, and pens. These properties are covered throughout this guide and are used as the building blocks for all chart development.

Chart Variants

After installing the SC Charts module, multiple chart variants are provided in the Ignition designer perspective component palette as described by the image below.

Perspective component palette for SC Charts variants.

Each variant, similar to the timeseries chart component variants, provide some basic configuration for specific chart types. This guide utilizes the basic Chart 2D variant as its base. Once the basic variant is placed in the designer view, the chart should resemble the following example:

image.png

Data

Data is defined under the data property. The data object must include a unique name, a dataset, and must set a flag for whether or not the dataset is sorted in the x-direction. The method in which the dataset property is defined is developer dependant. For this guide, the dataset has been hardcoded but may be bound using property bindings or written to using other scripting methods. See the images below and note the naming of each of your dataset columns as they are used throughout this guide.

dataset-highlevel.png

image.png

Pens

Axes

axes-default.png