KB Article 9415
2011/10/27

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 Change color of the dots(anchors) in a SmartCharts line graph.

Product: SmartCharts Type: Frequently Asked Question

In order to customize the color of the dots (or anchors) in a line graph SmartChart to the same color or condition the color based on some parameter, follow these steps.

  1. Create a workfield "anchorBg" that will hold the color for the anchor in the graph.
  2. Add an if statement in function pgm_fetch to condition the color assigned to the anchorBg field.
  3. Inside the tag in the report segment add the anchorBgColor="" property.
You can find additional information on changing the shape and colors of the dots here:

"http://bcdsoftware.com/iseries400solutions/smartcharts/help docs/Contents/AttDesc/Anchors.html” .

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.