@profile.route("/<string:username>/chart/<string:uuid>")
@login_required
def chart_view(username, uuid):
    chart = db.session.query(Chart).get(uuid)
    if not chart or chart.user.username != username or \
            not can_view_chart(uuid):
        abort(http.NOT_FOUND)
    return render_template("chart_view.jinja",
                           mapbox_id=current_app.config["MAPBOX_ID"],
                           map_type=current_app.config["MAP_TYPE"],
                           user=current_user,
                           chart=chart)
Return dashboard view.
dataset/ETHPy150Open eleme/polaris/polaris/views/profile.py/chart_view