Topic: How do I Set Quality Band Values At Runtime Posted: 18 Jul 2007 at 5:13am
One of the chart options for the gauge chart is to provide a beginning and ending value for a quality band in order to shade a portion of the gauge. I know how to do this using the report designer, but this requires me to set the values at design time. I want to be able to set the values at runtime based on data values that are coming from a database. How can I use the object model to set these quality band values?
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 18 Jul 2007 at 9:32am
Is there a formula button next to these properties? If so, you can have it reference another formula and modify that formula from you .NET app. If there isn't a formula button next to it (most of them don't have this - charts are pretty poor for runtime customization), then you can't set it at runtime.
Depending upon what type of options you want to change during runtime, some people create a section for each type of chart they want to show and then use a formula to suppress the chart sections that don't apply.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum