diff --git a/src/lib/components/ReturnCard.svelte b/src/lib/components/ReturnCard.svelte index 072bfd22..2f80dfc1 100644 --- a/src/lib/components/ReturnCard.svelte +++ b/src/lib/components/ReturnCard.svelte @@ -57,8 +57,8 @@ const options = { grid: { - left: "0%", - right: "7%", + left: "2%", + right: "2%", bottom: '0%', height: "90%", containLabel: true, @@ -185,7 +185,10 @@ { name: 'Frequency of Return', type: 'bar', - barWidth: '100%', + barWidth: '80%', + itemStyle: { + color: 'white', + }, data: histogramData } ], @@ -259,7 +262,7 @@ -
| Started | -Recovered | -Drawdown | -Days | -||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| - {new Date(item['Started']).toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })} - | -- {#if ongoingDD(item['Recovered']) === true} - continuing - {:else} - {new Date(item['Recovered']).toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })} - {/if} - | -- {item['Drawdown']?.toFixed(2)}% - | -- {item['Days']} - | +
| Started | +Recovered | +Drawdown | +Days |
|---|