Sha256: 463bd8ff377caa843e5b6a7ce6f7fda2dae7ac97d8ba2d2180a31bce12b9714d

Contents?: true

Size: 671 Bytes

Versions: 1919

Compression:

Stored size: 671 Bytes

Contents

import React from 'react'

import CircleChart from '../_circle_chart'

const dataWithLabels = [
  {
    name: 'Facebook',
    value: 2498,
  },
  {
    name: 'YouTube',
    value: 2000,
  },
  {
    name: 'WhatsApp',
    value: 2000,
  },
  {
    name: 'Facebook Messenger',
    value: 1300,
  },
  {
    name: 'WeChat',
    value: 1165,
  },
  {
    name: 'Instagram',
    value: 1000,
  },
  {
    name: 'Tik Tok',
    value: 800,
  },
]

const CircleChartWithLabels = (props) => (
  <div>
    <CircleChart
        chartData={dataWithLabels}
        dataLabels
        id="with-labels-example"
        {...props}
    />
  </div>
)

export default CircleChartWithLabels

Version data entries

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

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx