From 0bdb11687a2cb6a768a3f3f47a9ee88e58cb9ed2 Mon Sep 17 00:00:00 2001 From: stockiNail Date: Fri, 7 Jan 2022 09:18:11 +0100 Subject: [PATCH] Enable the link to label configuration from the guide navigation menu (#613) * Enable link to label configuration from the guide navigation menu * fixes typo --- docs/guide/types/box.md | 2 +- docs/guide/types/line.md | 2 +- docs/guide/types/polygon.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/guide/types/box.md b/docs/guide/types/box.md index 12587e1ef..da10c616b 100644 --- a/docs/guide/types/box.md +++ b/docs/guide/types/box.md @@ -113,7 +113,7 @@ If one of the axes does not match an axis in the chart, the box will take the en If this value is a number, it is applied to all corners of the rectangle (topLeft, topRight, bottomLeft, bottomRight). If this value is an object, the `topLeft` property defines the top-left corners border radius. Similarly, the `topRight`, `bottomLeft`, and `bottomRight` properties can also be specified. Omitted corners have radius of 0. -### Label +## Label Namespace: `options.annotations[annotationID].label`, it defines options for the box annotation label. diff --git a/docs/guide/types/line.md b/docs/guide/types/line.md index 9613e959b..98fd4ae36 100644 --- a/docs/guide/types/line.md +++ b/docs/guide/types/line.md @@ -120,7 +120,7 @@ If `scaleID` is unset, then `xScaleID` and `yScaleID` are used to draw a line fr | `shadowOffsetX` | The distance that shadow will be offset horizontally. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX). | `shadowOffsetY` | The distance that shadow will be offset vertically. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY). -### Label +## Label Namespace: `options.annotations[annotationID].label`, it defines options for the line annotation label. diff --git a/docs/guide/types/polygon.md b/docs/guide/types/polygon.md index 53f45c2c7..ef172b888 100644 --- a/docs/guide/types/polygon.md +++ b/docs/guide/types/polygon.md @@ -1,6 +1,6 @@ -# Polygin Annotations +# Polygon Annotations -Polygin annotations are used to mark whatever polygon (for instance triangle, square or pentagon) on the chart area. This can be useful for highlighting values that are of interest. +Polygon annotations are used to mark whatever polygon (for instance triangle, square or pentagon) on the chart area. This can be useful for highlighting values that are of interest. ```js chart-editor /* */