KB Article 14988
2015/06/05

Close
X
Contact Tech Support

 Email Tech Support
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base Search
Recent KB Articles
Product FAQs
Code Samples
Documentation
Tech Blog
System Requirements
Installation Instructions
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services

How can I alter the default colors and font sizes for a Clover Smartchart?

Product: SmartCharts Type: How to

You can specify chart colors, the font, and font size of your Clover/Smartchart graphs.  Have a look at the following examples to see how. 

These options should be inside <Chart ...> tag.
Font color: baseFontColor="CB0903"
Font color off canvas: outCnvBaseFontColor="5A04FB"
Background: bgColor = "DEE160"
Bars/Slices: paletteColors="B36693,6E91D5,63BF71,etc " (without the etc)

You can also set the bar color inside the <Set ....> tag. If you use the paletteColors above, remove the color property from the set tag.
Bar/Slice color: color="CB0903"

The canvas is the actual chart itself. So using the baseFontcolor sets the color for the all text. The outCnvBaseFontColor will override the baseFontColor for for text not on the the chart itself. So something like the hover text would still have the baseFontColor color.

Rate This Article

Did this example help you to achieve your goal?
 Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments:
Please enable JavaScript in order to rate this page.