Scope of a RatingBoxChart Object
A chart object can be instantiated only from PeopleCode.
You can use this object only in PeopleCode programs that are associated with an online process, not in an Application Engine program, a message notification, a Component Interface, and so on.