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
@@ -473,14 +473,14 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
473
473
('title', 'The name of the chart.', 'TEXT', TRUE, TRUE),
474
474
('type', 'The type of chart: "line", "area", "bar", "column", "pie", "scatter", "bubble", or "heatmap".', 'TEXT', TRUE, FALSE),
475
475
('time', 'Whether the x-axis represents time. If set to true, the x values will be parsed and formatted as dates for the user.', 'BOOLEAN', TRUE, TRUE),
476
-
('ymin', 'The minimal value for the y-axis.', 'NUMBER', TRUE, TRUE),
477
-
('ymax', 'The maximum value for the y-axis.', 'NUMBER', TRUE, TRUE),
476
+
('ymin', 'The minimal value for the y-axis.', 'REAL', TRUE, TRUE),
477
+
('ymax', 'The maximum value for the y-axis.', 'REAL', TRUE, TRUE),
478
478
('xtitle', 'Title of the x axis, displayed below it.', 'TEXT', TRUE, TRUE),
479
479
('ytitle', 'Title of the y axis, displayed to its left.', 'TEXT', TRUE, TRUE),
480
480
('ztitle', 'Title of the z axis, displayed in tooltips.', 'TEXT', TRUE, TRUE),
481
-
('xticks', 'Number of ticks on the x axis.', 'NUMBER', TRUE, TRUE),
482
-
('ystep', 'Step between ticks on the y axis.', 'NUMBER', TRUE, TRUE),
483
-
('marker', 'Marker size', 'NUMBER', TRUE, TRUE),
481
+
('xticks', 'Number of ticks on the x axis.', 'INTEGER', TRUE, TRUE),
482
+
('ystep', 'Step between ticks on the y axis.', 'REAL', TRUE, TRUE),
483
+
('marker', 'Marker size', 'REAL', TRUE, TRUE),
484
484
('labels', 'Whether to show the data labels on the chart or not.', 'BOOLEAN', TRUE, TRUE),
485
485
('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.', 'COLOR', TRUE, TRUE),
486
486
('stacked', 'Whether to cumulate values from different series.', 'BOOLEAN', TRUE, TRUE),
@@ -489,10 +489,10 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
489
489
('horizontal', 'Displays a bar chart with horizontal bars instead of vertical ones.', 'BOOLEAN', TRUE, TRUE),
490
490
('height', 'Height of the chart, in pixels. By default: 250', 'INTEGER', TRUE, TRUE),
491
491
-- item level
492
-
('x', 'The value of the point on the horizontal axis', 'NUMBER', FALSE, FALSE),
493
-
('y', 'The value of the point on the vertical axis', 'NUMBER', FALSE, FALSE),
494
-
('label', 'An alias for parameter "x"', 'NUMBER', FALSE, TRUE),
495
-
('value', 'An alias for parameter "y"', 'NUMBER', FALSE, TRUE),
492
+
('x', 'The value of the point on the horizontal axis', 'REAL', FALSE, FALSE),
493
+
('y', 'The value of the point on the vertical axis', 'REAL', FALSE, FALSE),
494
+
('label', 'An alias for parameter "x"', 'REAL', FALSE, TRUE),
495
+
('value', 'An alias for parameter "y"', 'REAL', FALSE, TRUE),
496
496
('series', 'If multiple series are represented and share the same y-axis, this parameter can be used to distinguish between them.', 'TEXT', FALSE, TRUE)
497
497
) x;
498
498
INSERT INTO example(component, description, properties) VALUES
0 commit comments