Home forums Using CanvasJS Stripline value from database

This topic contains 3 replies, has 3 voices, and was last updated by  Vishwas R 2 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22753

    Stella
    Member

    hi sir,
    how to get the stripline value from database?

    Thank you.

    #22758

    Priyanka M S
    Member

    @stella,

    Please take a look at this gallery example on rendering chart by populating data from database using PHP.
    If this doesn’t solve your requirement, please brief us further about it. Also kindly share a sample project over google-drive or one-drive reproducing the issue(if any) you are facing, so that we can look into your code, understand the scenario better and help you out.

    __
    Priyanka M S
    Team CanvasJS

    #22768

    Stella
    Member

    axisY: {
    title: “Temperature”,
    interval:20,
    maximum : 180,
    minimum : 80,
    stripLines:[
    {value:100, label:”LSL”},
    {value:160, label:”USL”},
    {value:110, label:”LCL”},
    {value:150, label:”UCL”},
    ],

    valueFormatString:”####”
    },

    the stripLines above i have fixed the values to test the stripLines but i need to use the value in database instead of the value i have put in the code

    #22784

    Vishwas R
    Keymaster

    @stella,

    Please take a look at this sample. You can download PHP samples from our download page, which you can try running on local machine.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.