Sha256: ffdfb491dbf7b632c5e96cafde463e7db50cb79ce2e886a847f2d3de98c5741a

Contents?: true

Size: 664 Bytes

Versions: 94

Compression:

Stored size: 664 Bytes

Contents

import React from 'react'
import { CircleChart } from '../../'

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

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx