How to create a chart at runtime?

Stimulsoft Reports.NET discussion
Post Reply
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

How to create a chart at runtime?

Post by satisht »

I have created Text Report at run time using build Report Sample ? But how should i create a chart at run time ? Can u provide me sample Application?
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

How to create a chart at runtime?

Post by satisht »

Is it possible to create chart at runtime?
Thanks!
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

How to create a chart at runtime?

Post by Guest »

Use, for example, the following code:

Code: Select all

Dim Chart1 As StiChart = New Stimulsoft.Report.Chart.StiChart
Chart1.ClientRectangle = New Stimulsoft.Base.Drawing.RectangleD(1.2, 0.8, 16.6, 15.4)
Chart1.Name = "Chart1"
...
report.Pages[0].Components.Add(Chart1)
Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

How to create a chart at runtime?

Post by satisht »

I need a sample application can you provide me sample for creating chart at run time?
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

How to create a chart at runtime?

Post by Guest »

See the attached sample project with chart.

Thank you.
Attachments
12.VBtestproject2005.zip
(339.66 KiB) Downloaded 271 times
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

How to create a chart at runtime?

Post by satisht »

Thank You!
Post Reply