|
|
206 posts from 615 users
[ Admin ] [ Mod ]
|
|
|
|
|
|
Author |
Message |
MikeHenderson
Joined: 25 Aug 2009 Posts: 5
|
Posted: Tue Aug 25, 2009 7:19 am Post subject: Variables in @USER_FILL |
|
|
Hi,
I'm trying to userfill to shade the bottom part of the chart. I would like the shading to move based on a variable for each chart of the report. Is it possible to do this? In the example below, if the variable had a value of 50, then the bottom 50% of the chart would be shaded.
@USER_FILL 0.0 1.0 0.0 0.{file.field} 245 245 180 |
|
|
TDGMgr
Joined: 30 Mar 2011 Posts: 13
|
Posted: Tue Aug 25, 2009 11:33 am Post subject: |
|
|
Yes this can be done.
You'll need to read-up in our online manual about how to do "parameter Substitution".
http://www.threedgraphics.com/tdg/products/tools/crchart/html_docs/docs/using.htm
Basically, you'll add your field to the show-field list in the ChartExpert and then reference it in the macro. The couple of pages in the manual make it pretty clear and your CRChart demo includes a .rpt file called "Runtime_parameter_substitution.rpt" that is a simple demo as well. |
|
|
MikeHenderson
Joined: 25 Aug 2009 Posts: 5
|
Posted: Wed Aug 26, 2009 4:51 am Post subject: |
|
|
Thank You. |
|
|
Powered by phpBB © 2001, 2005 phpBB Group
|