Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Canvas Sigma enables you to display charts from different or same datasources on reports by configuring the chart settings while creating the report in Sigma Studio. The charts need to be created using App Designer in Sigma Studio. While configuring the report, the chart app (widget) must be mapped using the Template Designer.

Prerequisites for Windows
To display charts on the reports, it is necessary to perform the following system pre-requisites on the Windows environment, where Sigma is to be deployed:

  1. Download PhantomJS and store the installable in the Sigma work folder on the environment, e.g. ../Sigma/phantomjs/phantomjs.exeinstall the ChromeDriver (chromedriver.exe) file in your system.
  2. Make sure that you mention the PhantomJS ChromeDriver file name in the PHANTOMJSDRIVER_FILE_NAME property on the Sigmainforreportconfig.properties file as shown on in the following screenshot.

    Sample File Location in Tomcat Server: <Tomcat-Installed-Folder>\/webapps\/sigma\/WEB-INF\/lib\/SigmaResources.jar\/Sigmainforreportconfig.properties.
    Image Removed
    Image Added

    Note
    • If you use Windows OS, mention the file name on the PHANTOMJSDRIVER_FILE_NAME property as phantomjschromedriver.exe.
    • If you use Linux or Unix OS, mention the file name on the PHANTOMJS_FILE_NAME property as phantomjs.


  3. Make sure that you mention specify the relevant Sigma report headless Application URL in the REPORT_SVG_HEADLESS_URL property on the Sigmainforreportconfig.properties file as shown in the following screenshot.

    Image Added

Prerequisites for Linux
To display charts on the reports, it is necessary to perform the following system pre-requisites on the Linux environment, where Sigma is to be deployed:

  1. Download and install the Playwright JS library (ms-playwright) and the Chromium browser in your system.

    Note

    Playwright is a node-based JavaScript (JS) library, which has been used to launch headless browsers for automating the controls of the web page. The Playwright JS library is used in Sigma to enable the analytical representation of graphical objects like charts to be showcased in the generated reports.


  2. Ensure that the downloaded Playwright folder (ms-playwright) is placed within the Sigma workfolder in your project, e.g. .../Sigma/ms-playwright.

    Image Added

    Ensure that the downloaded Playwright folder (ms-playwright) comprises the Chrome (chrome.exe) executable file within the Chromium sub-folder, e.g. .../Sigma/ms-playwright//chromium-939194/chrome-linux/chrome.

    Image Added

  3. Specify the path of the Chrome (chrome.exe) executable file placed within the Playwright folder (ms-playwright) in the DRIVER_EXECUTABLE_PATH property on the Sigmainforreportconfig.properties file, e.g. /ms-playwright/chromium-939194/chrome-linux/chrome, as shown in the following screenshot.


    Sample File Location in Tomcat Server: <Tomcat-Installed-Folder>/webapps/sigma/WEB-INF/lib/SigmaResources.jar/Sigmainforreportconfig.properties.

    Image Added

  4. Make sure to specify the details mentioned in the following screenshot to use chrome driver for Linux OS.
    Image Removed
    Image Added


Refer the following pages:

...