pub fn make_legend<X: Axis<X>, Y: Axis<Y>>(
    ctx: &EventCtx<'_>,
    series: &[Series<X, Y>],
    opts: &PlotOptions<X, Y>
) -> Widget