Arquivos
openbci-dashboard/app/visualizer.js
T
2016-05-07 16:28:19 -06:00

28 linhas
717 B
JavaScript

(function () {
angular
.module('bciDashboard', ['chart.js'])
.config(bciDashboardConfig);
function bciDashboardConfig (ChartJsProvider) {
ChartJsProvider.setOptions({
animation: false,
responsive: true,
datasetStrokeWidth: 1,
pointDot: false,
pointDotRadius: 1,
pointDotStrokeWidth: 0,
datasetFill: false,
scaleOverride: true,
scaleStartValue: -2,
scaleStepWidth: 1,
scaleSteps: 6,
barShowStroke: false,
barValueSpacing: 1,
barStrokeWidth: 1,
strokeColor: 'rgba(116,150,161,1)'
});
}
})();