- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working with Resources
- Working with Reports
- Working with Dashboards
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
- Developer Guide
Rules
You can dynamically control the chart appearance by creating a rule or several rules for each plot and specifying the background color, line color, line style, line width, and other elements of the chart visual presentation at rendering.
Add Rules to a Chart
From the Report Explorer, expand the Chart data region node and select Plot.
From the Properties inspector tab, go to Config > Rules property.
Click Add, corresponding to the Rules property, and then click Edit to configure rules.
Specify the Name of the rule.
Specify the Condition expression for a target property
In Rule Properties, click Add to add a new rule.
In the Target Property field, select a property from the pre-defined list of properties - e.g. LineColor and the corresponding target value in the Value field. See the section Target Properties.
Target Properties
You can customize the chart appearance by changing the target properties of the plot as described below.
Properties applicable to the chart types that are composed of data points, for example, Bar, Column, Pie, Bubble, etc.
BackgroundColor
LineColor
LineStyle
LineWidth
Properties applicable to the chart types that are composed of data point symbols, for example, Line, Radar Line, etc.
SymbolBackgroundColor
SymbolLineColor
SymbolLineStyle
SymbolLineWidth
LabelTemplate:
The LabelTemplate target property allows you to display labels and specify the label format for the chart data that meets the condition of a rule.
TooltipTemplate:
The TooltipTemplate target property allows you to display tooltips in the Web Viewer and specify the tooltip format for the chart data that meets the condition of a rule.