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_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx