Sha256: 70f3f3cd8f0ec126a0a05b8496bf3e1ac37a68309d57c0fabf4433300012f41c

Contents?: true

Size: 1 KB

Versions: 590

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

590 entries across 590 versions & 2 rubygems

Version Path
playbook_ui_docs-14.3.0.pre.rc.10 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.10 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.9 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.9 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.8 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.8 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.7 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.7 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.6 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.6 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.5 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.5 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.4 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.4 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.2.1.pre.alpha.20240828cikubedbump3702 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.2.1.pre.alpha.20240828cikubedbump3702 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.3.0.pre.rc.3 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.3.0.pre.rc.3 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui_docs-14.2.1.pre.alpha.PBNTR431fixingduplicatingtextareaclassname3689 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx
playbook_ui-14.2.1.pre.alpha.PBNTR431fixingduplicatingtextareaclassname3689 app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx