To update the version of KronoGraph, or to update your license, you need to replace your existing kronograph.tgz bundle with the latest version and add it to your project.
First, download the latest KronoGraph bundle:
Download KronoGraphSafari users can hold the ⌥ Option key when pressing the Download button to download the correct .tgz format.
Open a new terminal window and access your project's root folder.
From there, move the download into your project's root folder. Do not change the file name. If you are on a UNIX-like operating system you can move the download from the terminal:
mv ~/Downloads/your_downloaded_file_name.tgz . If you already have a bundle in your project, you should remove it now.
Finally, remove the old version and install the bundle again from inside your project's root folder using your package manager:
npm uninstall kronograph
npm install file:your_downloaded_file_name.tgz yarn remove kronograph
yarn add kronograph@file:./your_downloaded_file_name.tgz pnpm remove kronograph
pnpm install file:your_downloaded_file_name.tgz To verify the upgrade was successful, you can either ask your package manager which version was installed:
npm list kronograph yarn list --pattern kronograph pnpm list kronograph Or consult the header comments in node_modules/kronograph/kronograph.js.
If you can't see the correct version installed or if the chart isn't displaying correctly, try clearing the package manager's cache and installing the package again:
npm cache clean --force
npm install file:your_downloaded_file_name.tgz yarn cache --clean
yarn add kronograph@file:./your_downloaded_file_name.tgz # This step is not required when using pnpm. If you need any help with updating please contact support.