Ask a Jedi: Another Chart Question

This post is more than 2 years old.

Woohoo! I love these chart questions. I guess I'm a chart geek. Randy asks:

Is there a way for the bottom labels on a cfchart to show vertically on the graph instead of horizontal.

I bet folks know what I'm going to say. Once again, the built in chart editor comes in handy. This one was pretty simple - I just changed the XAxis/Style/Label/Orientation setting to Vertical. I grabbed the XML and edited it like so:

<frameChart> <xAxis> <labelStyle orientation="Vertical"/> </xAxis> </frameChart>

Passing this to my chart resulted in the following:

And for comparison's sake, here is horizontal:

You also have options for Slanted and Parallel. Parallel looked mostly like Horizontal, but here is an example of Slanted:

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for HERE Technologies. 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. You can even buy me a coffee!

Lafayette, LA