Home forums Using CanvasJS canvasjs with python Flask

This topic contains 2 replies, has 2 voices, and was last updated by  Manoj Mohan 2 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26532

    data: [
    {
    type: “splineArea”,
    color: “rgba(255,12,32,.3)”,
    dataPoints: [
    {% for key,value in dico.items() %}
    { x: label(“{{key}}”), y: {{value}}},
    {% endfor %}

    ]
    },
    ]
    });
    je veux récupérer mes données au niveau de ma base postgres pour les visualisé

    #26569

    @alioune,

    Can you kindly share sample project over Google-Drive / OneDrive along with sample data and also brief us more about the issue you are facing so that we can understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    #26617

    @alioune,

    It seems like you are passing x value as string in a dataPoint. x value can either be a numeric value or a dateTime value. Please take look at this sample project for integration of CanvasJS with python flask.

    If you are still facing the issue in integrating CanvasJS charts with python flask, kindly share a sample project along with sample data reproducing the issue over Google Drive / OneDrive so that we can look into your code, understand it better and help you out.

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.