Commit 21e7cb50 authored by mouadh's avatar mouadh

config file line chart

parent 87c66ead
......@@ -367,9 +367,13 @@ class ConfigParser:
return [
Dashboard(
pie_charts=dashboard.find('PieCharts').text.split(','),
bar_chats=dashboard.find('BarCharts').text.split(',')
bar_chats=dashboard.find('BarCharts').text.split(','),
line_chart={
table.find('name').text: (
table.find('columns').text.split(',') if table.find('columns') is not None else 'ALL') for table in
dashboard.findall('LineCharts/table')
}
) for dashboard in tree.xpath('/cubes/cube/Dashboards/Dashboard')
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment