@@ -475,6 +475,7 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
475
475
(' toolbar' , ' Whether to display a toolbar at the top right of the chart, that offers downloading the data as CSV.' , ' BOOLEAN' , TRUE, TRUE),
476
476
(' logarithmic' , ' Display the y-axis in logarithmic scale.' , ' BOOLEAN' , TRUE, TRUE),
477
477
(' horizontal' , ' Displays a bar chart with horizontal bars instead of vertical ones.' , ' BOOLEAN' , TRUE, TRUE),
478
+ (' height' , ' Height of the chart, in pixels. By default: 250' , ' INTEGER' , TRUE, TRUE),
478
479
-- item level
479
480
(' x' , ' The value of the point on the horizontal axis' , ' NUMBER' , FALSE, FALSE),
480
481
(' y' , ' The value of the point on the vertical axis' , ' NUMBER' , FALSE, FALSE),
@@ -514,7 +515,7 @@ INSERT INTO example(component, description, properties) VALUES
514
515
(' chart' , ' A scatter plot with multiple custom options.' ,
515
516
json(' [
516
517
{"component":"chart", "title": "Gross domestic product and its growth", "type": "scatter",
517
- "xtitle": "Growth Rate", "ytitle": "GDP (Trillions USD)", "marker": 8,
518
+ "xtitle": "Growth Rate", "ytitle": "GDP (Trillions USD)", "height": 500, " marker": 8,
518
519
"xmin": 0, "xmax": 10, "ymin": 0, "ymax": 25, "yticks": 5},
519
520
520
521
{"series": "Brazil", "x": 2.5, "y": 2},
0 commit comments