We've added a brand new "Lineburst" symbol layer type, which renders a gradient along the width of a line (as opposed to the Interpolated Line renderer, which renders a gradient along the length of a line). It's just like the Shapeburst fill symbol type, but for lines!