Creating a Chart Series

Add a new chart series to a traditional chart definition.

Implementation:

  1. Open a Chart question's Properties and click Configure to open the Chart Definition interface.
  2. Switch to the Series panel.
  3. Click Add to open the Series Definition dialog.
  4. Use the Enabled check box to determine if the chart series should be enabled or disabled. If disabled, the series will not appear in the associated chart area.
  5. Enter a unique Series Name. This can be used to reference the series elsewhere, including with the WithChartItems function.
  6. Use the Chart Area Name drop-down menu to select the chart area to which the series should be assigned.
  7. Use the Chart Type drop-down menu to select the format that should be used to render the series' data. The type selected will determine how many series and Y-axis data points the series can render.
  8. (Optional) Switch to the Appearance tab to edit the styling options for the series.
  9. (Optional) Switch to the Interactivity tab, where you can assign an action, tooltip, and hyperlink to the series.
  10. Switch to the Data Points panel, where you can add and manage the data points assigned to the series. A series must contain at least one data point to render.
  11. Switch to the Axes panel.
  12. Use the drop-down menus in the Specify the Axes Types for This Series section to define the axes that the series' data will be plotted against. The Primary axes represent the bottom (X-axis) and left (Y-axis) edges of the chart, while the Secondary axes represent the top (X-axis) and right (Y-axis) edges.
  13. (Optional) Use the drop-down menus in the Specify the Axes Data Types for This Series section to specify the type of data each axis will contain. If these are left set to Auto, the axes will automatically display the data in its native format.
  14. (Optional) Switch to the Series Label panel. Use the options in this panel to add a label that will be applied to all data points in the series.
  15. (Optional) Switch to the Series Legend panel. Use the options in this panel to modify how the series will appear in the chart legend.
  16. (Optional) Switch to the Other Options panel, which contains options for applying style settings to the series.

The settings in this panel will vary depending on the type of chart assigned to it. Certain options are also reliant on other chart elements to function and will have no effect unless those elements are correctly configured. For example, using the Label Style option requires that a label is applied to the series.

  1. (Optional) Tick the check boxes next to the options to include.
  2. (Optional) Select a ticked option and click Edit to open the Chart Type Specific Setting dialog. Here you can configure the style further.
  3. Click Save to create the new series.