Commit 32d270e7 authored by Alberto Pascual's avatar Alberto Pascual
Browse files

dashboard fixes

parent 2239bcc3
......@@ -122,20 +122,34 @@
</google-chart>
</div>
</div>
<div class="chart_container" style="left: 0; float: left; width: 100%">
<news-chart
datos = "{{data}}"
title="List of news"
filters="{{filters}}"
icon='icons:receipt'>
</news-chart>
<google-chart
field="dataPublished"
data="{{data}}"
id='line-chart'
extra-id='line-chart'
type='area'
filters="{{filters}}"
icon='icons:trending-up'
options='{"title": "News rate"}'
cols='[{"label": "Date", "type": "string"},{"label": "Count", "type": "number"}]'
</google-chart>
</div>
<div class="chart_container" style="left: 0; float: left; width: 100%">
<news-chart
datos = "{{data}}"
title="List of news"
filters="{{filters}}"
icon='icons:receipt'>
</news-chart>
</div>
</div>
</div>
<div>
<yasgui-ui
endpoint="http:///gsicrawler/query"
endpoint="http://${FUSEKI_ENPOINT_DASHBOARD}/gsicrawler/query"
queries="{{queries}}">
</yasgui-ui>
</div>
......@@ -266,8 +280,15 @@
_count: "desc"
}
}
}
},
dataPublished: {
date_histogram : {
field : "dataPublished",
format: "MM-yyyy",
interval : "month"
}
}
}
}
}).then(function (resp) {
var myids = []
......@@ -335,7 +356,14 @@
_count: "desc"
}
}
}
},
dataPublished: {
date_histogram : {
field : "dataPublished",
format: "MM-yyyy",
interval : "month"
}
}
}
}
}).then(function (resp) {
......
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