Improve time series styling

This commit is contained in:
Ben Haynes
2021-05-29 12:00:35 -04:00
parent f7e99345f7
commit ecd4bc461e

View File

@@ -58,6 +58,8 @@ export default defineComponent({
series: [],
stroke: {
curve: 'smooth',
width: 2,
lineCap: 'round',
},
fill: {
type: 'gradient',
@@ -66,12 +68,12 @@ export default defineComponent({
[
{
offset: 0,
color: 'var(--primary-alt)',
opacity: 1,
color: 'var(--primary)',
opacity: 0.25,
},
{
offset: 100,
color: 'var(--primary-alt)',
color: 'var(--primary)',
opacity: 0,
},
],