Home forums Using CanvasJS Pie Chart: How do I replace actual values with variables?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27012

    Re: Pie Chart — “https://canvasjs.com/php-charts/pie-chart/”

    How do I replace actual values with variables?

    $dataPoints = array(
    array(“label”=>”Yes”, “y”=>64.02),
    array(“label”=>”No”, “y”=>12.55),
    array(“label”=>”Not sure”, “y”=>8.47)
    )

    Thank you . .

    #27038

    @parkershannon,

    Can you kindly share a pictorial representation and brief us more about your requirement so that we can understand it better and help you out?


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.