]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Expend note that chart must be in its own dedicated container (#11300)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Fri, 19 May 2023 22:42:04 +0000 (00:42 +0200)
committerGitHub <noreply@github.com>
Fri, 19 May 2023 22:42:04 +0000 (00:42 +0200)
src/types/index.d.ts

index 3cbf1b6aafbd4961e28552b3b74d6b84da098466..274ee56ff86dcdf95f78448eb2fa9c6b5748b93f 100644 (file)
@@ -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;