logo
small logo
  • Products
  • Buy
  • Support
  • About
  • Customer panel Support
    • en
    • de
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Installing FastReport Business Graphics into FastReport .NET
  • How to install FastReport Business Graphics .NET

    August 18, 2021

    This article shows how to install FastReport Business Graphics .NET on your computer and how

    read more
  • How to create a sales receipt from WinForms application

    May 30, 2020

    Most likely every .NET developer started from Windows Forms applications. Countless number of such applications

    read more
  • How to use the FastReport Cloud file manager

    November 30, 2022

    The latest update FastReport .NET adds the ability to interact with your reports located

    read more
  • How to display the footer page PageFooter only on the last page of the report

    May 15, 2020

    When you develop the same reports, or reports with the same bands, you can use

    read more
  • How to use SQL queries when creating an internal report data source in FastReport .NET report designer

    September 2, 2019

    When creating a SQL database connection, you can specify a query to select filtered or

    read more

Installing FastReport Business Graphics into FastReport .NET

November 25, 2021

FastReport Business Graphics is a library containing several advanced means of data visualization. Currently, it contains the Treemap, Sunburst, Icicle charts and the Gantt chart.

Today, we will see how to link FastReport Business Graphics .NET to FastReport .NET. It will allow you to use charts from FastReport Business Graphics in your reports.

First, you have to install FastReport Business Graphics and FastReport .NET on your computer. Installation of these products is described in our other articles.

In the FastReport .NET installation folder there is Extras\Objects\FastReportBGObjects folder. In this folder, open FastReportBGObjects.csproj project. This is a project for building the .dll which we need.

Files of the FastReportBGObjects project

Open the list of project references. It will look like this:

References in the FastReportBGObjects project

Delete FastReport, FastReport.BG, and FastReport.Compat from that list. As our goal is to add FastReport Business Graphics to FastReport .NET, we have to add into the project those .dll files which will be used in our work. Instead of the deleted files, add FastReport.dll and FastReport.Compat.dll from the FastReport .NET installation folder, as well as FastReport.BG.dll file, which is in the FastReport Business Graphics root installation folder.

After you have substituted the references for the updated ones, build the project.

The highlighted Build button in Visual Studio and a notice of the successful building

If the building was successful, you are ready to continue to the next step: linking the plug-in to FastReport .NET. The plug-in built .dll file is called FastReportBGObjects.dll and is located in the project subdirectory: Extras\Objects\FastReportBGObjects\bin\Debug

You may remove the file into another folder, but then you will have to do it every time you rebuild it. For demonstration, I remove it to the C:\DLL folder.

Let us consider two different cases.
1) You are using FastReport Designer. In this case you have to link up the dll-library in the Designer and restart it, or indicate its location in the config-file. You may link up the plug-in in the Settings – Plug-ins menu:

Settings – Plug-ins menu

To add a reference to a plug-in, open the config-file in any text editor and modify it as follows:

 <?xml version="1.0" encoding="utf-8"?>
<Config>
...
<Plugins>
<Plugin Name="c:\.....\FastReportBGObjects.dll"/>
</Plugins>
</Config>

The path to the plug-in is shown in bold.

2) You are using FastReport as a part of a project. In this case add FastReportBGObjects.dll to the reference list of your project and add the following code to the project code:

RegisteredObjects.Add(typeof(SunburstObject), "ReportPage", 125);

This code must be executed once.

Attention! The FastReportBGObjects.dll and FastReportBG.dll libraries must be additionally located next to the application which uses them. If you use FastReport Designer, copy these libraries to the root folder of the application, and if you use FastReport Buriness Graphics in your project, locate them in the same folder where the executed file is located.

Thus, after these steps you may use the advanced charts of FastReport Business Graphics inside the reports generated with FastReport .NET. If you have any questions regarding the FastReportBGObjects plug-in build or linking it to FastReport .NET, please contact our support service. 

about product buy
avatar
Alexey Tantzura
QA
Fast Reports Team: Alexey Tantzura - Quality Assurance at Fast Reports
.NET FastReport Install Designer Business Graphics

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • FAQ
  • Tutorial Video
  • Forum
  • Support SLA
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Extended licensing
  • Contact us

© 1998-2023 by Fast Reports Inc.

  • Privacy Policy

Trustpilot