Exemplo n.º 1
0
def transactionsajaxaage():

    a = request.args.get('a', 0, type=str)
    page = request.args.get('b', 0, type=int)
    limit = request.args.get('limit', 0, type=int)
    x, y = charts.indtransactions(a, page, limit)
    return jsonify(x=x, y=y)
Exemplo n.º 2
0
def transactionspage():

    limit = request.args.get('limit', 0, type=int)
    x, y = charts.indtransactions("Combined", 1, limit)

    return jsonify(x=x, y=y)
Exemplo n.º 3
0
def transactionspage():

    limit = request.args.get('limit', 0, type=int)
    x, y = charts.indtransactions("Joint", 1, limit)

    return jsonify(transactionDiv=render_template("transactions.html"), x=x, y=y)