diff --git a/js/ChartTransform.js b/js/ChartTransform.js index 1759e45..0b47192 100644 --- a/js/ChartTransform.js +++ b/js/ChartTransform.js @@ -151,10 +151,10 @@ class ChartTransform { } /** - * The reverse of modelToView - * @param axisOrientation - * @param value - * @returns {*} + * Converts a scalar value from view coordinates to model coordinates, along the specified axis. The inverse of modelToView. + * @param {Orientation} axisOrientation + * @param {number} value + * @returns {number} * @public */ viewToModel( axisOrientation, value ) {