apexgantt 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/apexgantt.es.min.js +1 -18123
- package/apexgantt.min.js +1 -9
- package/lib/util/ganttExport.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -46,6 +46,20 @@ const gantt = new ApexGantt(document.getElementById('gantt-container'), ganttOpt
|
|
|
46
46
|
gantt.render();
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
+
## Setting the License
|
|
50
|
+
|
|
51
|
+
To use ApexGantt with a commercial license, set your license key before creating any chart instances:
|
|
52
|
+
|
|
53
|
+
```js
|
|
54
|
+
import ApexGantt from 'apexgantt';
|
|
55
|
+
|
|
56
|
+
// set license key before creating any charts
|
|
57
|
+
ApexGantt.setLicense('your-license-key');
|
|
58
|
+
|
|
59
|
+
const gantt = new ApexGantt(document.getElementById('gantt-container'), ganttOptions);
|
|
60
|
+
gantt.render();
|
|
61
|
+
```
|
|
62
|
+
|
|
49
63
|
## ApexGantt Options
|
|
50
64
|
|
|
51
65
|
The layout can be configured by either setting the properties in the table below by passing a second arg to ApexGantt with these properties set. The latter takes precedence.
|