diff --git a/packages/core/src/props/colors.js b/packages/core/src/props/colors.js index 77cb1a3a88..afd857167f 100644 --- a/packages/core/src/props/colors.js +++ b/packages/core/src/props/colors.js @@ -1,11 +1,3 @@ -/* - * This file is part of the nivo project. - * - * Copyright 2016-present, Raphaël Benitte. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ import PropTypes from 'prop-types' import { quantizeColorScalesKeys } from '../lib/colors' diff --git a/packages/core/src/props/curve.js b/packages/core/src/props/curve.js index 1cc2db1a85..d90f2b6762 100644 --- a/packages/core/src/props/curve.js +++ b/packages/core/src/props/curve.js @@ -1,11 +1,3 @@ -/* - * This file is part of the nivo project. - * - * Copyright 2016-present, Raphaël Benitte. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ import PropTypes from 'prop-types' import without from 'lodash/without' import { diff --git a/packages/core/src/props/defs.js b/packages/core/src/props/defs.js index a036e40682..dc37b4129a 100644 --- a/packages/core/src/props/defs.js +++ b/packages/core/src/props/defs.js @@ -1,11 +1,3 @@ -/* - * This file is part of the nivo project. - * - * Copyright 2016-present, Raphaël Benitte. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ import PropTypes from 'prop-types' export const defsPropTypes = { diff --git a/packages/core/src/props/index.js b/packages/core/src/props/index.js index e9108db54d..9c0a2c8798 100644 --- a/packages/core/src/props/index.js +++ b/packages/core/src/props/index.js @@ -1,11 +1,3 @@ -/* - * This file is part of the nivo project. - * - * Copyright 2016-present, Raphaël Benitte. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ import PropTypes from 'prop-types' export const marginPropType = PropTypes.shape({ diff --git a/packages/core/src/props/stack.js b/packages/core/src/props/stack.js index a8f6d0542d..7a540a9599 100644 --- a/packages/core/src/props/stack.js +++ b/packages/core/src/props/stack.js @@ -1,11 +1,3 @@ -/* - * This file is part of the nivo project. - * - * Copyright 2016-present, Raphaël Benitte. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ import PropTypes from 'prop-types' import { // order diff --git a/packages/core/src/props/treeMap.js b/packages/core/src/props/treeMap.js index aef32d109c..1d101b830e 100644 --- a/packages/core/src/props/treeMap.js +++ b/packages/core/src/props/treeMap.js @@ -1,11 +1,3 @@ -/* - * This file is part of the nivo project. - * - * Copyright 2016-present, Raphaël Benitte. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ import PropTypes from 'prop-types' import { treemapBinary, diff --git a/website/src/pages/pie/api.js b/website/src/pages/pie/api.js index 9186912513..4fbb318fcb 100644 --- a/website/src/pages/pie/api.js +++ b/website/src/pages/pie/api.js @@ -64,22 +64,22 @@ const PieApi = () => { modifiers: [['darker', 0.2]], }, - enableRadialLabels: true, - radialLabel: 'id', - radialLabelsSkipAngle: 10, - radialLabelsTextXOffset: 6, - radialLabelsTextColor: '#333333', - radialLabelsLinkOffset: 0, - radialLabelsLinkDiagonalLength: 16, - radialLabelsLinkHorizontalLength: 24, - radialLabelsLinkStrokeWidth: 1, - radialLabelsLinkColor: { from: 'color' }, + enableArcLinkLabels: true, + arcLinkLabel: 'id', + arcLinkLabelsSkipAngle: 10, + arcLinkLabelsTextOffset: 6, + arcLinkLabelsTextColor: '#333333', + arcLinkLabelsOffset: 0, + arcLinkLabelsDiagonalLength: 16, + arcLinkLabelsStraightLength: 24, + arcLinkLabelsThickness: 1, + arcLinkLabelsColor: { from: 'color' }, - enableSliceLabels: true, - sliceLabel: 'value', - sliceLabelsRadiusOffset: 0.5, - sliceLabelsSkipAngle: 10, - sliceLabelsTextColor: '#333333', + enableArcLabels: true, + arcLabel: 'value', + arcLabelsRadiusOffset: 0.5, + arcLabelsSkipAngle: 10, + arcLabelsTextColor: '#333333', data: JSON.stringify(data, null, ' '), }} diff --git a/website/src/pages/pie/canvas.js b/website/src/pages/pie/canvas.js index ad3dde72f1..7536f8f38f 100644 --- a/website/src/pages/pie/canvas.js +++ b/website/src/pages/pie/canvas.js @@ -60,7 +60,7 @@ const initialProperties = { arcLinkLabelsOffset: 0, arcLinkLabelsDiagonalLength: 16, arcLinkLabelsStraightLength: 24, - arcLinkLabelsThickness: 1, + arcLinkLabelsThickness: 2, arcLinkLabelsColor: { from: 'color' }, enableArcLabels: true, diff --git a/website/src/pages/pie/index.js b/website/src/pages/pie/index.js index 50fa922727..e4ac41582e 100644 --- a/website/src/pages/pie/index.js +++ b/website/src/pages/pie/index.js @@ -49,7 +49,7 @@ const initialProperties = { arcLinkLabelsOffset: 0, arcLinkLabelsDiagonalLength: 16, arcLinkLabelsStraightLength: 24, - arcLinkLabelsThickness: 1, + arcLinkLabelsThickness: 2, arcLinkLabelsColor: { from: 'color' }, enableArcLabels: true,