FastReport.NET Charts with .NET 2.0

edited June 2010 in FastReport .NET
Hello everyone...

We are using FastReport.NET v1.3.2 and there is a MS Chart component that we've used to design reports which include charts.

Everything works fine if the charts are not present. I'm calling the Report from the WinForm application, but if the Chart (MS Chart, which is included in the FastReport.NET) is added, I get an error "Can't find MSChartObject" -

I have installed MSChart.exe for .NET 3.5, but the main problem is that we use .NET 2.0 and we cannot upgrade to .NET 3.5 because of some reasons (for now).

My questions are:
- Have anyone succeded to generate reports using FastReport.NET with the MS Chart controls using .NET Framework 2.0?
- Are there any other plain Chart Controls that can be added as part of the FastReport.NET which will work without problems on .NET Framework 2.0?

Please, if someone have answer on my questions... I will be glad to see it.

Thank you in Advance,
Hajan

Comments

  • edited 2:20AM
    Hello,

    You have to install FW 3.5 sp1 in order to use charts (in this case you may just copy the System.Windows.Forms.DataVisualization.dll file together with your .exe). There is no way to use it in FW2.0 only, because the chart library uses some types declared in the FW3.5.
  • edited 2:20AM
    AlexTZ wrote: »
    Hello,

    You have to install FW 3.5 sp1 in order to use charts (in this case you may just copy the System.Windows.Forms.DataVisualization.dll file together with your .exe). There is no way to use it in FW2.0 only, because the chart library uses some types declared in the FW3.5.

    I have installed .NET Framework 3.5 and the chart diagrams work fine in the FastReport Designer. The application from which I want to call the report.frx file is in .NET Framework 2.0 and I cannot move it on .NET Framework 3.5 due to some reasons. Is it possible to use the Chart controls that are made for .NET 3.5 on application running .NET 2.0?

    Thanks,
    Hajan
  • edited 2:20AM
    No, it's not possible.
  • edited 2:20AM
    AlexTZ wrote: »
    No, it's not possible.

    Thank you for the responses.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.