KronoGraph source code must be obscured within your application. To prevent it being accessed or reused by third parties you need to:
- Exclude the words KronoGraph or Cambridge Intelligence from any folder or path names.
- Exclude the words KronoGraph, Cambridge Intelligence, license or key from any endpoint or variable names in your app.
- Combine the KronoGraph files with the source code from your application, so that KronoGraph is not available as a separate file. We recommend using Terser with either Webpack, Parcel or Rollup (any tool which achieves the results listed is acceptable).
- Remove the copyright notice (this is usually a minification step).
- Ensure you are not deploying source maps of your source code to your end users.
- Fully integrate KronoGraph into your product. We don't allow direct exposure of the KronoGraph API to end users via your own API ‘wrapper’.
Before deploying your code, check that:
- The words KronoGraph or Cambridge Intelligence aren’t in any folder or path names.
- The final file containing KronoGraph is at least 20% larger than the original kronograph.js file.
- There are no Cambridge Intelligence copyright notices in your deployed code bundles.
- You ensure compliance with the terms of any applicable Open Source Software ("OSS") licenses, which may include obligations such as replicating copyright notices or attribution requirements. For more details on OSS usage and licensing, please refer to the documentation provided with the relevant OSS.