Show / Hide Table of Contents

Consuming FancyCandles in your WPF (.NET Framework) project

To use the FancyCandles library in your project you have two options:

      A) To install the FancyCandles NuGet package in your project.
      B) To add the FancyCandles project to your solution.

If you are planning to change the source code of the FancyCandles library for your specific needs or to contribute to its open source project, then your choice is B. Otherwise, you don't need to be able to change the source code of the FancyCandles library, and your choice is A.

A) Installing FancyCandles NuGet package in your project

  1. In Visual Studio Solution Explorer, right-click on References of your project and select Manage NuGet Packages....

    Manage NuGet Packages

  2. In NuGet Package Manager select the Browse tab and type FancyCandles in the search box. Select FancyCandles from the list of filtered packages. Select a desired version of the FancyCandles package (the latest is recommended) and click the Install button.

    Install the FancyCandles NuGet package

  3. Accept a license prompt.

  4. If everything went successfully, Visual Studio installs the FancyCandles package into your project. Once the installation is complete, the FancyCandles package appears on the Installed tab of NuGet Package Manager, and in the References list of your project in Solution Explorer.

    FancyCandles appears in References

Now you can go on to create your first FancyCandles candlestick chart in your application.

B) Adding FancyCandles project to your solution

  1. Clone or Download the FancyCandles repository to your computer.

    Download or clone the FancyCandles repository

  2. Add the FancyCandles project to the solution of your project, which going to use the candlestick chart control:

    • In Solution Explorer, right-click on the Solution of your project and select Add/Existing project....

      Add the FancyCandles project to the solution

    • Select a path to the project file FancyCandles.csproj of the FancyCandles project (eg. .../FancyCandles/FancyCandles.csproj) and click Open.

  3. Add to your project a reference to the FancyCandles project:

    • Right-click on References under your project in Solution Explorer and click Add reference....

      Add a reference to the FancyCandles project

    • In the Projects tab find the FancyCandles project row and check it. Click OK.

      Check the FancyCandles project

Now you can go on to create your first FancyCandles candlestick chart in your application.

Back to top Generated by DocFX. Copyright Ⓒ Dennis Geller 2019.