Fill properties (Strips of Chart) by DataSource (Code)

Stimulsoft Reports.WPF discussion
Post Reply
ganshorn.nils
Posts: 16
Joined: Tue Jul 15, 2014 2:49 pm

Fill properties (Strips of Chart) by DataSource (Code)

Post by ganshorn.nils »

Hello,

I would like to use Strips to solve a problem (http://forum.stimulsoft.com/viewtopic.php?f=12&t=38540) I have. However the values for MinValue and MaxValue must be dynamically assigned. Is there a way to do that? Putting '{<DataSourceName>.<Columnname>}' in the property didn't seem to work. Maybe somehow by using C# code in an event (like Pake.BeforePrintEvent, we use that for setting some variables, but I wouldn't know how to access the report elements if it's possible at all).

Greetings

Nils Beckmann
Artem Cherniavsky
Posts: 13
Joined: Fri Oct 05, 2012 1:31 pm

Re: Fill properties (Strips of Chart) by DataSource (Code)

Post by Artem Cherniavsky »

Hello

To learn the elements of the report, go to the tab "Code".
Further, in the event BeforePrint specify values ​​for MinValue and MahValyue.

Thank you.
Attachments
1.PNG
1.PNG (32.79 KiB) Viewed 1755 times
2.PNG
2.PNG (52.44 KiB) Viewed 1755 times
Post Reply