{#if series == null || series.length == 0}
No data
{:else if series.length == 1 && scope == "node"}
{series[0].statistics.min}
{series[0].statistics.avg}
{series[0].statistics.max}
{:else}
{#each ["id", "min", "avg", "max"] as field}
sortByField(field)}> Sort
{/each}
{#each series as s, i}
{s.id ?? i}
{s.statistics.min}
{s.statistics.avg}
{s.statistics.max}
{/each}
{/if}