Components of an already-rendered report can be changed on the fly and reflected in the viewer immediately — the basis for live, animated previews.

Render and grab components. After rendering, pull the components you want to animate from the first page:
stiReport1.Render();
var comps = stiReport1.RenderedPages[0].GetComponents();
text  = comps["Text1"]  as StiText;
chart = comps["Chart1"] as StiChart;
Mutate them on a timer. Changing their properties updates the live preview:
private void timer1_Tick(object sender, EventArgs e)
{
    text.TextOptions.Angle = (text.TextOptions.Angle - 1 + 360) % 360;
    ((StiDoughnutSeries)chart.Series[0]).StartAngle -= 1;
}

How it works. The preview control observes the rendered components, so property changes on a timer produce smooth real-time updates.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.