We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d5c8fc + 080a0b0 commit fa10d4bCopy full SHA for fa10d4b
classes/Visualizer/Render/Sidebar/ChartJS.php
@@ -35,6 +35,8 @@ public function __construct( $data = array() ) {
35
'right' => esc_html__( 'Right of the chart', 'visualizer' ),
36
'top' => esc_html__( 'Above the chart', 'visualizer' ),
37
'bottom' => esc_html__( 'Below the chart', 'visualizer' ),
38
+ 'bottom' => esc_html__( 'Below the chart', 'visualizer' ),
39
+ 'none' => esc_html__( 'Omit the legend', 'visualizer' ),
40
);
41
42
}
js/render-chartjs.js
@@ -197,6 +197,10 @@
197
198
199
200
+ settings.plugins = {
201
+ legend: settings.legend,
202
+ };
203
+
204
handleAxes(settings, chart);
205
206
override(settings, chart);
0 commit comments