Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Crystal Report problem and chart?


I have 4 charts at my application drawn with custom code....
I also have a rdlc crystal report that outputs the data but not the chart...
What i have to do is to add the chart at the report.
I can add a Chart object at the report but i dont know how to program it since it is in the report.. and i dont know how to refer to it via the reportviewer...

Only solution seems to be DataSet binding but i am too confused, it should be customized a lot... dont know if it is possible without writing source code.. Any ideas? Please help this is a headache

like image 841
GorillaApe Avatar asked May 26 '11 22:05

GorillaApe


1 Answers

If it's a chart now drawn in the report designer, I know no easy way of importing it to the report. My suggestion would be to export the data from the custom chart and import it back to the report into a chart drawn with the designer. As your chart is custom, I'm guessing that the imported data on the designer drawn chart won't exactly look like the original but that will at least properly present data.

Another option would be to put the custom chart on a form and taking a screenshot and placing that image on the actual report. The drawback on this would be the chart will appear still. This will be useful for scr shot: Capture screenshot of active window?

like image 180
Teoman Soygul Avatar answered Oct 15 '22 21:10

Teoman Soygul