Sha256: 02a34c2e7f8f7b83a4ed9d88babffddbe2751cd6da07e7c4b134c423fdcd57d6

Contents?: true

Size: 693 Bytes

Versions: 94

Compression:

Stored size: 693 Bytes

Contents

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

const dataWithTitle = [
  {
    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 CircleChartWithLegendKit = (props) => (
  <div>
    <CircleChart
        chartData={dataWithTitle}
        id="with-title-example"
        title="Active Users on Social Media"
        {...props}
    />
  </div>
)

export default CircleChartWithLegendKit

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.9.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.8.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.7.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.6.1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.6.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.5.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.4.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx