Category3D
12 Sep 20253 minutes to read
The Category module is used to render category axis.
Methods
applyRangePadding
Applies range padding to the specified axis based on the provided size.
| Parameter | Type | Description |
|---|---|---|
| axis | Chart3DAxis |
The axis to which range padding is applied. |
| size | Size |
The size of the chart area used in the padding calculation. |
Returns void
calculateDateTimeNiceInterval
Calculates a nice interval for a date-time axis based on the given size and data range.
| Parameter | Type | Description |
|---|---|---|
| axis | Chart3DAxis |
The date-time axis for which the nice interval is calculated. |
| size | Size |
The size of the chart area. |
| start | number |
The start value of the data range. |
| end | number |
The end value of the data range. |
Returns number
getActualRange
Retrieves the actual range for the specified axis based on the provided size.
| Parameter | Type | Description |
|---|---|---|
| axis | Chart3DAxis |
The axis for which the actual range is calculated. |
| size | Size |
The size of the chart area used in the range calculation. |
Returns void
updateActualRange
Updates the actual range of the 3D axis with specified minimum, maximum, and interval values.
| Parameter | Type | Description |
|---|---|---|
| axis | Chart3DAxis |
The 3D axis to update. |
| minimum | number |
The minimum value for the axis. |
| maximum | number |
The maximum value for the axis. |
| interval | number |
The interval value for the axis. |
Returns void