Error with ChartUnit

04 Oct '13, 10:50 AM
4,886 Views
No Forum Badges

Hi, I have downloaded the ChartUnit from Store. The Unit was installed in StoreComponents project and I added this project into project's Depencies list. Then I founded the new Unit into Unit Toolbar and I put the component into my prj, but when I compile the Prj the build fail with this message:

com.webratio.commons.transform.EvaluateException: Undefined Unit Layout: Unable to find the unit layout for the unit [id = chrtu1] [occurred at line 12 in Unit.template] at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:173)

There are some steps I forgotten?

Tks, Alessio. [ WebRatio Personal Version: 7.0.5 Build id: 201305081004 ]

 
x 1
Follow
Answer Answer at this question and get points!
Forum Expert - Level 8

Hi, the problem is very simple. Since the component is used inside a page, it needs also a component layout to work properly. You have to select the Chart Component from the Layout View and choose a Component Layout. You should see a unique choice. Thank you need to generate the project another time.

   
x 3
Answer at this question and get points!