Home forums Chart Support Legend Text

Tagged: , ,

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

    How can i use a php variable as a legend text.
    Any Help would be appreciable.

    #30263

    @wweverma1,

    Setting legendText as legendText: '<?php echo $legendText; ?>' should work fine in your case.

    If you are still facing issue, kindly create sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample data so that we can run it locally to understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    #30273

    I had already tried that, once i try this the chart doesn’t even load to my webpage.

    #30290

    @wweverma1,

    Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample data so that we can run it locally to understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.