Sha256: 463bd8ff377caa843e5b6a7ce6f7fda2dae7ac97d8ba2d2180a31bce12b9714d

Contents?: true

Size: 671 Bytes

Versions: 1978

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,978 entries across 1,978 versions & 2 rubygems

Version Path
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.7.1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.7.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.6.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.5.0.pre.alpha.filter1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.5.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.4.0.pre.alpha.map1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.4.0.pre.alpha.devdocstest1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-12.4.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx