Gradient line

;
<Plot x={{ grid: true }}>
    <defs>
        <LinearGradientX
            id="gradient-line-x"
            stops={[
                {
                    x: new Date(2014, 0, 1),
                    color: 'cyan'
                },
                {
                    x: new Date(2016, 0, 1),
                    color: 'magenta'
                },

                {
                    x: new Date(2018, 0, 1),
                    color: 'gold'
                }
            ]} />
    </defs>
    <Line
        data={aapl}
        x="Date"
        y="Close"
        stroke="url(#gradient-line-x)" />
</Plot>