Skip to content

Commit

Permalink
revert: Add fit-height property to charts (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-boris authored Jul 18, 2023
1 parent b964657 commit b80535d
Show file tree
Hide file tree
Showing 28 changed files with 133 additions and 761 deletions.
104 changes: 0 additions & 104 deletions pages/area-chart/fit-height.page.tsx

This file was deleted.

80 changes: 0 additions & 80 deletions pages/mixed-line-bar-chart/fit-height.page.tsx

This file was deleted.

81 changes: 0 additions & 81 deletions pages/pie-chart/fit-height.page.tsx

This file was deleted.

45 changes: 5 additions & 40 deletions src/__tests__/__snapshots__/documenter.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -773,17 +773,10 @@ Do not use \`ariaLabel\` and \`ariaLabelledby\` at the same time.",
"optional": true,
"type": "string",
},
Object {
"description": "Enable this property to make the chart fit into the available height of the parent container.",
"name": "fitHeight",
"optional": true,
"type": "boolean",
},
Object {
"defaultValue": "500",
"description": "An optional pixel value number that fixes the height of the chart area.
If not set explicitly, the component will use a default height that is defined internally.
When used with \`fitHeight\`, this property defines the minimum height of the chart area.",
If not set explicitly, the component will use a default height that is defined internally.",
"name": "height",
"optional": true,
"type": "number",
Expand Down Expand Up @@ -1982,17 +1975,10 @@ See the usage guidelines for more details.",
"optional": true,
"type": "string",
},
Object {
"description": "Enable this property to make the chart fit into the available height of the parent container.",
"name": "fitHeight",
"optional": true,
"type": "boolean",
},
Object {
"defaultValue": "500",
"description": "An optional pixel value number that fixes the height of the chart area.
If not set explicitly, the component will use a default height that is defined internally.
When used with \`fitHeight\`, this property defines the minimum height of the chart area.",
If not set explicitly, the component will use a default height that is defined internally.",
"name": "height",
"optional": true,
"type": "number",
Expand Down Expand Up @@ -7735,17 +7721,10 @@ See the usage guidelines for more details.",
"optional": true,
"type": "string",
},
Object {
"description": "Enable this property to make the chart fit into the available height of the parent container.",
"name": "fitHeight",
"optional": true,
"type": "boolean",
},
Object {
"defaultValue": "500",
"description": "An optional pixel value number that fixes the height of the chart area.
If not set explicitly, the component will use a default height that is defined internally.
When used with \`fitHeight\`, this property defines the minimum height of the chart area.",
If not set explicitly, the component will use a default height that is defined internally.",
"name": "height",
"optional": true,
"type": "number",
Expand Down Expand Up @@ -8338,17 +8317,10 @@ See the usage guidelines for more details.",
"optional": true,
"type": "string",
},
Object {
"description": "Enable this property to make the chart fit into the available height of the parent container.",
"name": "fitHeight",
"optional": true,
"type": "boolean",
},
Object {
"defaultValue": "500",
"description": "An optional pixel value number that fixes the height of the chart area.
If not set explicitly, the component will use a default height that is defined internally.
When used with \`fitHeight\`, this property defines the minimum height of the chart area.",
If not set explicitly, the component will use a default height that is defined internally.",
"name": "height",
"optional": true,
"type": "number",
Expand Down Expand Up @@ -9546,12 +9518,6 @@ Each pair has the following properties:
"optional": true,
"type": "string",
},
Object {
"description": "Enable this property to make the chart fit into the available height of the parent container.",
"name": "fitHeight",
"optional": true,
"type": "boolean",
},
Object {
"defaultValue": "false",
"description": "Hides the label descriptions next to the chart segments when set to \`true\`.",
Expand Down Expand Up @@ -9717,8 +9683,7 @@ The function is called with the data object of each segment and is expected to r
},
Object {
"defaultValue": "\\"medium\\"",
"description": "Specifies the size of the pie or donut chart.
When used with \`fitHeight\`, this property defines the minimum size of the chart area.",
"description": "Specifies the size of the pie or donut chart.",
"inlineType": Object {
"name": "",
"type": "union",
Expand Down
Loading

0 comments on commit b80535d

Please sign in to comment.