🤖 Merge PR #45270 Update index.d.ts to have missing properties by @paulburz

* Update index.d.ts 

Update the file to have dataPointWidth and dataPointMinWidth

* Update index.d.ts align asterisks

* Update index.d.ts asterisks and whitespace

* Update index.d.ts remove *

Remove * from the middle of the comments

* Update index.d.ts remove whitespace
This commit is contained in:
Paul Burz 2020-06-10 20:01:51 +03:00 committed by GitHub
parent ab3081189d
commit 91718eac94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,6 +280,23 @@ declare namespace CanvasJS {
* Example : 10, 20, 30, etc.
*/
dataPointMaxWidth?: number;
/**
* dataPointMinWidth sets the minimum width of dataPoints in column / bar, ohlc and candlestick, charts.
* This allows you to set a minimum limit on the width of dataPoints so that they dont become very thin when there are too many dataPoints.
* At the same time, when the number of dataPoints decrease, chart increase their width automatically.
* Default : 1.
* Example : 2, 10, 25, etc.
*/
dataPointMinWidth?: number;
/**
* dataPointWidth sets the width of dataPoints in column / bar, ohlc and candlestick, charts.
* This allows you to fix the width of dataPoints such that their width doesnt change when the total number of dataPoints varies.
* At the same time, when the number of dataPoints increase, it can lead to overlap if dataPointWidth is not set properly.
* This allows you to set the width of dataPoints.
* Default : Automatically calculated based on the chart size.
* Example : 10, 20, 30, etc.
*/
dataPointWidth?: number;
/**
* Title allows you to set content, appearance and position of Charts Title.
*/