From f07e090caaaa2e53362cb774bd5fa643e2f319a5 Mon Sep 17 00:00:00 2001 From: samreid Date: Fri, 11 Jun 2021 09:26:44 -0600 Subject: [PATCH] Update docs, see https://github.com/phetsims/bamboo/issues/27 --- js/ChartTransform.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ) {