C# Crystal Report problem and chart?
Only solution seems to be DataSet binding but i am too confused, it should be customized a lot... don开发者_StackOverflowt know if it is possible without writing source code.. Any ideas? Please help this is a headache
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?
Here is a good tutorial explaining how charts works on Crystal Reports 2010 and what you need to do to create a basic report with a chart, including the C# code.
Based on it, you'll be able to understand how to improve with more complex charts.
You should try to Subreport to show the chart.
精彩评论