Skip to content

Commit

Permalink
Expend note that chart must be in its own dedicated container (#11300)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee authored May 19, 2023
1 parent 0ec981c commit 62c7de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ export interface CoreChartOptions<TType extends ChartType> extends ParsingOption
*/
responsive: boolean;
/**
* Maintain the original canvas aspect ratio (width / height) when resizing.
* Maintain the original canvas aspect ratio (width / height) when resizing. For this option to work properly the chart must be in its own dedicated container.
* @default true
*/
maintainAspectRatio: boolean;
Expand Down

0 comments on commit 62c7de1

Please sign in to comment.