Chart Constant Lines

Stimulsoft Reports.NET discussion
Post Reply
pauljza
Posts: 18
Joined: Mon Dec 08, 2008 3:04 am
Location: South Africa

Chart Constant Lines

Post by pauljza »

I am busy evaluating Stimulsoft Reports .NET and have a requirement to add constant lines to charts. When I add these it does not appear to accept calculated/column values. Is there a particular way of doing this?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Chart Constant Lines

Post by Edward »

Hello Pauljza.

Yes, there is a way. Please open attached report in the Demo.exe sample application which comes with a standard installation of Stimulsoft Reports.Net. You have to see BeforePrintEvent of the DataBand1 in that report.

Steps are as follows:

1) Run Demo.exe from the Start menu.
2) Press Design button.
3) Open attached mrt template.
4) Click in the DataBand1 databand.
5) Switch to Properties window and click in the button with lightning symbol to access the Events Tab.
6) See BeforePrint event of that DataBand1.

Thank you.
Attachments
106.ChartOnDatabandAndConstantLinesFromDataColumn.zip
(3.99 KiB) Downloaded 153 times
pauljza
Posts: 18
Joined: Mon Dec 08, 2008 3:04 am
Location: South Africa

Chart Constant Lines

Post by pauljza »

That worked perfectly. Thanks for your reply.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Chart Constant Lines

Post by Edward »

You are welcome.

Please let us know if any help is required.

Thank you.
Post Reply