Hiding lines on a chart

Stimulsoft Reports.WEB discussion
Post Reply
Ilya86
Posts: 1
Joined: Wed Jul 15, 2026 2:05 pm

Hiding lines on a chart

Post by Ilya86 »

Hello, I'm a newbie here.
I was trying to solve a very simple problem.
I have three data sources: TemperatureFeed1 and TemperatureFeed2 as an integer, datetime as an argument. I also created two variables: Visible1 and Visible2 as logical ones. Then I created a graph line from two lines.
I tried to use filters to hide lines depending on the states of the variables (for example, IIF(Visible1,TemperatureFeed1,null)), but it didn't work.
In my task, the operator chooses which chart to view before printing the report.
How can I hide different lines on a graph depending on variables?
Lech Kulikowski
Posts: 7818
Joined: Tue Mar 20, 2018 5:34 am

Re: Hiding lines on a chart

Post by Lech Kulikowski »

Hello,

You use a filter with an expression:
Visible1 == true
The sample report in the attachment.

Thank you.
Attachments
ReportSample.mrt
(9.82 KiB) Downloaded 1 time
Post Reply