@svar-ui/trial-svelte-gantt
v2.4.4
Published
Interactive and customizable Svelte Gantt chart component
Downloads
443
Readme
SVAR Svelte Gantt PRO (Trial Version)
SVAR Svelte Gantt is a customizable, interactive Gantt chart component for visualizing and managing project timelines. This package provides the trial version of SVAR Svelte Gantt PRO.
The trial includes a built-in SVAR watermark and is intended for evaluation and testing only. You can find the terms of the Trial License here.
⚠️ The trial version is not free software.
To use SVAR Svelte Gantt PRO in a production or commercial project, you must purchase a commercial license - see the pricing details.
Get Help
If you have technical questions about using SVAR Svelte Gantt, visit the SVAR forum.
To access timely email support from our team during your 30-day trial, please submit the trial request form on our website.
How to Use
To use the widget, import the package and include the component in your Svelte file:
<script>
import { Gantt } from "@svar-ui/trial-svelte-gantt";
const tasks = [
{
id: 1,
start: new Date(2024, 3, 2),
end: new Date(2024, 3, 17),
text: "Project planning",
progress: 30,
parent: 0,
type: "summary",
open: true,
details: "Outline the project's scope and resources.",
},
];
const links = [];
const scales = [
{ unit: "month", step: 1, format: "%F %Y" },
{ unit: "day", step: 1, format: "%j", css: dayStyle },
];
</script>
<Gantt {tasks} {links} {scales} />How to Modify
Typically, you don't need to modify the code. However, if you wish to do so, follow these steps:
- Run
yarnto install dependencies. Note that this project is a monorepo usingyarnworkspaces, so npm will not work - Start the project in development mode with
yarn start
Run Tests
To run the test:
- Start the test examples with:
yarn start:tests - In a separate console, run the end-to-end tests with:
yarn test:cypress
