Page 1 of 1

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

Posted: Mon Sep 08, 2014 2:18 pm
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

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

Posted: Mon Sep 08, 2014 3:15 pm
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.