Skip to content

Commit 824b794

Browse files
committedJan 12, 2022
feat(heatmap): remove min/max value properties from documentation
1 parent 7a5a922 commit 824b794

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed
 

‎website/src/data/components/heatmap/props.ts

-39
Original file line numberDiff line numberDiff line change
@@ -33,45 +33,6 @@ const props: ChartProperty[] = [
3333
\`\`\`
3434
`,
3535
},
36-
{
37-
key: 'minValue',
38-
description: `
39-
If 'auto', will pick the lowest value
40-
in the provided data set. Should be overriden
41-
if your data set does not contain desired
42-
lower bound value.
43-
`,
44-
defaultValue: defaults.minValue,
45-
type: `number | 'auto'`,
46-
group: 'Base',
47-
control: {
48-
type: 'switchableRange',
49-
disabledValue: 'auto',
50-
defaultValue: 0,
51-
min: -100,
52-
max: 100,
53-
},
54-
},
55-
{
56-
key: 'maxValue',
57-
flavors: allFlavors,
58-
description: `
59-
If 'auto', will pick the highest value
60-
in the provided data set. Should be overriden
61-
if your data set does not contain desired
62-
higher bound value.
63-
`,
64-
defaultValue: defaults.maxValue,
65-
type: `number | 'auto'`,
66-
group: 'Base',
67-
control: {
68-
type: 'switchableRange',
69-
disabledValue: 'auto',
70-
defaultValue: 100,
71-
min: -100,
72-
max: 100,
73-
},
74-
},
7536
{
7637
key: 'valueFormat',
7738
group: 'Base',

‎website/src/pages/heatmap/canvas.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const initialProperties: CanvasUnmappedProps = {
2323
left: 80,
2424
},
2525

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

3028
pixelRatio:

‎website/src/pages/heatmap/index.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const initialProperties: SvgUnmappedProps = {
2323
left: 90,
2424
},
2525

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

3028
forceSquare: defaults.forceSquare,

0 commit comments

Comments
 (0)
Please sign in to comment.