Skip to content
This repository was archived by the owner on Jan 24, 2021. It is now read-only.

Enabling charting functionality

Alan Mervitz edited this page Dec 23, 2017 · 1 revision

The chart liquid tag doesn't work by default because there are 2 JavaScript files that weren't included in the open source portals release by Microsoft. These files come from the Highcharts charting library, which is released under several licences - multiple paid commercial licenses and one free non-commercial license, none of which are suitable for redistribution in an open source project such as this.

Here are steps that can be taken to update the code base to enable the charting functionality, after complying with the licensing:

  1. Download and save these files to the /js/charts/highcharts folder in the MasterPortal project:
    • https://code.highcharts.com/4.2.6/modules/funnel.js
    • https://code.highcharts.com/4.2.6/highcharts.js
  2. Open the properties of the MasterPortal project and add these conditional compilation symbols in the Build tab:
    • HIGHCHARTS
    • HIGHCHARTSFUNNEL image
  3. Build the project
Clone this wiki locally