Conditions are not filtering on a chart.

Stimulsoft Reports.WEB discussion
Post Reply
erikbrandvig
Posts: 25
Joined: Tue Apr 26, 2011 1:01 pm
Location: Vista, CA

Conditions are not filtering on a chart.

Post by erikbrandvig »

i am setting a condition on a chart, filtering by the expression "Line" number.

if the chart "behavior > Enabled" is set to true, and i insert a condition into the "appearance > conditions" that disables the component if Line > 5, then the chart fails to display.

Image

Image

the same happens if i set the "enabled" switch to false and then use a "condition" that ENABLES the component if "Line <= 5"
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Conditions are not filtering on a chart.

Post by Alex K. »

Hello,

Please send us sample report with data for analysis.

Thank you.
erikbrandvig
Posts: 25
Joined: Tue Apr 26, 2011 1:01 pm
Location: Vista, CA

Conditions are not filtering on a chart.

Post by erikbrandvig »

i have added a document that shows the problem...

if you remove the "conditions" from the chart, the chart will appear, but not be restricted to the 5 lines.

the data in the data band is restricted in it's "conditions", and i want the information in the chart to match.

thanks!
Attachments
1080.chartErrorReport.mrt
(31.25 KiB) Downloaded 171 times
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Conditions are not filtering on a chart.

Post by Andrew »

Hello,

Unfortunately, it is impossible to filter data for the chart using the Condition, since Condition only enables/disables the component completely.
To solve your problem you must modify the data and report structure, or use scripts to create new data sources for each page.

Thank you.
Post Reply