• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 26.  Drawing Charts  >  Linking Charts to URLs

Linking Charts to URLs

If you’re aware of HTML, you must have learned about the imagemaps. Cold-Fusion provides a similar facility. You can click on any area of the image to request a URL. For example, if you want the user to have more information about the chart legend, he can click on the legend to open the information page. You can pass value, itemlabel, and serieslabel variables to the target page with the url attribute of the <cfchart> tag.

NOTE

Surround these variables with the dollar sign, instead of the usual pound sign used for ColdFusion variables, for the correct results.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint