Commit ed73b4e6 authored by delanoe's avatar delanoe

[FEAT] Trying do add specificities to advanced chart

parent 88cd10ce
......@@ -390,7 +390,7 @@ gargantext.controller("GraphController", function($scope, $http, $element) {
options: {
axes: {
x: {key: 'x', type: 'date'},
y: {key: 'y', type: 'linear', type: 'numeric'},
y: {key: 'y', type: 'linear', type: 'numeric', type: 'specificities'},
},
tension: 1.0,
lineMode: 'linear',
......@@ -398,7 +398,7 @@ gargantext.controller("GraphController", function($scope, $http, $element) {
var grouping = groupings.datetime[$scope.groupingKey];
return grouping.representation(x) + ' → ' + y;
}},
drawLegend: false,
drawLegend: true,
drawDots: true,
columnsHGap: 5
}
......
......@@ -272,7 +272,7 @@
<br/>
Y-axis: use a
<select ng-model="graph.options.axes.y.type" ng-options="type for type in ['linear', 'log']"></select>
<select ng-model="graph.options.axes.y.type" ng-options="type for type in ['linear', 'log', 'specificities']"></select>
scale
<br/>
......
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