ColdFusion Chart Quickie - Title w/o Border

This post is more than 2 years old.

From a reader:

How do I hide the box/border surrounding the title in a cfchart? Can that be done with attributes or does it need to pull from an xml style file? The showBorder="yes"/"no"...doesn't seem to have any affect?

Correct - showBorder is for the chart as a whole. And like (almost) always - the chart editor comes to the rescue. Click the Title value in the chart editor opens up a sub editor with a butt load of options for the title:

Notice the style attribute on the right? That handles the border around the title. You can set it to a variety of different styles or just select "None" to get rid of it. The generated XML is:

<title> <decoration style="None"/>Poop </title>

You can also play with the other styles and tweak the color too if you want.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA

Archived Comments

Comment 1 by Chuck Savage posted on 12/7/2009 at 10:36 PM

Is that CFBuilder, Dreamweaver, ?

Comment 2 by Steve posted on 12/7/2009 at 10:58 PM

That's the webcharts editor located in {cf_root}\charting\webcharts.bat.

I'm using multiple instances, so my path is