ColdFusion Chart Quickie - Title w/o Border

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.

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
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\charting