0% found this document useful (0 votes)
20 views1 page

BACON Creatin Custom Visualization in Cognos

The document provides instructions for adding the HighCharts library to a custom visualization project. It outlines steps for installing necessary packages, modifying configuration files, and starting the project server. Following these steps ensures that the HighCharts library is properly integrated into the application.

Uploaded by

leonardo.russo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

BACON Creatin Custom Visualization in Cognos

The document provides instructions for adding the HighCharts library to a custom visualization project. It outlines steps for installing necessary packages, modifying configuration files, and starting the project server. Following these steps ensures that the HighCharts library is properly integrated into the application.

Uploaded by

leonardo.russo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 1
‘API Docs: Add HighCharts Library to the Project ‘The default template provided by the customvis application includes all the basic files necessary for a custom visualization, but if we want to use the HighCharts library, there are a few updates that need te be made. 1. Inyour Cui, type CTRL-C 2. Answer “Y” to the Terminate batch job question 3. Run the following commands one ata time: npm install highcharts -save npm install highcharts-more -save npm install highcharts-sunburst ~save 4. Open Windows File Explorer Navigate to the custom visualization folder 6. Open externals.d.ts in a text or code editor a. Replace with the following: declare module *highcharts", declare module “highcharts/highcharts-more"; b. Save and close externals.d.ts 7. Open package.json ina text or code editor a. Review the dependencies section. It should have the following: "dependencies": { "@businessanalytics/customvis-lib*: "file:customvis-{ib.tgz", *highcharts": "~9.2.0", “highcharts-more": **0.1.7" “highcharts-sunburst’: "0.1.7" h b. Close package.json 8. In your CLI, run the following command: customvis clean ‘This removes all the dependency files from the project folder leaving only the main source cod, 9. Run the following command: customvis start a. This redownloads all the necessary dependencies and compiles the visualization code. Your CLI should end with “Started a local server on port 8585”.

You might also like