Forum Replies Created by tekit0

Viewing 9 posts - 1 through 9 (of 9 total)
  • in reply to: send json to datapoint #21756

    Now work really fine! thank u so much Priyanka !!!!!!
    my problem was that the date selector kept appearing, but in the end what I did is that I send the date from the form with get and I show all the data in a second web.

    in reply to: send json to datapoint #21750

    I try again…

    in reply to: send json to datapoint #21579

    It does not work for me.
    The purpose of the web is to select a date in a form, and in that same web, to show the queries that are made to the database and that canvasjs draw the graph with the sales data.

    I check that the data enters the array:

    array in json with numeric check:
    [{“label”:”TPV 1″,”y”:2},{“label”:”TPV 2″,”y”:2},{“label”:”TPV 3″,”y”:2},{“label”:”TPV 4″,”y”:482}]

    which I do not know why canvasjs does not draw it :(

    —-
    I think canvasjs has no data because it runs in head.
    – first: canvas draws the graph (but no have data).
    – second: I request the date in the form.
    – third: I make operations with data, variables, I draw the html table …
    – 4: in the end, I call the chartcontainer, but this has no information, because it has not returned to the head.

    in reply to: send json to datapoint #21574

    Ok. I try this weekend.
    Thanks

    in reply to: send json to datapoint #21371

    Thank you very much for your interest in my problem

    in reply to: send json to datapoint #21358

    Onedrive

    The sql and the php file.

    in reply to: send json to datapoint #21357

    ok, I try to reduce the code by removing unnecessary information

    in reply to: send json to datapoint #21352

    Can the problem of how do I get the variable come?

    $f_1 = mysqli_fetch_row($result_f1)

    and then I echo the variable $f_1[0]

    in reply to: send json to datapoint #21349

    I try this example : https://canvasjs.com/php-charts/chart-index-data-label/

    but is similar, don’t draw the data.
    I use xampp and i have enable the json
    json version 1.6.0

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