Sha256: 70f3f3cd8f0ec126a0a05b8496bf3e1ac37a68309d57c0fabf4433300012f41c

Contents?: true

Size: 1 KB

Versions: 563

Compression:

Stored size: 1 KB

Contents

import React from "react";
import { GanttChart } from "playbook-ui";

const mockOptions = {
  title: {
    text: "Simple Gantt Chart",
  },

  xAxis: [
    {
      min: Date.UTC(2014, 10, 17),
      max: Date.UTC(2014, 10, 30),
    },
  ],

  series: [
    {
      name: "Project 1",
      data: [
        {
          name: "Start prototype",
          start: Date.UTC(2014, 10, 18),
          end: Date.UTC(2014, 10, 25),
        },
        {
          name: "Develop",
          start: Date.UTC(2014, 10, 20),
          end: Date.UTC(2014, 10, 25),
        },
        {
          name: "Run acceptance tests",
          start: Date.UTC(2014, 10, 23),
          end: Date.UTC(2014, 10, 26),
        },
        {
          name: "Test prototype",
          start: Date.UTC(2014, 10, 27),
          end: Date.UTC(2014, 10, 29),
        },
      ],
    },
  ],
};

const GanttChartDefault = (props) => (
  <div>
    <GanttChart customOptions={mockOptions} 
        {...props} 
    />
  </div>
);

export default GanttChartDefault;

Version data entries

563 entries across 563 versions & 2 rubygems

Version Path
playbook_ui_docs-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.9.0.pre.rc.3 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.9.0.pre.rc.3 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx