From 0b0a3c9ccd5509b35d734a2c7388cd90b2de581e Mon Sep 17 00:00:00 2001 From: Michael Oberwasserlechner Date: Thu, 14 Jul 2016 12:30:34 +0200 Subject: [PATCH] Docs for Title and Legend position incomplete Positioning of title and legend to the left or to the right works. --- docs/01-Chart-Configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/01-Chart-Configuration.md b/docs/01-Chart-Configuration.md index 5a8627456..43bf5ab39 100644 --- a/docs/01-Chart-Configuration.md +++ b/docs/01-Chart-Configuration.md @@ -92,7 +92,7 @@ The title configuration is passed into the `options.title` namespace. The global Name | Type | Default | Description --- | --- | --- | --- display | Boolean | false | Display the title block -position | String | 'top' | Position of the title. Only 'top' or 'bottom' are currently allowed +position | String | 'top' | Position of the title. Possible values are 'top', 'left', 'bottom' and 'right'. fullWidth | Boolean | true | Marks that this box should take the full width of the canvas (pushing down other boxes) fontSize | Number | 12 | Font size inherited from global configuration fontFamily | String | "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif" | Font family inherited from global configuration @@ -125,7 +125,7 @@ The legend configuration is passed into the `options.legend` namespace. The glob Name | Type | Default | Description --- | --- | --- | --- display | Boolean | true | Is the legend displayed -position | String | 'top' | Position of the legend. Options are 'top' or 'bottom' +position | String | 'top' | Position of the legend. Possible values are 'top', 'left', 'bottom' and 'right'. fullWidth | Boolean | true | Marks that this box should take the full width of the canvas (pushing down other boxes) onClick | Function | `function(event, legendItem) {}` | A callback that is called when a click is registered on top of a label item labels |Object|-| See the [Legend Label Configuration](#chart-configuration-legend-label-configuration) section below.