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.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA