Skip to content

Commit

Permalink
feat(heatmap): remove min/max value properties from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Jan 12, 2022
1 parent 7a5a922 commit 824b794
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 43 deletions.
39 changes: 0 additions & 39 deletions website/src/data/components/heatmap/props.ts
Expand Up @@ -33,45 +33,6 @@ const props: ChartProperty[] = [
\`\`\`
`,
},
{
key: 'minValue',
description: `
If 'auto', will pick the lowest value
in the provided data set. Should be overriden
if your data set does not contain desired
lower bound value.
`,
defaultValue: defaults.minValue,
type: `number | 'auto'`,
group: 'Base',
control: {
type: 'switchableRange',
disabledValue: 'auto',
defaultValue: 0,
min: -100,
max: 100,
},
},
{
key: 'maxValue',
flavors: allFlavors,
description: `
If 'auto', will pick the highest value
in the provided data set. Should be overriden
if your data set does not contain desired
higher bound value.
`,
defaultValue: defaults.maxValue,
type: `number | 'auto'`,
group: 'Base',
control: {
type: 'switchableRange',
disabledValue: 'auto',
defaultValue: 100,
min: -100,
max: 100,
},
},
{
key: 'valueFormat',
group: 'Base',
Expand Down
2 changes: 0 additions & 2 deletions website/src/pages/heatmap/canvas.tsx
Expand Up @@ -23,8 +23,6 @@ const initialProperties: CanvasUnmappedProps = {
left: 80,
},

minValue: defaults.minValue,
maxValue: defaults.maxValue,
valueFormat: { format: '>-.2s', enabled: true },

pixelRatio:
Expand Down
2 changes: 0 additions & 2 deletions website/src/pages/heatmap/index.tsx
Expand Up @@ -23,8 +23,6 @@ const initialProperties: SvgUnmappedProps = {
left: 90,
},

minValue: defaults.minValue,
maxValue: defaults.maxValue,
valueFormat: { format: '>-.2s', enabled: true },

forceSquare: defaults.forceSquare,
Expand Down

0 comments on commit 824b794

Please sign in to comment.