CanvasJS - Remove "Trial Version" Label

From Nearline Storage
Revision as of 03:40, 20 March 2020 by Dlk (talk | contribs) (Created page with "==CanvasJS 2.3.2== 1. De-minify canvasjs.min.js: $ python -m venv jsbeautify $ source jsbeautify/bin/activate $ js-beautify canvasjs.min.js >/tmp/canvasjs.js 2. Edit /t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to navigation Jump to search

CanvasJS 2.3.2

1. De-minify canvasjs.min.js:

 $ python -m venv jsbeautify
 $ source jsbeautify/bin/activate
 $ js-beautify canvasjs.min.js >/tmp/canvasjs.js

2. Edit /tmp/canvasjs.js at line 1738 (approximately):

 U.obj = {
     trVs: "",
     fntStr: "qy!B`mhcsh-!Mtbhe`!Fs`oed-!Mtbhe`!R`or!Tohbned-!@sh`m-!r`or,rdshg",
     txtBl: "udyuC`rdmhod",
     fnt: "gnou",
     fSy: "ghmmRuxmd",
     fTx: "ghmmUdyu",
     grClr: "fsdx",
     cntx: "buy",
     tp: "unq"
 };

3. Use a web site like https://jscompress.com to re-minify canvasjs.js