- {#if config.plotConfiguration_colorBackground}
+ {#if config?.plotConfiguration_colorBackground}
{:else}
@@ -165,7 +164,7 @@
- {#if config.plotConfiguration_colorBackground}
+ {#if config?.plotConfiguration_colorBackground}
{:else}
@@ -224,7 +223,6 @@
- {#if resamplingEnabled}
@@ -255,7 +253,7 @@
{#each [["", "Default"], ["low", "Low"], ["medium", "Medium"], ["high", "High"]] as [val, label]}
+ checked={(!config?.plotConfiguration_resamplePolicy && val === "") || config?.plotConfiguration_resamplePolicy === val} />
{/each}
@@ -298,7 +296,7 @@
{#each [["", "Default"], ["lttb", "LTTB"], ["average", "Average"], ["simple", "Simple"]] as [val, label]}
+ checked={(!config?.plotConfiguration_resampleAlgo && val === "") || config?.plotConfiguration_resampleAlgo === val} />
{/each}
@@ -310,5 +308,4 @@
- {/if}
\ No newline at end of file