Raymond Camden's Blog Rss

ColdFusion Chart Quickie - Title w/o Border

2

Posted in ColdFusion | Posted on 12-06-2009 | 1,825 views

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:

view plain print about
1<title>
2<decoration style="None"/>Poop
3</title>

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

Comments

[Add Comment] [Subscribe to Comments]

Is that CFBuilder, Dreamweaver, ?
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