example/demo/widgets/charts_tab.yaml in omf_web-0.9.1 vs example/demo/widgets/charts_tab.yaml in omf_web-0.9.3

- old
+ new

@@ -9,10 +9,25 @@ name: Charts top_level: true priority: 900 type: layout/tabbed widgets: + + - name: Multi Barchart + type: data/multi_barchart + data_source: + name: movies_year_genre + mapping: + label: genre + value: count + group_by: year + rotate_labels: 0 + axis: + x: + ticks: + format: false + - name: Line Chart type: data/line_chart3 data_source: name: downloads mapping: @@ -27,10 +42,13 @@ x_axis: t y_axis: volume margin: bottom: 30 + - name: Dynamic + id_ref: line_chart + - name: Discrete Barchart type: data/discrete_bar_chart data_source: name: financial_returns mapping: @@ -48,24 +66,10 @@ axis: x: ticks: format: ",.2f" - - name: Multi Barchart - type: data/multi_barchart - data_source: - name: movies_year_genre - mapping: - label: genre - value: count - group_by: year - rotate_labels: 0 - axis: - x: - ticks: - format: false - - name: Pie Chart type: data/pie_chart2 data_source: name: financial_returns_all_positive mapping: @@ -89,14 +93,15 @@ fill_color: property: rssi scale: 0.04 # 1.0 / 25 color: red_yellow20_green() # () indicates a color scale - - name: Network + - name: Mobile Network type: data/network2 data_source: name: mobile_network - dynamic: 1 + unique_column: id # only use the latest link and row descriptions + dynamic: true mapping: nodes: x: property: x y: