forked from IBM/gantt-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added storybook for docs and examples
- Loading branch information
1 parent
edfcc6b
commit 12a2577
Showing
63 changed files
with
87,461 additions
and
0 deletions.
There are no files selected for viewing
198 changes: 198 additions & 0 deletions
198
packages/ibm-gantt-chart-docs/storybook/activity_chart/activities.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,198 @@ | ||
[ | ||
{ | ||
"id": "A-Root", | ||
"name": "Project Summary", | ||
"start": 1487750400000, | ||
"end": 1508310000000, | ||
"parent": null | ||
}, | ||
{ | ||
"id": "A-1", | ||
"name": "Gather Requirements", | ||
"start": 1487750400000, | ||
"end": 1489219200000, | ||
"parent": "A-Root" | ||
}, | ||
{ | ||
"id": "A-1.1", | ||
"name": "Talk to customers", | ||
"start": 1487750400000, | ||
"end": 1488614400000, | ||
"parent": "A-1" | ||
}, | ||
{ | ||
"id": "A-1.1.1", | ||
"name": "Compile customer list", | ||
"start": 1487750400000, | ||
"end": 1487923200000, | ||
"parent": "A-1.1" | ||
}, | ||
{ | ||
"id": "A-1.1.2", | ||
"name": "Contact customers", | ||
"start": 1487923200000, | ||
"end": 1488614400000, | ||
"parent": "A-1.1" | ||
}, | ||
{ | ||
"id": "A-1.2", | ||
"name": "Write up requirements", | ||
"start": 1488614400000, | ||
"end": 1488873600000, | ||
"parent": "A-1" | ||
}, | ||
{ | ||
"id": "A-1.3", | ||
"name": "Review requirements", | ||
"start": 1488787200000, | ||
"end": 1489219200000, | ||
"parent": "A-1" | ||
}, | ||
{ | ||
"id": "A-2", | ||
"name": "Marketing Specification", | ||
"start": 1489219200000, | ||
"end": 1490252400000, | ||
"parent": "A-Root" | ||
}, | ||
{ | ||
"id": "A-2.1", | ||
"name": "First Draft Specification", | ||
"start": 1489219200000, | ||
"end": 1489820400000, | ||
"parent": "A-2" | ||
}, | ||
{ | ||
"id": "A-2.2", | ||
"name": "Second Draft Specification", | ||
"start": 1489820400000, | ||
"end": 1490252400000, | ||
"parent": "A-2" | ||
}, | ||
{ | ||
"id": "A-3", | ||
"name": "Engineering Review", | ||
"start": 1490252400000, | ||
"end": 1491116400000, | ||
"parent": "A-Root" | ||
}, | ||
{ | ||
"id": "A-4", | ||
"name": "Proof of Concept", | ||
"start": 1491116400000, | ||
"end": 1495609200000, | ||
"parent": "A-Root" | ||
}, | ||
{ | ||
"id": "A-4.1", | ||
"name": "Rough Design", | ||
"start": 1491116400000, | ||
"end": 1492930800000, | ||
"parent": "A-4" | ||
}, | ||
{ | ||
"id": "A-4.1.1", | ||
"name": "CAD Layout", | ||
"start": 1491116400000, | ||
"end": 1492326000000, | ||
"parent": "A-4.1" | ||
}, | ||
{ | ||
"id": "A-4.1.2", | ||
"name": "Detailing", | ||
"start": 1492066800000, | ||
"end": 1492930800000, | ||
"parent": "A-4.1" | ||
}, | ||
{ | ||
"id": "A-4.2", | ||
"name": "Fabricate Prototype", | ||
"start": 1492498800000, | ||
"end": 1494399600000, | ||
"parent": "A-4" | ||
}, | ||
{ | ||
"id": "A-4.2.1", | ||
"name": "Order Materials", | ||
"start": 1492498800000, | ||
"end": 1493190000000, | ||
"parent": "A-4.2" | ||
}, | ||
{ | ||
"id": "A-4.2.2", | ||
"name": "Machining", | ||
"start": 1493190000000, | ||
"end": 1494399600000, | ||
"parent": "A-4.2" | ||
}, | ||
{ | ||
"id": "A-4.3", | ||
"name": "Burn-in Testing", | ||
"start": 1494399600000, | ||
"end": 1495004400000, | ||
"parent": "A-4" | ||
}, | ||
{ | ||
"id": "A-4.4", | ||
"name": "Prepare Demo", | ||
"start": 1495004400000, | ||
"end": 1495609200000, | ||
"parent": "A-4" | ||
}, | ||
{ | ||
"id": "A-5", | ||
"name": "Design and Development", | ||
"start": 1495609200000, | ||
"end": 1507100400000, | ||
"parent": "A-Root" | ||
}, | ||
{ | ||
"id": "A-5.1", | ||
"name": "Phase I Development", | ||
"start": 1495609200000, | ||
"end": 1500447600000, | ||
"parent": "A-5" | ||
}, | ||
{ | ||
"id": "A-5.2", | ||
"name": "Phase II Development", | ||
"start": 1500447600000, | ||
"end": 1504076400000, | ||
"parent": "A-5" | ||
}, | ||
{ | ||
"id": "A-5.3", | ||
"name": "Phase III Development", | ||
"start": 1504076400000, | ||
"end": 1507100400000, | ||
"parent": "A-5" | ||
}, | ||
{ | ||
"id": "A-6", | ||
"name": "Packaging", | ||
"start": 1500447600000, | ||
"end": 1508310000000, | ||
"parent": "A-Root" | ||
}, | ||
{ | ||
"id": "A-6.1", | ||
"name": "User Manual", | ||
"start": 1500447600000, | ||
"end": 1507100400000, | ||
"parent": "A-6" | ||
}, | ||
{ | ||
"id": "A-6.2", | ||
"name": "Installation Procedures", | ||
"start": 1505890800000, | ||
"end": 1508310000000, | ||
"parent": "A-6" | ||
}, | ||
{ | ||
"id": "A-6.3", | ||
"name": "Update WebSite", | ||
"start": 1507100400000, | ||
"end": 1508310000000, | ||
"parent": "A-6" | ||
} | ||
] |
126 changes: 126 additions & 0 deletions
126
packages/ibm-gantt-chart-docs/storybook/activity_chart/activity_chart.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schedule version="5.5" xml:lang="en-US"> | ||
<title>Scheduling Data</title> | ||
<desc>ILOG JViews Scheduling Data Exchange Language</desc> | ||
<resources> | ||
<resource id="JCOM" name="JCompany Employees" quantity="1.0"> | ||
<resource id="MKT" name="Marketing" quantity="1.0"> | ||
<resource id="BM" name="Bill McDonald" quantity="1.0"/> | ||
<resource id="SK" name="Steve Knoll" quantity="1.0"/> | ||
<resource id="MS" name="Michael Smith" quantity="1.0"/> | ||
<resource id="LP" name="Luc Dupont" quantity="1.0"/> | ||
</resource> | ||
<resource id="RND" name="Research and Development" quantity="1.0"> | ||
<resource id="LD" name="Linus Dane" quantity="1.0"/> | ||
<resource id="JH" name="James Hook" quantity="1.0"/> | ||
<resource id="SW" name="Scott Washington" quantity="1.0"/> | ||
<resource id="GH" name="Gill Hopper" quantity="1.0"/> | ||
<resource id="TM" name="Thomas Monahan" quantity="1.0"/> | ||
</resource> | ||
<resource id="DOC" name="Documentation" quantity="1.0"> | ||
<resource id="SL" name="Sandy Ladd" quantity="1.0"/> | ||
<resource id="BR" name="Bob Robertson" quantity="1.0"/> | ||
</resource> | ||
</resource> | ||
</resources> | ||
<activities dateFormat="d-M-yyyy H:m:s"> | ||
<activity end="18-10-2017 0:0:0" id="A-Root" name="Project Summary" start="22-2-2017 0:0:0"> | ||
<activity end="11-3-2017 0:0:0" id="A-1" name="Gather Requirements" start="22-2-2017 0:0:0"> | ||
<activity end="4-3-2017 0:0:0" id="A-1.1" name="Talk to customers" start="22-2-2017 0:0:0"> | ||
<activity end="24-2-2017 0:0:0" id="A-1.1.1" name="Compile customer list" start="22-2-2017 0:0:0"/> | ||
<activity end="4-3-2017 0:0:0" id="A-1.1.2" name="Contact customers" start="24-2-2017 0:0:0"/> | ||
</activity> | ||
<activity end="7-3-2017 0:0:0" id="A-1.2" name="Write up requirements" start="4-3-2017 0:0:0"/> | ||
<activity end="11-3-2017 0:0:0" id="A-1.3" name="Review requirements" start="6-3-2017 0:0:0"/> | ||
</activity> | ||
<activity end="23-3-2017 0:0:0" id="A-2" name="Marketing Specification" start="11-3-2017 0:0:0"> | ||
<activity end="18-3-2017 0:0:0" id="A-2.1" name="First Draft Specification" start="11-3-2017 0:0:0"/> | ||
<activity end="23-3-2017 0:0:0" id="A-2.2" name="Second Draft Specification" start="18-3-2017 0:0:0"/> | ||
</activity> | ||
<activity end="2-4-2017 0:0:0" id="A-3" name="Engineering Review" start="23-3-2017 0:0:0"/> | ||
<activity end="24-5-2017 0:0:0" id="A-4" name="Proof of Concept" start="2-4-2017 0:0:0"> | ||
<activity end="23-4-2017 0:0:0" id="A-4.1" name="Rough Design" start="2-4-2017 0:0:0"> | ||
<activity end="16-4-2017 0:0:0" id="A-4.1.1" name="CAD Layout" start="2-4-2017 0:0:0"/> | ||
<activity end="23-4-2017 0:0:0" id="A-4.1.2" name="Detailing" start="13-4-2017 0:0:0"/> | ||
</activity> | ||
<activity end="10-5-2017 0:0:0" id="A-4.2" name="Fabricate Prototype" start="18-4-2017 0:0:0"> | ||
<activity end="26-4-2017 0:0:0" id="A-4.2.1" name="Order Materials" start="18-4-2017 0:0:0"/> | ||
<activity end="10-5-2017 0:0:0" id="A-4.2.2" name="Machining" start="26-4-2017 0:0:0"/> | ||
</activity> | ||
<activity end="17-5-2017 0:0:0" id="A-4.3" name="Burn-in Testing" start="10-5-2017 0:0:0"/> | ||
<activity end="24-5-2017 0:0:0" id="A-4.4" name="Prepare Demo" start="17-5-2017 0:0:0"/> | ||
</activity> | ||
<activity end="4-10-2017 0:0:0" id="A-5" name="Design and Development" start="24-5-2017 0:0:0"> | ||
<activity end="19-7-2017 0:0:0" id="A-5.1" name="Phase I Development" start="24-5-2017 0:0:0"/> | ||
<activity end="30-8-2017 0:0:0" id="A-5.2" name="Phase II Development" start="19-7-2017 0:0:0"/> | ||
<activity end="4-10-2017 0:0:0" id="A-5.3" name="Phase III Development" start="30-8-2017 0:0:0"/> | ||
</activity> | ||
<activity end="18-10-2017 0:0:0" id="A-6" name="Packaging" start="19-7-2017 0:0:0"> | ||
<activity end="4-10-2017 0:0:0" id="A-6.1" name="User Manual" start="19-7-2017 0:0:0"/> | ||
<activity end="18-10-2017 0:0:0" id="A-6.2" name="Installation Procedures" start="20-9-2017 0:0:0"/> | ||
<activity end="18-10-2017 0:0:0" id="A-6.3" name="Update WebSite" start="4-10-2017 0:0:0"/> | ||
</activity> | ||
<activity end="18-10-2017 0:0:0" id="A-7" name="End of project" start="18-10-2017 0:0:0"/> | ||
</activity> | ||
</activities> | ||
<constraints> | ||
<constraint from="A-4.2.1" to="A-4.2.2" type="End-Start"/> | ||
<constraint from="A-2" to="A-3" type="End-Start"/> | ||
<constraint from="A-4.1.1" to="A-4.1.2" type="End-Start"/> | ||
<constraint from="A-5.2" to="A-6.1" type="Start-Start"/> | ||
<constraint from="A-3" to="A-4" type="End-Start"/> | ||
<constraint from="A-4.1.2" to="A-4.2.1" type="Start-Start"/> | ||
<constraint from="A-1.2" to="A-1.3" type="End-Start"/> | ||
<constraint from="A-5.2" to="A-5.3" type="End-Start"/> | ||
<constraint from="A-1.1.1" to="A-1.1.2" type="End-Start"/> | ||
<constraint from="A-2.1" to="A-2.2" type="End-Start"/> | ||
<constraint from="A-1.1" to="A-1.2" type="End-Start"/> | ||
<constraint from="A-5.1" to="A-5.2" type="End-Start"/> | ||
<constraint from="A-1" to="A-2" type="End-Start"/> | ||
<constraint from="A-4" to="A-5" type="End-Start"/> | ||
</constraints> | ||
<reservations> | ||
<reservation activity="A-1.3" resource="MS"/> | ||
<reservation activity="A-1.1.2" resource="SK"/> | ||
<reservation activity="A-6.1" resource="SL"/> | ||
<reservation activity="A-5.2" resource="LD"/> | ||
<reservation activity="A-4.1.2" resource="GH"/> | ||
<reservation activity="A-1.1.1" resource="MS"/> | ||
<reservation activity="A-4.4" resource="GH"/> | ||
<reservation activity="A-4.2.2" resource="GH"/> | ||
<reservation activity="A-6.1" resource="BR"/> | ||
<reservation activity="A-4.4" resource="LP"/> | ||
<reservation activity="A-2.2" resource="LP"/> | ||
<reservation activity="A-4" resource="LD"/> | ||
<reservation activity="A-4.2" resource="JH"/> | ||
<reservation activity="A-1.1.1" resource="LP"/> | ||
<reservation activity="A-6.3" resource="GH"/> | ||
<reservation activity="A-4.1.2" resource="TM"/> | ||
<reservation activity="A-5" resource="JH"/> | ||
<reservation activity="A-1.3" resource="BM"/> | ||
<reservation activity="A-3" resource="BM"/> | ||
<reservation activity="A-3" resource="JH"/> | ||
<reservation activity="A-2.1" resource="LP"/> | ||
<reservation activity="A-6.2" resource="LD"/> | ||
<reservation activity="A-6.3" resource="SL"/> | ||
<reservation activity="A-5.2" resource="SW"/> | ||
<reservation activity="A-5.3" resource="TM"/> | ||
<reservation activity="A-4.1" resource="SW"/> | ||
<reservation activity="A-1.1" resource="BM"/> | ||
<reservation activity="A-2.1" resource="MS"/> | ||
<reservation activity="A-4.4" resource="TM"/> | ||
<reservation activity="A-1.1.1" resource="SK"/> | ||
<reservation activity="A-3" resource="GH"/> | ||
<reservation activity="A-1.1.2" resource="LP"/> | ||
<reservation activity="A-4.3" resource="TM"/> | ||
<reservation activity="A-5.3" resource="SW"/> | ||
<reservation activity="A-6.2" resource="BR"/> | ||
<reservation activity="A-4.1.1" resource="TM"/> | ||
<reservation activity="A-1.2" resource="MS"/> | ||
<reservation activity="A-6.3" resource="MS"/> | ||
<reservation activity="A-1.3" resource="LD"/> | ||
<reservation activity="A-4.2.1" resource="TM"/> | ||
<reservation activity="A-4.3" resource="SW"/> | ||
<reservation activity="A-5.1" resource="LD"/> | ||
</reservations> | ||
</schedule> |
Oops, something went wrong.