Time Charts

Introduction

Time charts show value changes over a time. There are currently three ways to show time series in Davisor Chart:

Data Model

Mandatory channels:

Optional channels: paint, color, url, alt.

Scatter Chart

In scatter chart, either of the x- and y-axis can be time valued. Data series are represented as groups of two value columns having the same number of entries. There can be several data series with any number of data points in each as long as x- and y-axis data types are the same for all series.

Line Chart

In line chart the time stamps are common for all the values. If the data values are wanted to map into linear time axis, then the time stamps must be given in a time channel. If the time stamps are just informal, then they can be given in label channel. In the latter case the data points are equally spaced into the plot area in the order they are represented in the data. In both cases the X-axis labels can be formatted using the time formats.

Which Method I Should to Use?

The optimal time series representation method depends on the data you have:

Examples

Two series line time chart with shared but irregular steps.
Two series scatter time chart with distinct irregular steps.
Line chart with non-linear time axis.

Notes

It is left to the user to sort the data when needed. For example, the sort data source can be used. The data points are rendered in the order they come in, so scatter chart and time series line chart will draw lines backwards when necessary. "Ordinary" line chart doesn't care about label contents, but just draws the labels as they are.

Channel type "time" is just an alias for "position" channel type. It can be used to map any kind of data (not only dates and time stamps but integers and floats as well) to x-axis.