def METHOD_NAME(request, prefixid):
    """Returns a Graphite graph render URL for this prefix"""
    prefix = get_object_or_404(Prefix, pk=prefixid)
    path = partial(metric_path_for_prefix, prefix.net_address)
    ip_count = (
        'alpha('
        'color(cactiStyle(alias(stacked({0}), "IP addresses ")), "green"),'
        '0.8)'
    ).format(path('ip_count'))
    ip_range = 'color(cactiStyle(alias({0}, "Max addresses")), "red")'.format(
        path('ip_range')
    )
    mac_count = 'color(cactiStyle(alias({0}, "MAC addresses")), "blue")'.format(
        path('mac_count')
    )
    metrics = [ip_count, mac_count]
    if IP(prefix.net_address).version() == 4:
        metrics.append(ip_range)
    timeframe = "1" + request.GET.get('timeframe', 'day')
    url = get_simple_graph_url(
        metrics, timeframe, title=prefix.net_address, width=397, height=201
    )
    if url:
        return redirect(url)
    else:
        return HttpResponse(status=500)