You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/official-site/sqlpage/migrations/01_documentation.sql
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,8 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
291
291
('labels', 'Whether to show the data labels on the chart or not.', 'BOOLEAN', TRUE, TRUE),
292
292
('color', 'The name of a color in which to display the chart. If there are multiple series in the chart, this parameter can be repeated multiple times.', 'TEXT', TRUE, TRUE),
293
293
('stacked', 'Whether to cumulate values from different series.', 'BOOLEAN', TRUE, TRUE),
294
-
('logarithmic', 'Display the y-axis in logarithmic scale..', 'BOOLEAN', TRUE, TRUE),
294
+
('logarithmic', 'Display the y-axis in logarithmic scale.', 'BOOLEAN', TRUE, TRUE),
295
+
('horizontal', 'Displays a bar chart with horizontal bars instead of vertical ones.', 'BOOLEAN', TRUE, TRUE),
295
296
-- item level
296
297
('x', 'The value of the point on the horizontal axis', 'NUMBER', FALSE, FALSE),
297
298
('y', 'The value of the point on the vertical axis', 'NUMBER', FALSE, FALSE),
@@ -305,6 +306,8 @@ INSERT INTO example(component, description, properties) VALUES
305
306
('chart', 'A pie chart.', json('[{"component":"chart", "title": "Answers", "type": "pie", "labels": true}, '||
306
307
'{"label": "Yes", "value": 65}, '||
307
308
'{"label": "No", "value": 35}]')),
309
+
('chart', 'A basic bar chart', json('[{"component":"chart", "type": "bar", "title": "Quarterly Results", "horizontal": true}, '||
0 commit comments