March 12, 2020
Examples – sample code
Comments
(3)
March 12, 2020
Examples – sample code
Newbie 1 posts
Followers: 1 people
(3)

Are there any example code from coldfusion, it used to come with it.

just looking for some sample+code for new features….

3 Comments
2020-07-12 06:26:38
2020-07-12 06:26:38

Is there a site where one can find examples of charts that cfchart can create?

Like
(1)
>
garykosman
's comment
2020-07-13 20:00:25
2020-07-13 20:00:25
>
garykosman
's comment

Sure, Gary. There is more than one site with examples of charts that cfchart can create. It’s not clear if you you mean JUST examples of the charts that can be built, or also the code to do it.

First, the CFML Reference page on CFCHART itself does have both examples of various charts and their code, starting on the part of the page here: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-c/cfchart.html#Creatingabasicchart , which is followed by several different chart types (showing the chart and code).

Second, there’s another page showing many examples of charts CF can make (but only showing the chart examples, not code): https://www.quackit.com/coldfusion/tutorial/cfchart_examples.cfm

Hope that gets you going.

And if you (or anyone else reading along) may want to create a more complete example, showing every chart type, that would be great. You could even create the examples for free, without need of hosting them, on Adobe’s cffiddle.org site. And if you log in there, you can then save and share the links, either in a comment here, or better still a new blog post (here, or elsewhere). HTH.

Like
2020-03-16 15:38:39
2020-03-16 15:38:39

ColdFusion no longer comes with samples (since CF7), as it was deemed unsafe/insecure.

But there are many places that have examples, some of which you can even run interactively:

  • the CF docs. Many pages in the CFML Reference not only offer examples (for many, but not all tags/functions), but many then also offer links to run the code directly and live on the cffiddle.org site. An example is here.
  • the cfdocs.org site also offers examples for many (though not all) tags/functions, and they also offer have links to run the code live on the trycf.com site.  An example is here.
  • there are still other sites that could help you, but rather than list them all, let me point you to a few categories of my cf411.com site (of tools and resources for CFers) where I DO point to them:
  • https://www.cf411.com/dochelp
  • https://www.cf411.com/cffiddles
  • https://www.cf411.com/cfres
  • And you may find value in several other of the dozens of categories, listed at the top of the page

Finally, someone may well offer some other specific link to some favored site for examples. If I don’t list it/them already on my cf411 site, I would happily add them.

Let us know if this gets you going.

Like
Add Comment