Chart
Introduction¶
Operator offers a simple chart option. This functionality is available only through the url and cannot be accessed through any menu or button. This is useful for including a single chart in a website or other application where NovaStar data is beneficial.
<ip_address>/chart?tsid=54985.NovaStar5.WaterLevelRiver.IrregSecond&markerEnabled=false&tickIntervalSeconds=604800
Assemble the url¶
Using the system ip address and endpoint of "chart", followed by a "?", add the time series identifier. Additional parameter options are added, separated by "&".
<ip_address>/chart?tsid=<time series identifier>&<option=value>&<option=value>
url options¶
| Property | Options | Default |
|---|---|---|
| chartType | "area", "bar", "column", "line", "scatter" | "line" |
| color | any acceptable css color | "blue" |
| markerEnabled | "true", "false" | "true" |
| periodEnd | date string, ie "2025-05-30" | current |
| periodStart | date string, ie "2025-05-01" | now_minus_30days |
| precipFromTop | "true", "false" | "true" |
| tickIntervalSeconds | number of seconds | depends on time period of data |
| tooltipPreference | "fixed", "floating" | "floating" |
| tsid | time series identifier | required |
Additional parameters approriate for Novastar Data Web Services ts endpoint are allowed and will be included when retrieving data.