This is a migrated thread and some comments may be shown as answers.

Creating Charts in the Background

4 Answers 79 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeremy Murtishaw
Top achievements
Rank 1
Jeremy Murtishaw asked on 19 Feb 2010, 03:06 AM
Hello,

I am working on a windows service that can generate Charts as png files and then email them to recipients. I would like to leverage RadChart for this. I've already gotten my charts nice and pretty in my fat client, but now I want to do the same thing in the windows service. Is this possible? The data is available to the windows service, so hopefully it's just a matter of instantiating the radChart object, setting the parameters, binding to the dataset, and then calling the export function. 

Thanks!
Jeremy

4 Answers, 1 is accepted

Sort by
0
Accepted
Dwight
Telerik team
answered on 24 Feb 2010, 08:38 AM
Hi Jeremy,

It is possible to instantiate the RadChart, but a reference to the System.Drawing assembly will be required.

Also, note, that RadChart relays on the device context available to render. In the case of non-windowed application, don't know what device context will be available to the chart.

All the best,
Joshua
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jeremy Murtishaw
Top achievements
Rank 1
answered on 24 Feb 2010, 05:39 PM
Hi Joshua,

After having worked with the service some more, I have managed to be successful in exporting completed charts. It was really as simple as instantiating the radchart and then setting parameters.

Thanks!
Jeremy
0
Stradas
Top achievements
Rank 1
answered on 26 Feb 2010, 02:45 PM
I am trying to design the same sort of system. Do you have any code examples that would help me?
0
Dwight
Telerik team
answered on 03 Mar 2010, 08:10 AM
Hello Mark,

Please, find a sample project attached.

Kind regards,
Joshua
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Jeremy Murtishaw
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Jeremy Murtishaw
Top achievements
Rank 1
Stradas
Top achievements
Rank 1
Share this question
or