Search results

DateTime3D API in Vue Chart3d API component

The DateTime module is used to render datetime 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

calculateRangeAndInterval

Calculates the range and interval for the specified axis based on the provided size.

Parameter Type Description
size Size The size of the chart area used for range and interval calculation.
axis Chart3DAxis The axis for which the range and interval are calculated.

Returns void

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