removed nowrap shortcode, dynamically apply timestamp styling (#3412)

* removed nowrap shortcode, dynamically apply timestamp styling

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
pull/3420/head^2
Scott Anderson 2021-11-19 15:41:06 -07:00 committed by GitHub
parent 1397a19bcc
commit 6d477408a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 274 additions and 248 deletions

View File

@ -153,3 +153,30 @@ $('.tooltip').each( function(){
$toolTipElement = $('<div/>').addClass('tooltip-container').append($toolTipText);
$(this).prepend($toolTipElement);
});
/////////////////// Style time columns in tables to not wrap ///////////////////
$('.article--content table').each(function() {
var table = $(this);
var timeColumns = ['_time', '_start', '_stop'];
let header = [];
let timeColumnIndexes = [];
// Return an array of column headers
table.find('th').each(function () {
header.push($(this)[0].innerHTML);
});
// Return indexes of time columns
header.forEach(function(value, i) {
if ( timeColumns.includes(value) ) { timeColumnIndexes.push(i) };
});
// Add the nowrap class to cells with time column indexes
table.find('td').each(function() {
if (timeColumnIndexes.includes( $(this)[0].cellIndex )) {
$(this).addClass('nowrap');
}
})
})

View File

@ -78,22 +78,22 @@ data
{{< flex >}}
{{% flex-content %}}
##### Given the following input data:
| \_time | \_value _<span style="opacity:.5">(int)</span>_ |
| :------------------------------------------------ | ----------------------------------------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | 10000000000 |
| {{% nowrap %}}2021-01-01T02:00:00Z{{% /nowrap %}} | 20000000000 |
| {{% nowrap %}}2021-01-01T03:00:00Z{{% /nowrap %}} | 30000000000 |
| {{% nowrap %}}2021-01-01T04:00:00Z{{% /nowrap %}} | 40000000000 |
| \_time | \_value _<span style="opacity:.5">(int)</span>_ |
| :------------------- | ----------------------------------------------: |
| 2021-01-01T00:00:00Z | 10000000000 |
| 2021-01-01T02:00:00Z | 20000000000 |
| 2021-01-01T03:00:00Z | 30000000000 |
| 2021-01-01T04:00:00Z | 40000000000 |
{{% /flex-content %}}
{{% flex-content %}}
##### The example above returns:
| \_time | \_value _<span style="opacity:.5">(time)</span>_ |
| :------------------------------------------------ | ------------------------------------------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:10Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T02:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:20Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T03:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:30Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T04:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:40Z{{% /nowrap %}} |
| \_time | \_value _<span style="opacity:.5">(time)</span>_ |
| :------------------- | -----------------------------------------------: |
| 2021-01-01T00:00:00Z | 1970-01-01T00:00:10Z |
| 2021-01-01T02:00:00Z | 1970-01-01T00:00:20Z |
| 2021-01-01T03:00:00Z | 1970-01-01T00:00:30Z |
| 2021-01-01T04:00:00Z | 1970-01-01T00:00:40Z |
{{% /flex-content %}}
{{< /flex >}}
@ -110,22 +110,22 @@ data
{{< flex >}}
{{% flex-content %}}
##### Given the following input data:
| \_time | epoch_ns _<span style="opacity:.5">(int)</span>_ |
| :------------------------------------------------ | -----------------------------------------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | 10000000000 |
| {{% nowrap %}}2021-01-01T02:00:00Z{{% /nowrap %}} | 20000000000 |
| {{% nowrap %}}2021-01-01T03:00:00Z{{% /nowrap %}} | 30000000000 |
| {{% nowrap %}}2021-01-01T04:00:00Z{{% /nowrap %}} | 40000000000 |
| \_time | epoch_ns _<span style="opacity:.5">(int)</span>_ |
| :------------------- | -----------------------------------------------: |
| 2021-01-01T00:00:00Z | 10000000000 |
| 2021-01-01T02:00:00Z | 20000000000 |
| 2021-01-01T03:00:00Z | 30000000000 |
| 2021-01-01T04:00:00Z | 40000000000 |
{{% /flex-content %}}
{{% flex-content %}}
##### The example above returns:
| \_time | epoch_ns _<span style="opacity:.5">(time)</span>_ |
| :------------------------------------------------ | ------------------------------------------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:10Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T02:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:20Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T03:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:30Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T04:00:00Z{{% /nowrap %}} | {{% nowrap %}}1970-01-01T00:00:40Z{{% /nowrap %}} |
| \_time | epoch_ns _<span style="opacity:.5">(time)</span>_ |
| :------------------- | ------------------------------------------------: |
| 2021-01-01T00:00:00Z | 1970-01-01T00:00:10Z |
| 2021-01-01T02:00:00Z | 1970-01-01T00:00:20Z |
| 2021-01-01T03:00:00Z | 1970-01-01T00:00:30Z |
| 2021-01-01T04:00:00Z | 1970-01-01T00:00:40Z |
{{% /flex-content %}}
{{< /flex >}}
@ -177,22 +177,22 @@ data
{{< flex >}}
{{% flex-content %}}
##### Given the following input data:
| \_time | _value |
| :------------------------------------------------ | -----: |
| {{% nowrap %}}2021-01-01T00:00:33Z{{% /nowrap %}} | 1.0 |
| {{% nowrap %}}2021-01-01T00:01:10Z{{% /nowrap %}} | 1.1 |
| {{% nowrap %}}2021-01-01T00:02:45Z{{% /nowrap %}} | 3.6 |
| {{% nowrap %}}2021-01-01T00:03:23Z{{% /nowrap %}} | 2.5 |
| \_time | _value |
| :------------------- | -----: |
| 2021-01-01T00:00:33Z | 1.0 |
| 2021-01-01T00:01:10Z | 1.1 |
| 2021-01-01T00:02:45Z | 3.6 |
| 2021-01-01T00:03:23Z | 2.5 |
{{% /flex-content %}}
{{% flex-content %}}
##### The example above returns:
| \_time | _value |
| :------------------------------------------------ | -----: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | 1.0 |
| {{% nowrap %}}2021-01-01T00:01:00Z{{% /nowrap %}} | 1.1 |
| {{% nowrap %}}2021-01-01T00:02:00Z{{% /nowrap %}} | 3.6 |
| {{% nowrap %}}2021-01-01T00:03:00Z{{% /nowrap %}} | 2.5 |
| \_time | _value |
| :------------------- | -----: |
| 2021-01-01T00:00:00Z | 1.0 |
| 2021-01-01T00:01:00Z | 1.1 |
| 2021-01-01T00:02:00Z | 3.6 |
| 2021-01-01T00:03:00Z | 2.5 |
{{% /flex-content %}}
{{< /flex >}}

View File

@ -69,52 +69,52 @@ data
{{< flux/group-key "[_start, _stop, _field, _measurement, sensor_id]" >}}
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------------------------------------ | :------------------------------------------------ | :----- | :----------- | :-------- | :------------------------------------------------ | ------------------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 0.31069912185103726 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 0.2958765656451926 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 0.3148598993377045 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 0.3138373097388317 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------- | :------------------- | :----- | :----------- | :-------- | :------------------- | ------------------: |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 0.31069912185103726 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 0.2958765656451926 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 0.3148598993377045 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 0.3138373097388317 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------------------------------------ | :------------------------------------------------ | :------- | :----------- | :-------- | :------------------------------------------------ | -----------------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 36.032121180773785 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 36.078174038253856 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 36.10019403559529 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 36.12069055726357 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------- | :------------------- | :------- | :----------- | :-------- | :------------------- | -----------------: |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 36.032121180773785 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 36.078174038253856 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 36.10019403559529 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 36.12069055726357 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------------------------------------ | :------------------------------------------------ | :---------- | :----------- | :-------- | :------------------------------------------------ | ----------------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 70.84122391403946 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 70.86036165985708 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 70.89253177998165 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 70.85193833073798 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------- | :------------------- | :---------- | :----------- | :-------- | :------------------- | ----------------: |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 70.84122391403946 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 70.86036165985708 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 70.89253177998165 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 70.85193833073798 |
##### Example output data
| _start | _stop | _field | _measurement | sensor_id | _value |
| :------------------- | :------------------- | :----- | :----------- | :-------- | -----------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | _start |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | _stop |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | _field |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | _measurement |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | sensor_id |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | _start |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | _stop |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | _field |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | _measurement |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | sensor_id |
| _start | _stop | _field | _measurement | sensor_id | _value |
| :------------------- | :------------------- | :------- | :----------- | :-------- | -----------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | _start |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | _stop |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | _field |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | _measurement |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | sensor_id |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | _start |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | _stop |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | _field |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | _measurement |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | sensor_id |
| _start | _stop | _field | _measurement | sensor_id | _value |
| :------------------- | :------------------- | :---------- | :----------- | :-------- | -----------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | _start |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | _stop |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | _field |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | _measurement |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | sensor_id |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | _start |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | _stop |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | _field |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | _measurement |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | sensor_id |
{{% /expand %}}
{{< /expand-wrapper >}}
@ -138,26 +138,26 @@ data
{{< flux/group-key "[_start, _stop, _field, _measurement, sensor_id]" >}}
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------------------------------------ | :------------------------------------------------ | :----- | :----------- | :-------- | :------------------------------------------------ | ------------------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 0.31069912185103726 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 0.2958765656451926 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 0.3148598993377045 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 0.3138373097388317 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------- | :------------------- | :----- | :----------- | :-------- | :------------------- | ------------------: |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 0.31069912185103726 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 0.2958765656451926 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 0.3148598993377045 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | co | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 0.3138373097388317 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------------------------------------ | :------------------------------------------------ | :------- | :----------- | :-------- | :------------------------------------------------ | -----------------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 36.032121180773785 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 36.078174038253856 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 36.10019403559529 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 36.12069055726357 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------- | :------------------- | :------- | :----------- | :-------- | :------------------- | -----------------: |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 36.032121180773785 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 36.078174038253856 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 36.10019403559529 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | humidity | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 36.12069055726357 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------------------------------------ | :------------------------------------------------ | :---------- | :----------- | :-------- | :------------------------------------------------ | ----------------: |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 70.84122391403946 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 70.86036165985708 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 70.89253177998165 |
| {{% nowrap %}}2021-09-08T14:21:53Z{{% /nowrap %}} | {{% nowrap %}}2021-09-08T14:51:53Z{{% /nowrap %}} | temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 70.85193833073798 |
| _start | _stop | _field | _measurement | sensor_id | _time | _value |
| :------------------- | :------------------- | :---------- | :----------- | :-------- | :------------------- | ----------------: |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 70.84122391403946 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 70.86036165985708 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 70.89253177998165 |
| 2021-09-08T14:21:53Z | 2021-09-08T14:51:53Z | temperature | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 70.85193833073798 |
##### Example output data

View File

@ -96,26 +96,26 @@ data
{{< flux/group-key "[ _field, _measurement, sensor_id]" >}}
| _field | _measurement | sensor_id | _time | _value |
| :----- | :----------- | :-------- | :------------------------------------------------ | ------------------: |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 0.31069912185103726 |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 0.2958765656451926 |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 0.3148598993377045 |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 0.3138373097388317 |
| _field | _measurement | sensor_id | _time | _value |
| :----- | :----------- | :-------- | :------------------- | ------------------: |
| co | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 0.31069912185103726 |
| co | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 0.2958765656451926 |
| co | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 0.3148598993377045 |
| co | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 0.3138373097388317 |
| _field | _measurement | sensor_id | _time | _value |
| :------- | :----------- | :-------- | :------------------------------------------------ | -----------------: |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 36.032121180773785 |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 36.078174038253856 |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 36.10019403559529 |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 36.12069055726357 |
| _field | _measurement | sensor_id | _time | _value |
| :------- | :----------- | :-------- | :------------------- | -----------------: |
| humidity | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 36.032121180773785 |
| humidity | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 36.078174038253856 |
| humidity | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 36.10019403559529 |
| humidity | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 36.12069055726357 |
| _field | _measurement | sensor_id | _time | _value |
| :---------- | :----------- | :-------- | :------------------------------------------------ | ----------------: |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 70.84122391403946 |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 70.86036165985708 |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 70.89253177998165 |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 70.85193833073798 |
| _field | _measurement | sensor_id | _time | _value |
| :---------- | :----------- | :-------- | :------------------- | ----------------: |
| temperature | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 70.84122391403946 |
| temperature | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 70.86036165985708 |
| temperature | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 70.89253177998165 |
| temperature | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 70.85193833073798 |
##### Example output data
@ -163,26 +163,26 @@ data
{{< flux/group-key "[ _field, _measurement, sensor_id]" >}}
| _field | _measurement | sensor_id | _time | _value |
| :----- | :----------- | :-------- | :------------------------------------------------ | ------------------: |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 0.31069912185103726 |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 0.2958765656451926 |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 0.3148598993377045 |
| co | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 0.3138373097388317 |
| _field | _measurement | sensor_id | _time | _value |
| :----- | :----------- | :-------- | :------------------- | ------------------: |
| co | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 0.31069912185103726 |
| co | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 0.2958765656451926 |
| co | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 0.3148598993377045 |
| co | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 0.3138373097388317 |
| _field | _measurement | sensor_id | _time | _value |
| :------- | :----------- | :-------- | :------------------------------------------------ | -----------------: |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 36.032121180773785 |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 36.078174038253856 |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 36.10019403559529 |
| humidity | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 36.12069055726357 |
| _field | _measurement | sensor_id | _time | _value |
| :------- | :----------- | :-------- | :------------------- | -----------------: |
| humidity | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 36.032121180773785 |
| humidity | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 36.078174038253856 |
| humidity | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 36.10019403559529 |
| humidity | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 36.12069055726357 |
| _field | _measurement | sensor_id | _time | _value |
| :---------- | :----------- | :-------- | :------------------------------------------------ | ----------------: |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:21:57Z{{% /nowrap %}} | 70.84122391403946 |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:07Z{{% /nowrap %}} | 70.86036165985708 |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:17Z{{% /nowrap %}} | 70.89253177998165 |
| temperature | airSensors | TLM0100 | {{% nowrap %}}2021-09-08T14:22:27Z{{% /nowrap %}} | 70.85193833073798 |
| _field | _measurement | sensor_id | _time | _value |
| :---------- | :----------- | :-------- | :------------------- | ----------------: |
| temperature | airSensors | TLM0100 | 2021-09-08T14:21:57Z | 70.84122391403946 |
| temperature | airSensors | TLM0100 | 2021-09-08T14:22:07Z | 70.86036165985708 |
| temperature | airSensors | TLM0100 | 2021-09-08T14:22:17Z | 70.89253177998165 |
| temperature | airSensors | TLM0100 | 2021-09-08T14:22:27Z | 70.85193833073798 |
##### Example output data

View File

@ -194,21 +194,21 @@ sampledata.int()
##### Output data
| _time | tag | _value | server | valueFloat |
| :------------------- | :-- | -----: | :-------- | ---------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | -2 | {{% nowrap %}}server-t1{{% /nowrap %}} | -2.0 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | 10 | {{% nowrap %}}server-t1{{% /nowrap %}} | 10.0 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | 7 | {{% nowrap %}}server-t1{{% /nowrap %}} | 7.0 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | 17 | {{% nowrap %}}server-t1{{% /nowrap %}} | 17.0 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | 15 | {{% nowrap %}}server-t1{{% /nowrap %}} | 15.0 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | 4 | {{% nowrap %}}server-t1{{% /nowrap %}} | 4.0 |
| 2021-01-01T00:00:00Z | t1 | -2 | server-t1 | -2.0 |
| 2021-01-01T00:00:10Z | t1 | 10 | server-t1 | 10.0 |
| 2021-01-01T00:00:20Z | t1 | 7 | server-t1 | 7.0 |
| 2021-01-01T00:00:30Z | t1 | 17 | server-t1 | 17.0 |
| 2021-01-01T00:00:40Z | t1 | 15 | server-t1 | 15.0 |
| 2021-01-01T00:00:50Z | t1 | 4 | server-t1 | 4.0 |
| _time | tag | _value | server | valueFloat |
| :------------------- | :-- | -----: | :-------- | ---------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | 19 | {{% nowrap %}}server-t2{{% /nowrap %}} | 19.0 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | 4 | {{% nowrap %}}server-t2{{% /nowrap %}} | 4.0 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | -3 | {{% nowrap %}}server-t2{{% /nowrap %}} | -3.0 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | 19 | {{% nowrap %}}server-t2{{% /nowrap %}} | 19.0 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | 13 | {{% nowrap %}}server-t2{{% /nowrap %}} | 13.0 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | 1 | {{% nowrap %}}server-t2{{% /nowrap %}} | 1.0 |
| 2021-01-01T00:00:00Z | t2 | 19 | server-t2 | 19.0 |
| 2021-01-01T00:00:10Z | t2 | 4 | server-t2 | 4.0 |
| 2021-01-01T00:00:20Z | t2 | -3 | server-t2 | -3.0 |
| 2021-01-01T00:00:30Z | t2 | 19 | server-t2 | 19.0 |
| 2021-01-01T00:00:40Z | t2 | 13 | server-t2 | 13.0 |
| 2021-01-01T00:00:50Z | t2 | 1 | server-t2 | 1.0 |
{{% /flex-content %}}
{{< /flex >}}

View File

@ -74,23 +74,23 @@ sampledata.int()
{{% flex-content %}}
##### Output data
| _time | tag | _value | stateCount |
| :------------------------------------------------ | :-- | -----: | ---------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | -2 | -1 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | 10 | -1 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | 7 | -1 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | 17 | 1 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | 15 | 2 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | 4 | -1 |
| _time | tag | _value | stateCount |
| :------------------- | :-- | -----: | ---------: |
| 2021-01-01T00:00:00Z | t1 | -2 | -1 |
| 2021-01-01T00:00:10Z | t1 | 10 | -1 |
| 2021-01-01T00:00:20Z | t1 | 7 | -1 |
| 2021-01-01T00:00:30Z | t1 | 17 | 1 |
| 2021-01-01T00:00:40Z | t1 | 15 | 2 |
| 2021-01-01T00:00:50Z | t1 | 4 | -1 |
| _time | tag | _value | stateCount |
| :------------------------------------------------ | :-- | -----: | ---------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | 19 | 1 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | 4 | -1 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | -3 | -1 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | 19 | 1 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | 13 | 2 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | 1 | -1 |
| _time | tag | _value | stateCount |
| :------------------- | :-- | -----: | ---------: |
| 2021-01-01T00:00:00Z | t2 | 19 | 1 |
| 2021-01-01T00:00:10Z | t2 | 4 | -1 |
| 2021-01-01T00:00:20Z | t2 | -3 | -1 |
| 2021-01-01T00:00:30Z | t2 | 19 | 1 |
| 2021-01-01T00:00:40Z | t2 | 13 | 2 |
| 2021-01-01T00:00:50Z | t2 | 1 | -1 |
{{% /flex-content %}}
{{< /flex >}}
{{% /expand %}}

View File

@ -86,23 +86,23 @@ sampledata.int()
{{% flex-content %}}
##### Output data
| _time | tag | _value | stateDuration |
| :------------------------------------------------ | :-- | -----: | ------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | -2 | -1 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | 10 | -1 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | 7 | -1 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | 17 | 0 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | 15 | 10 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | 4 | -1 |
| _time | tag | _value | stateDuration |
| :------------------- | :-- | -----: | ------------: |
| 2021-01-01T00:00:00Z | t1 | -2 | -1 |
| 2021-01-01T00:00:10Z | t1 | 10 | -1 |
| 2021-01-01T00:00:20Z | t1 | 7 | -1 |
| 2021-01-01T00:00:30Z | t1 | 17 | 0 |
| 2021-01-01T00:00:40Z | t1 | 15 | 10 |
| 2021-01-01T00:00:50Z | t1 | 4 | -1 |
| _time | tag | _value | stateDuration |
| :------------------------------------------------ | :-- | -----: | ------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | 19 | 0 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | 4 | -1 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | -3 | -1 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | 19 | 0 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | 13 | 10 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | 1 | -1 |
| _time | tag | _value | stateDuration |
| :------------------- | :-- | -----: | ------------: |
| 2021-01-01T00:00:00Z | t2 | 19 | 0 |
| 2021-01-01T00:00:10Z | t2 | 4 | -1 |
| 2021-01-01T00:00:20Z | t2 | -3 | -1 |
| 2021-01-01T00:00:30Z | t2 | 19 | 0 |
| 2021-01-01T00:00:40Z | t2 | 13 | 10 |
| 2021-01-01T00:00:50Z | t2 | 1 | -1 |
{{% /flex-content %}}
{{< /flex >}}
{{% /expand %}}

View File

@ -77,44 +77,44 @@ data
{{< flex >}}
{{% flex-content %}}
##### Input data
| _time | tag | foo |
| :------------------------------------------------ | :-- | ----------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | -2000000000 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | 10000000000 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | 7000000000 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | 17000000000 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | 15000000000 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | 4000000000 |
| _time | tag | foo |
| :------------------- | :-- | ----------: |
| 2021-01-01T00:00:00Z | t1 | -2000000000 |
| 2021-01-01T00:00:10Z | t1 | 10000000000 |
| 2021-01-01T00:00:20Z | t1 | 7000000000 |
| 2021-01-01T00:00:30Z | t1 | 17000000000 |
| 2021-01-01T00:00:40Z | t1 | 15000000000 |
| 2021-01-01T00:00:50Z | t1 | 4000000000 |
| _time | tag | foo |
| :------------------------------------------------ | :-- | ----------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | 19000000000 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | 4000000000 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | -3000000000 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | 19000000000 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | 13000000000 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | 1000000000 |
| _time | tag | foo |
| :------------------- | :-- | ----------: |
| 2021-01-01T00:00:00Z | t2 | 19000000000 |
| 2021-01-01T00:00:10Z | t2 | 4000000000 |
| 2021-01-01T00:00:20Z | t2 | -3000000000 |
| 2021-01-01T00:00:30Z | t2 | 19000000000 |
| 2021-01-01T00:00:40Z | t2 | 13000000000 |
| 2021-01-01T00:00:50Z | t2 | 1000000000 |
{{% /flex-content %}}
{{% flex-content %}}
##### Output data
| _time | tag | foo |
| :------------------------------------------------ | :-- | :------------------------------------------------ |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | {{% nowrap %}}1969-12-31T23:59:58Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:10Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:07Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:17Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:15Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:04Z{{% /nowrap %}} |
| _time | tag | foo |
| :------------------- | :-- | :------------------- |
| 2021-01-01T00:00:00Z | t1 | 1969-12-31T23:59:58Z |
| 2021-01-01T00:00:10Z | t1 | 1970-01-01T00:00:10Z |
| 2021-01-01T00:00:20Z | t1 | 1970-01-01T00:00:07Z |
| 2021-01-01T00:00:30Z | t1 | 1970-01-01T00:00:17Z |
| 2021-01-01T00:00:40Z | t1 | 1970-01-01T00:00:15Z |
| 2021-01-01T00:00:50Z | t1 | 1970-01-01T00:00:04Z |
| _time | tag | foo |
| :------------------------------------------------ | :-- | :------------------------------------------------ |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:19Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:04Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | {{% nowrap %}}1969-12-31T23:59:57Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:19Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:13Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:01Z{{% /nowrap %}} |
| _time | tag | foo |
| :------------------- | :-- | :------------------- |
| 2021-01-01T00:00:00Z | t2 | 1970-01-01T00:00:19Z |
| 2021-01-01T00:00:10Z | t2 | 1970-01-01T00:00:04Z |
| 2021-01-01T00:00:20Z | t2 | 1969-12-31T23:59:57Z |
| 2021-01-01T00:00:30Z | t2 | 1970-01-01T00:00:19Z |
| 2021-01-01T00:00:40Z | t2 | 1970-01-01T00:00:13Z |
| 2021-01-01T00:00:50Z | t2 | 1970-01-01T00:00:01Z |
{{% /flex-content %}}
{{< /flex >}}
{{% /expand %}}

View File

@ -66,23 +66,23 @@ sampledata.float()
{{% flex-content %}}
##### Output data
| tag | _time | _value _<span style="opacity:.5;font-weight:300">(string)</span>_ |
| :-- | :------------------------------------------------ | ----------------------------------------------------------------: |
| t1 | {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | -2.18 |
| t1 | {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | 10.92 |
| t1 | {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | 7.35 |
| t1 | {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | 17.53 |
| t1 | {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | 15.23 |
| t1 | {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | 4.43 |
| tag | _time | _value _<span style="opacity:.5;font-weight:300">(string)</span>_ |
| :-- | :------------------- | ----------------------------------------------------------------: |
| t1 | 2021-01-01T00:00:00Z | -2.18 |
| t1 | 2021-01-01T00:00:10Z | 10.92 |
| t1 | 2021-01-01T00:00:20Z | 7.35 |
| t1 | 2021-01-01T00:00:30Z | 17.53 |
| t1 | 2021-01-01T00:00:40Z | 15.23 |
| t1 | 2021-01-01T00:00:50Z | 4.43 |
| tag | _time | _value _<span style="opacity:.5;font-weight:300">(string)</span>_ |
| :-- | :------------------------------------------------ | ----------------------------------------------------------------: |
| t2 | {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | 19.85 |
| t2 | {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | 4.97 |
| t2 | {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | -3.75 |
| t2 | {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | 19.77 |
| t2 | {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | 13.86 |
| t2 | {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | 1.86 |
| tag | _time | _value _<span style="opacity:.5;font-weight:300">(string)</span>_ |
| :-- | :------------------- | ----------------------------------------------------------------: |
| t2 | 2021-01-01T00:00:00Z | 19.85 |
| t2 | 2021-01-01T00:00:10Z | 4.97 |
| t2 | 2021-01-01T00:00:20Z | -3.75 |
| t2 | 2021-01-01T00:00:30Z | 19.77 |
| t2 | 2021-01-01T00:00:40Z | 13.86 |
| t2 | 2021-01-01T00:00:50Z | 1.86 |
{{% /flex-content %}}
{{< /flex >}}
{{% /expand %}}

View File

@ -65,44 +65,44 @@ data
{{< flex >}}
{{% flex-content %}}
##### Input data
| _time | tag | _value |
| :------------------------------------------------ | :-- | ----------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | -2000000000 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | 10000000000 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | 7000000000 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | 17000000000 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | 15000000000 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | 4000000000 |
| _time | tag | _value |
| :------------------- | :-- | ----------: |
| 2021-01-01T00:00:00Z | t1 | -2000000000 |
| 2021-01-01T00:00:10Z | t1 | 10000000000 |
| 2021-01-01T00:00:20Z | t1 | 7000000000 |
| 2021-01-01T00:00:30Z | t1 | 17000000000 |
| 2021-01-01T00:00:40Z | t1 | 15000000000 |
| 2021-01-01T00:00:50Z | t1 | 4000000000 |
| _time | tag | _value |
| :------------------------------------------------ | :-- | ----------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | 19000000000 |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | 4000000000 |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | -3000000000 |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | 19000000000 |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | 13000000000 |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | 1000000000 |
| _time | tag | _value |
| :------------------- | :-- | ----------: |
| 2021-01-01T00:00:00Z | t2 | 19000000000 |
| 2021-01-01T00:00:10Z | t2 | 4000000000 |
| 2021-01-01T00:00:20Z | t2 | -3000000000 |
| 2021-01-01T00:00:30Z | t2 | 19000000000 |
| 2021-01-01T00:00:40Z | t2 | 13000000000 |
| 2021-01-01T00:00:50Z | t2 | 1000000000 |
{{% /flex-content %}}
{{% flex-content %}}
##### Output data
| _time | tag | _value |
| :------------------------------------------------ | :-- | ------------------------------------------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t1 | {{% nowrap %}}1969-12-31T23:59:58Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:10Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:07Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:17Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:15Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t1 | {{% nowrap %}}1970-01-01T00:00:04Z{{% /nowrap %}} |
| _time | tag | _value |
| :------------------- | :-- | -------------------: |
| 2021-01-01T00:00:00Z | t1 | 1969-12-31T23:59:58Z |
| 2021-01-01T00:00:10Z | t1 | 1970-01-01T00:00:10Z |
| 2021-01-01T00:00:20Z | t1 | 1970-01-01T00:00:07Z |
| 2021-01-01T00:00:30Z | t1 | 1970-01-01T00:00:17Z |
| 2021-01-01T00:00:40Z | t1 | 1970-01-01T00:00:15Z |
| 2021-01-01T00:00:50Z | t1 | 1970-01-01T00:00:04Z |
| _time | tag | _value |
| :------------------------------------------------ | :-- | ------------------------------------------------: |
| {{% nowrap %}}2021-01-01T00:00:00Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:19Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:10Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:04Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:20Z{{% /nowrap %}} | t2 | {{% nowrap %}}1969-12-31T23:59:57Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:30Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:19Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:40Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:13Z{{% /nowrap %}} |
| {{% nowrap %}}2021-01-01T00:00:50Z{{% /nowrap %}} | t2 | {{% nowrap %}}1970-01-01T00:00:01Z{{% /nowrap %}} |
| _time | tag | _value |
| :------------------- | :-- | -------------------: |
| 2021-01-01T00:00:00Z | t2 | 1970-01-01T00:00:19Z |
| 2021-01-01T00:00:10Z | t2 | 1970-01-01T00:00:04Z |
| 2021-01-01T00:00:20Z | t2 | 1969-12-31T23:59:57Z |
| 2021-01-01T00:00:30Z | t2 | 1970-01-01T00:00:19Z |
| 2021-01-01T00:00:40Z | t2 | 1970-01-01T00:00:13Z |
| 2021-01-01T00:00:50Z | t2 | 1970-01-01T00:00:01Z |
{{% /flex-content %}}
{{< /flex >}}
{{% /expand %}}

View File

@ -1 +0,0 @@
<span class="nowrap">{{ .Inner }}</span>