Exporting a chart ( Workbench or browser)

You can export a Chart view to either chart file (chartName.chart), a csv file (chartName.csv), or an Object to oBIX file.
Prerequisites: Chart view open in Workbench.
 NOTE: In Niagara 4.6 and later, there is added support in web charts for resolving relative ords. When exporting a web chart there is now an option to specify Absolute or Relative ord types. Once you finish configuring a web chart (e.g. setting time range, colors, chart types, etc.) and export the chart to a file using the Relative ord option, the chart file can be embedded in a relative Px page assigned to components in the station which match the same base ord structure. 
Perform the following steps:
  1. In the Command Bar, click Image(Export).
    The Exporting window opens.
    Image
  2. In the Exporting window, select from the following options:
    Action Description
    Select the Chart Exporter (File Type) chart (default), csv, or Object to oBIX
    Select Ord Type Absolute (default) or Relative.
     NOTE: For the Relative and Absolute ord type, the additional Base Ord property displays in an editable field.  
    Select Destination Station file space (default), or Download to your operating system user space.
    Select View on Export true or false (default)
  3. If csv file format is chosen, following additional options are displayed:
    Action Description
    Include Headers true or false (default)
    Include BOM true or false (default)
    Encode To String true or false (default)
    Use CRLF Line Endings CRLF (\r\n) or LF (\n) (default)
    Delimiter Enter the delimiter for the file.
    Status Column true or false (default)
    Max Records text
  4. Click OK.

The file is exported to the selected destination.

Image

 NOTE: Most options in the Command Bar provide fine tuning for viewing purposes only. Changes made with those options are of a temporary nature and are not included when the chart is saved or exported. For example, if you turn on time zoom and Delta using buttons in the command bar and then export the chart, the chart file displays with the original default settings for those options. Exceptions to this are changes made with the Time Range, Sampling, and Status Coloring options, which are included on export or save. If you want to export the chart and retain all of the changes that you have made, you need to do the following:
  1. Export the modified chart to a Station File.
  2. Create a Px view for this chart and load the exported Station File to this Px view. The chart will display with the modifications included.