Sha256: b08a3c51035badf5cbb070724a72dd1d202d75f55dcaa86bab4b20eeaaac75f0

Contents?: true

Size: 1.52 KB

Versions: 1856

Compression:

Stored size: 1.52 KB

Contents

import React from 'react'

import TreemapChart from '../_treemap_chart'

const chartData = [
  {
    name: "Evergreen",
    id: "Evergreen",
    color: "#0056CF",
  }, {
    name: "Pine",
    id: "Pine",
    parent: "Evergreen",
    value: 300,
    color: "#477BC4",
  }, {
    name: "Ponderosa Pine",
    parent: "Pine",
    value: 50,
  }, {
    name: "Scots Pine",
    parent: "Pine",
    value: 150,
  }, {
    name: "White Pine",
    parent: "Pine",
    value: 100,
  }, {
    name: "Douglas Fir",
    parent: "Evergreen",
    value: 150,
  }, {
    name: "Juniper",
    parent: "Evergreen",
    value: 80,
  }, {
    name: "Hemlock",
    parent: "Evergreen",
    value: 30,
  }, {
    name: "Deciduous",
    id: "Deciduous",
    color: "#F9BB00",
  }, {
    name: "Oak",
    parent: "Deciduous",
    value: 80,
  }, {
    name: "Maple",
    id: "Maple",
    parent: "Deciduous",
    value: 180,
    color: "#F7CE52",
  }, {
    name: "Red Maple",
    parent: "Maple",
    value: 80,
  }, {
    name: "Sugar Maple",
    parent: "Maple",
    value: 100,
  }, {
    name: "Beech",
    parent: "Deciduous",
    value: 50,
  }, {
    name: "Willow",
    parent: "Deciduous",
    value: 100,
  }, {
    name: "Juniper",
    parent: "Deciduous",
    value: 90,
  },
]

const TreemapChartDrillable = (props) => (
  <div>
    <TreemapChart
        chartData={chartData}
        drillable
        grouped
        id="treemap-drillable"
        title="Drillable Grouped Tree Species"
        {...props}
    />
  </div>
)

export default TreemapChartDrillable

Version data entries

1,856 entries across 1,856 versions & 2 rubygems

Version Path
playbook_ui-12.22.0.pre.alpha.play698responsivespacingglobalprop690 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.22.0.pre.alpha.PBNTR12checkingemptyfilters686 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.22.0 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.21.0.pre.alpha.PLAY807RTEcustomtoolbar680 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.21.0 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui_docs-12.20.0.pre.alpha.movemarkdown668 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.20.0.pre.alpha.title2667 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.20.0.pre.alpha.title2665 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.20.0 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.19.0.pre.alpha.PLAY699zindexresponsive650 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui_docs-12.19.0.pre.alpha.movemarkdown639 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.19.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown638 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.PLAY785typeaheadts632 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.19.0 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown629 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown628 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.play786multilevelselectimprovements627 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown626 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown617 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx
playbook_ui-12.18.0.pre.alpha.PLAY735mobileheadersfix616 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx