From 1436c9816dad31609cdd15b1cc02f50833e8e02f Mon Sep 17 00:00:00 2001 From: Adam Midlik Date: Wed, 29 May 2024 14:10:35 +0100 Subject: [PATCH] Adjusted examples in docs --- docs/customization.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/customization.md b/docs/customization.md index 6a4e367..04e0af2 100644 --- a/docs/customization.md +++ b/docs/customization.md @@ -171,11 +171,11 @@ getZoom(): ZoomEventValue | undefined // Example usage: console.log(heatmap.getZoom()); -// Returns: +// For fully-zoomed-out heatmap this would return: // { -// xMinIndex: -0.5, xMaxIndex: 3.5, yMinIndex: -0.5, yMaxIndex: 2.5, +// xMinIndex: 0, xMaxIndex: 4, yMinIndex: 0, yMaxIndex: 3, // xFirstVisibleIndex: 0, xLastVisibleIndex: 3, yFirstVisibleIndex: 0, yLastVisibleIndex: 2, -// xMin: 0.5, xMax: 4.5, +// xMin: 1, xMax: 5, // xFirstVisible: 1, xLastVisible: 4, yFirstVisible: "A", yLastVisible: "C" // } ``` @@ -203,8 +203,8 @@ zoom(request: Partial> | undefined): ZoomEventValue