You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

Timeseries #17075/HEAD / v10
Tags:  not added yet

DSL Element timeseries{}

A simple time series plot can be configured using the timeseries element within an analysis. It takes one x sub element referring to the time series column and a variable number of y elements for the data graphs.
    ...
    analysis {
        timeseries(title:"East Fork Carson") {
           x(file:"%last/out1.csv", column:"date")
           y(file:"%last/out1.csv", column:"basin_cfs")
           y(file:"%last/out2.csv", column:"runoff[0]")
        }
        ...
    }
    ...

The example above defines the x axis as the date column of the last run that produces out1.csv. The two y data sets (basin_cfs, and runoff[0]) are obtained from different files. The visual output might look like the screen shot below.

Element timeseries{}

Specification

Name
timeseries - time series chart

Property Description Type Required
title Chart title String No

Sub-element Description Type Default Occurrences
x x axis, independent variable Date column Exactly one, required
y y axis Value column At least one

Parent
analysis{}

Notes

  • The x axis must be referencing a column with dates.
  • All columns must have the same number of rows.

Example